joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006fc50
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movsxd rax, dword [rdx + 8]
test rax, rax
je 0x14006fd53
mov rsi, rcx
mov rcx, qword [rdx]
xor r8d, r8d
xor r9d, r9d
or r9, qword [rcx + r8*8]
inc r8
cmp rax, r8
jne 0x14006fc6f
test r9, r9
je 0x14006fd53
test eax, eax
jle 0x14006fd93
mov rcx, qword [rdx]
test byte [rcx], 1
je 0x14006fd93
cmp dword [rdx + 0x10], 0
jne 0x14006fdf1
cmp eax, 0x401
jae 0x14006fdb3
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.14006d930
test rax, rax
je 0x14006fe14
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x14006fd8b
mov rcx, qword [rdi]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x14006fce9
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x14006fcd0
jmp 0x14006fd78
mov dword [rsi + 0x20], eax
mov rax, qword [rdi]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
and rdi, r9
xor r11, r9
shr r11, 1
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14006fd09
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14012c8d0
jmp 0x14006fd4a
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14006fcec
jne 0x14006fcec
jmp 0x14006fd7f
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x14006fd71
mov r9d, 0x400
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rax, r9
jne 0x14006fdbc
test r8, r8
je 0x14006fcad
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x14006fd71
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x14006fd71
mov dword [rsp + 0x20], 0xbc
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x14006fd71

Function at 0x140071af0
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x140073690
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp r9, 0x30
ja 0x140073744
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
test r9, r9
jne 0x140073748
xor eax, eax
lea rcx, [0x140169c10]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x1400736da
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.140070ac0
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140092da0
mov eax, esi
add rsp, 0x68
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14007372e
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
je 0x1400736d1
jmp 0x14007374a

Function at 0x140073760
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp r8, 0x30
ja 0x140073899
mov rbx, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x140152e90]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r13, [rsp + 0x40]
lea r12, [rcx + 0xf8]
lea r14, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x30]
mov rcx, r14
mov r8, rsi
call qword [0x140174e48]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r14
mov rdx, r13
mov r8, rsi
call qword [0x140174e48]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call qword [0x140174e48]
test rbx, rbx
je 0x14007384c
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rbx, rax
jne 0x14007383c
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.140070ac0
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [r14], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140092da0
mov eax, esi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x14007387a
Function at 0x140075360
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.140054440
mov ebp, eax
bt eax, 0x1d
jb 0x1400753a3
not ebp
test ebp, 0x128
jne 0x1400753c9
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010e30
mov ecx, 1
call fcn.140054440
bt eax, 9
jae 0x140075383
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000eec0
mov ecx, 1
call fcn.140054440
mov ebp, eax
bt eax, 0x1c
jae 0x1400753e8
xor ecx, ecx
call fcn.140054440
bt eax, 0x1e
jb 0x140075412
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140075404
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000de80
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f190
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140010030

Function at 0x1400755b0
Capabilities:
Encode data using xor
Hash data using sha256 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.140054440
bt eax, 0x1d
jb 0x140075630
mov ecx, 1
call fcn.140054440
mov ebp, eax
bt eax, 0x1c
jae 0x140075606
xor ecx, ecx
call fcn.140054440
bt eax, 0x1e
jae 0x140075606
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140014ec0
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x140075622
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012a00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013f80
mov ecx, 1
call fcn.140054440
bt eax, 9
jae 0x1400755d1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140013bc0
Function at 0x140077af0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
jne 0x140077ba3
test dil, 8
jne 0x140077bc4
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x140077b39
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x140077b4a
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 1
je 0x140077beb
cmp byte [r15 + 0x18], 1
je 0x140077bfc
xor r9d, r9d
cmp ebx, 4
jne 0x140077bb5
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x140077be1
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [r15 + 0x50], 1
je 0x140077c0c
or edi, 0x20000000
jmp 0x140077b1b
lea eax, [rbx - 2]
cmp eax, 2
jae 0x140077c17
mov edx, 7
jmp 0x140077b6d
cmp byte [r15 + 0x68], 1
jne 0x140077bd6
or edi, 0x40000000
jmp 0x140077b25
or edi, 0x10000000
jmp 0x140077b25
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140077b8e
lea rcx, [r15 + 0x20]
call fcn.140060660
mov r14, rax
jmp 0x140077b55
mov rcx, r15
call fcn.140060660
mov r9, rax
jmp 0x140077b63
or edi, 0x80000000
jmp 0x140077b1b
mov edx, 1
test ebx, ebx
je 0x140077b6d
cmp ebx, 1
jne 0x140077c33
mov edx, 4
jmp 0x140077b6d
xor edx, edx
jmp 0x140077b6d
Function at 0x14007b00a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x140152e90]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x14007b186
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x140194350]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400afc2c
mov rcx, rbx
call fcn.1400aef34
sub r14, rax
lea rdx, [0x140158a8c]
mov rcx, rbx
mov r8, r14
call fcn.1400afc2c
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400c5230
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14007b0e6
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400afc74
test eax, eax
je 0x14007b1aa
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14007b121
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400afc74
test eax, eax
je 0x14007b1aa
xor eax, eax
mov byte [0x140193f41], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140169346]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007b1b1
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x140174e48]
test eax, eax
je 0x14007b1b1
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x140194550], al
mov byte [0x140193f40], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140092da0
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x14007b123
xor eax, eax
jmp 0x14007b179
Function at 0x14007de70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14007de40]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140197320]
lea rdx, [0x14007ddd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14007df68
cmp dword [0x140197328], 0
jne 0x14007df75
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14019732c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x14007df1c
mov ecx, 1
mov edx, 0x28
call fcn.14004aae0
test rax, rax
je 0x14007df75
mov r14, rax
mov ecx, dword [0x14019732c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14007df6d
lea r15, [0x140197330]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x140197338]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140092da0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400a7010
mov rcx, r14
call fcn.14004aa40
mov rcx, rsi
mov rax, rdi
call qword [0x140174e48]
xor esi, esi
jmp 0x14007df4c
Function at 0x140086760
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdi, [rsp + 0x140]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
and byte [rdi], 0xf8
mov al, byte [rdi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rdi + 0x1f], al
lea r14, [rsp + 0xa0]
mov r8d, 0xa0
mov rcx, r14
mov dl, 0xaa
call fcn.1400c5230
lea r8, [0x140170160]
mov rcx, r14
mov rdx, rdi
call fcn.140057e30
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [r14 + 0x50]
mov r15, qword [r14 + 0x28]
mov rdx, qword [r14 + 0x30]
lea r10, [r15 + rax]
mov rcx, qword [r14 + 0x58]
lea r12, [rdx + rcx]
mov r8, qword [r14 + 0x60]
mov r11, qword [r14 + 0x38]
lea r13, [r11 + r8]
mov r9, qword [r14 + 0x68]
lea rbx, [rsp + 0x78]
mov qword [rbx], r10
mov rbp, qword [r14 + 0x40]
mov qword [rbx + 8], r12
lea r12, [rbp + r9]
mov qword [rbx + 0x10], r13
mov r10, qword [r14 + 0x70]
mov r14, qword [r14 + 0x48]
mov qword [rbx + 0x18], r12
lea r12, [r14 + r10]
mov qword [rbx + 0x20], r12
movabs r12, 0xffffffffffffe
add rax, r12
sub rax, r15
add rcx, r12
sub rcx, rdx
add r8, r12
sub r8, r11
add r9, r12
sub r9, rbp
add r10, r12
add rax, 0xffffffffffffffdc
sub r10, r14
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], r8
mov qword [rdx + 0x18], r9
mov qword [rdx + 0x20], r10
movaps xmm0, xmmword [0x140152e90]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140088fa0
mov rcx, rdi
mov rdx, rbx
mov r8, rdi
call fcn.1400597e0
mov rcx, rsi
mov rdx, rdi
call fcn.140083770
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140092da0
nop
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14008c370
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14019aa18], 0
jne 0x14008c3ad
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14008c3a0
mov dword [rdi], eax
mov dword [0x14019aa20], eax
mov qword [0x14019aa18], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x14008e6e0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2b8
mov rsi, rcx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [0x140152e90]
lea rdi, [rsp + 0x60]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x140163c52]
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r9d, 0x529
call fcn.140048970
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004c0e0
lea rbx, [rsp + 0xa0]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c5230
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
dec edi
cmp edi, 0x103
ja 0x14008e7d4
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400aef34
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140048ac0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400676c0
mov rcx, rsi
mov rdx, r14
call fcn.140048c70
mov rcx, r14
call fcn.140048c00
mov rcx, rbx
call fcn.140048c00
cmp edi, 0x104
setb bl
lea rcx, [rsp + 0x60]
call fcn.14004c160
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140092da0
mov eax, ebx
add rsp, 0x2b8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140090e90
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c5230
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140090f25
cmp word [rsp + 0x70], 0
je 0x140090f25
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400aef34
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140048ac0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140092da0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140152e90]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140040e50
mov rcx, rdi
call fcn.140062ba0
test al, al
je 0x140090f6f
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140067480
lea rcx, [rsp + 0x40]
call fcn.140048c00
jmp 0x140090f07
lea rax, [0x140163bc8]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140048ac0
jmp 0x140090f63
Function at 0x140091190
Capabilities:
Delete registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x47]
mov byte [rbx], 0xaa
mov r14, qword [rcx]
lea rdx, str.DeleteValue
lea r8, str....._basewin_registry.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x14b
call fcn.140048970
mov rcx, rbx
mov rdx, r15
mov r8, r14
mov r9d, 0x20006
call fcn.14005a300
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov rcx, rbx
call fcn.14005a7f0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140092da0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400913a0
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x260
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rsi, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rsi
mov dl, 0xaa
call fcn.1400c5230
mov word [rsi], 0
lea r8, [rsp + 0x4c]
mov dword [r8], 0x100
mov ecx, 3
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140091437
lea rax, str..corp.microsoft.com
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov qword [rdi + 8], 0x13
lea rbx, [rsp + 0x28]
mov qword [rbx], rsi
mov rcx, rsi
call fcn.1400aef34
mov qword [rbx + 8], rax
mov rcx, rbx
mov rdx, rdi
mov r8d, 1
call fcn.140105150
mov sil, 1
test al, al
jne 0x140091439
xor esi, esi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140092da0
mov eax, esi
add rsp, 0x260
pop rbx
pop rdi
pop rsi
ret

Function at 0x140091e94
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140091f0c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140091f0c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140091f0c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140091f00
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140091f1e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140091eee
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140091f0e

Function at 0x140092954
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009299e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009299e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009299e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009299e
cmp dword [rcx + 0x84], 0xe
jbe 0x14009299e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400929a0
xor al, al
add rsp, 0x28
ret
Function at 0x1400932c0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x14009331a
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140093322
mov r14, qword [r14]
jmp 0x1400932eb
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x140093357
jmp 0x140093365
inc rax
inc rax
inc rax
inc rax
jmp 0x14009333e
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
mov esi, dword [rdi + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12

Function at 0x1400a0638
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a0780

Function at 0x1400a0780
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400a0780
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400a07ef
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a07ef
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a07ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a07ef
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a07ef
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a07ef
cmp dword [rcx + 0xf8], 0
je 0x1400a07ef
mov ecx, ebx
call fcn.1400a06b8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400a0914
nop
cmp dword [rbp + 0x20], 0
je 0x1400a083d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a074c
int3