joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d8a0
Capabilities:
Read file on windows

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x58
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x38], r9
call sub.msvcrt.dll__get_osfhandle
mov r13, rax
mov rbx, qword [0x0044e238]
mov rcx, r13
xor rdx, rdx
xor r8, r8
mov r9d, 1
call sub.kernel32.dll_SetFilePointer_1
mov edi, eax
mov rcx, r13
mov rdx, qword [0x0044e238]
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x43d90c
xor rax, rax
jmp 0x43d9c1
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0
jne 0x43d91e
xor rax, rax
jmp 0x43d9c1
mov rax, qword [rsp + 0x38]
mov esi, dword [rax]
mov eax, esi
test eax, eax
jbe 0x43d974
cmp eax, 3
jb 0x43d969
cmp byte [rbx], 0xa
jne 0x43d93b
cmp byte [rbx + 1], 0xd
je 0x43d946
cmp byte [rbx], 0xd
jne 0x43d969
cmp byte [rbx + 1], 0xa
jne 0x43d969
mov byte [rbx + 2], 0
mov esi, ebx
sub esi, dword [0x0044e238]
add esi, 2
mov rcx, r13
mov edx, edi
add edx, esi
xor r8, r8
xor r9, r9
call sub.kernel32.dll_SetFilePointer_1
jmp 0x43d974
sub eax, 1
add rbx, 1
test eax, eax
ja 0x43d92b
nop
mov rax, qword [0x0044e530]
mov ecx, dword [rax]
call fcn.00438b40
mov rcx, qword [0x0044e530]
mov ecx, dword [rcx]
test eax, eax
setne dl
movzx rdx, dl
mov r8, qword [0x0044e238]
mov r9d, esi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
call sub.kernel32.dll_MultiByteToWideChar_1
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x43e290
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x40], 0xffffffff80000002
mov qword [rsp + 0x48], 0xffffffff80000001
cmp byte [0x0044db92], 0
je 0x43e2bb
mov byte [0x0044db90], 1
xor rsi, rsi
movsxd rax, esi
mov rcx, qword [rsp + rax*8 + 0x40]
lea rdx, [0x0043e4fc]
lea r8, [rsp + 0x98]
call sub.advapi32.dll_RegOpenKeyW
test eax, eax
jne 0x43e4e3
mov dword [rsp + 0x50], 0
lea rbx, [rsp + 0x58]
mov dword [rsp + 0x54], 0x40
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043e546]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43e356
cmp dword [rsp + 0x50], 4
jne 0x43e33b
cmp dword [rbx], 0
setne al
mov byte [0x0044db7a], al
jmp 0x43e356
cmp dword [rsp + 0x50], 1
jne 0x43e356
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x0044db7a], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043e566]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43e3b5
cmp dword [rsp + 0x50], 4
jne 0x43e39a
cmp dword [rbx], 0
setne al
mov byte [0x0044db90], al
jmp 0x43e3b5
cmp dword [rsp + 0x50], 1
jne 0x43e3b5
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x0044db90], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043e588]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43e414
cmp dword [rsp + 0x50], 4
jne 0x43e3f9
cmp dword [rbx], 0
setne al
mov byte [0x0044db91], al
jmp 0x43e414
cmp dword [rsp + 0x50], 1
jne 0x43e414
mov rcx, rbx
call sub.msvcrt.dll__wtol
cmp eax, 1
sete al
mov byte [0x0044db91], al
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043e5aa]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43e475
cmp dword [rsp + 0x50], 4
jne 0x43e457
movzx rax, word [rbx]
mov word [0x0044db98], ax
jmp 0x43e475
cmp dword [rsp + 0x50], 1
jne 0x43e475
mov rcx, rbx
lea rdx, [rsp + 0x38]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov word [0x0044db98], ax
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0043e5c4]
xor r8, r8
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x43e4d6
cmp dword [rsp + 0x50], 4
jne 0x43e4b8
movzx rax, word [rbx]
mov word [0x0044db9a], ax
jmp 0x43e4d6
cmp dword [rsp + 0x50], 1
jne 0x43e4d6
mov rcx, rbx
lea rdx, [rsp + 0x38]
xor r8, r8
call sub.msvcrt.dll_wcstol
mov word [0x0044db9a], ax
mov rcx, qword [rsp + 0x98]
call sub.advapi32.dll_RegCloseKey_1
add esi, 1
cmp esi, 2
jne 0x43e2be
nop
mov al, 1
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x440920
Capabilities:
Set current directory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x248
mov rbp, rsp
xor rdi, rdi
mov word [rbp + 0x238], 0x3d
add cx, 0x40
mov word [rbp + 0x23a], cx
mov word [rbp + 0x23c], 0x3a
mov word [rbp + 0x23e], 0
xor rsi, rsi
lea rcx, [rbp + 0x238]
call fcn.00429c50
mov rbx, rax
test rbx, rbx
je 0x44097c
mov rcx, rbx
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
setne sil
test sil, sil
jne 0x4409f7
test rbx, rbx
je 0x440993
mov ecx, 1
call sub.kernel32.dll_SetErrorMode
mov edi, eax
movzx rax, word [rbp + 0x23a]
mov word [rbp + 0x2e], ax
movzx rax, word [rbp + 0x23c]
mov word [rbp + 0x30], ax
mov word [rbp + 0x32], 0x5c
mov word [rbp + 0x34], 0
lea rcx, [rbp + 0x238]
lea rdx, [rbp + 0x2e]
call fcn.00429fc0
lea rcx, [rbp + 0x2e]
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
jne 0x4409eb
lea rcx, [0x00440a20]
xor rdx, rdx
lea r8, [rbp + 0x20]
or r9d, 0xffffffff
call fcn.00440b70
test rbx, rbx
je 0x4409f7
mov ecx, edi
call sub.kernel32.dll_SetErrorMode
mov rcx, qword [0x0044e748]
xor rdx, rdx
call fcn.0042c310
lea rsp, [rbp + 0x248]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x441420
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
xor rdi, rdi
mov rcx, rbx
mov edx, 1
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x44144c
call sub.kernel32.dll_GetLastError_2
mov dword [0x0044dd88], eax
test esi, esi
je 0x44145a
mov rcx, rbx
call fcn.00441470
mov edi, eax
mov eax, edi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x441680
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov word [rbp + 0x28], cx
mov word [rbp + 0x2a], 0x3a
mov word [rbp + 0x2c], 0x5c
mov word [rbp + 0x2e], 0
lea rcx, [rbp + 0x28]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x4416b1
xor rax, rax
jmp 0x4416b3
mov al, 1
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x4416c0
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x260
mov rbp, rsp
mov word [rbp + 0x44], cx
mov word [rbp + 0x46], 0x3a
mov word [rbp + 0x48], 0x5c
mov word [rbp + 0x4a], 0
lea rcx, [rbp + 0x44]
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x4416f3
mov al, 1
jmp 0x441750
cmp eax, 2
je 0x44174d
cmp eax, 5
je 0x44174d
lea rcx, [rbp + 0x44]
lea rdx, [rbp + 0x4e]
mov r8d, 0x104
lea r9, [rbp + 0x258]
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x44174d
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x44174d
mov al, 1
jmp 0x441750
xor rax, rax
lea rsp, [rbp + 0x260]
pop rbp
ret

Function at 0x441d40
Capabilities:
Set console window title

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
mov rbx, rcx
test rbx, rbx
je 0x441e3e
mov rax, qword [0x0044e2f8]
cmp qword [rax], 0
jne 0x441e3e
mov rax, qword [0x0044e178]
cmp byte [rax], 0
jne 0x441e3e
mov ecx, 0x20c
call fcn.004051c0
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x441e3e
mov rcx, qword [rbp + 0x28]
mov edx, 0x104
call sub.kernel32.dll_GetConsoleTitleW
mov esi, eax
test esi, esi
je 0x441e3e
mov rcx, rbx
call fcn.00427780
lea rcx, [rbp + 0x28]
mov edx, esi
add edx, eax
add edx, dword [0x0046c2a4]
add edx, 0xa
add edx, edx
mov edx, edx
call fcn.00405220
cmp qword [rbp + 0x28], 0
je 0x441e3e
mov rax, qword [0x0044e3f0]
cmp byte [rax], 0
je 0x441df7
mov rax, qword [rbp + 0x28]
mov ecx, dword [0x0046c2a4]
lea rcx, [rax + rcx*2]
mov rdx, rbx
call fcn.004277a0
jmp 0x441e2c
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00441e48]
call fcn.004277c0
mov rcx, qword [rbp + 0x28]
call fcn.00427780
mov dword [0x0046c2a4], eax
mov rcx, qword [rbp + 0x28]
mov rdx, rbx
call fcn.004277c0
mov rax, qword [0x0044e3f0]
mov byte [rax], 1
mov rcx, qword [rbp + 0x28]
call sub.kernel32.dll_SetConsoleTitleW
mov rcx, qword [rbp + 0x28]
call fcn.004051f0
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret
Function at 0x441e50
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x441e8b
mov rax, qword [0x0044e2f8]
cmp qword [rax], 0
jne 0x441e8b
mov rax, qword [0x0044e3f0]
cmp byte [rax], 0
je 0x441e8b
call sub.kernel32.dll_SetConsoleTitleW
mov dword [0x0046c2a4], 0
mov rax, qword [0x0044e3f0]
mov byte [rax], 0
add rsp, 0x28
ret

Function at 0x441fa0
Capabilities:
Hash data with crc32

Disassembly:
xor rax, rax
mov edx, eax
mov ecx, 1
mov r8d, edx
test r8d, 1
je 0x441fc2
shr edx, 1
xor edx, 0xedb88320
jmp 0x441fc5
shr edx, 1
add ecx, 1
cmp ecx, 9
jne 0x441fab
nop
lea rcx, [0x0046c2b0]
mov r8d, eax
mov dword [rcx + r8*4], edx
add eax, 1
cmp eax, 0x100
jne 0x441fa3
nop
ret

Function at 0x442a90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x268
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 0
nop
xor rbx, rbx
mov dword [rbp + 0x4c], 0xff
mov rcx, 0xffffffff80000002
lea rdx, [0x00442bf4]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x258]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x442b8f
mov rcx, qword [rbp + 0x258]
lea rdx, [0x00442c34]
xor r8, r8
lea r9, [rbp + 0x48]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x442b18
mov bl, 1
jmp 0x442b83
mov rcx, 0xffffffff80000002
lea rdx, [0x00442bf4]
xor r8, r8
mov r9d, 0x20119
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x442b83
mov rcx, qword [rbp + 0x250]
lea rdx, [0x00442c34]
xor r8, r8
lea r9, [rbp + 0x48]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x442b77
mov bl, 1
mov rcx, qword [rbp + 0x250]
call sub.advapi32.dll_RegCloseKey_1
mov rcx, qword [rbp + 0x258]
call sub.advapi32.dll_RegCloseKey_1
test bl, bl
je 0x442bb4
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x50]
mov r8d, pe_nt_image_headers64
call fcn.0040b410
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
call fcn.0041ca10
nop
lea rcx, [rbp + 0x38]
call fcn.0040a6a0
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x268]
pop rbx
pop rbp
ret
Function at 0x140001360
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xc8
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, qword [rcx + 0x10]
mov rsi, rcx
movabs rcx, 0x7fffffffffffffff
xor r12d, r12d
mov rax, rcx
sub rax, r14
cmp rax, 3
jb 0x140001599
cmp qword [rsi + 0x18], 0xf
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x28], r15
jbe 0x1400013bc
mov rsi, qword [rsi]
lea r15, [r14 + 3]
mov ebx, 0xf
lea rdi, [rbp + 0xf]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0xf], xmm0
movdqu xmmword [rbp + 0x1f], xmm1
cmp r15, rbx
jbe 0x140001457
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001419
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.140002760
test rax, rax
je 0x14000158d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001453
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001433
mov rdi, r12
jmp 0x140001453
cmp rcx, 0x1000
jb 0x14000144b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001593
jmp 0x1400013fa
call fcn.140002760
mov rdi, rax
mov qword [rbp + 0xf], rdi
mov ecx, dword [0x14001ba24]
mov r8, r14
mov qword [rbp + 0x1f], r15
mov rdx, rsi
mov qword [rbp + 0x27], rbx
mov word [rdi], cx
movzx ecx, byte [0x14001ba26]
mov byte [rdi + 2], cl
lea rcx, [rdi + 3]
call fcn.140012b10
mov byte [rdi + r15], r12b
lea rax, str.cmd.exe
cmp qword [rbp + 0x27], 0xf
lea rcx, [rbp - 0x69]
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x69], 0x70
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x51], rax
lea rax, [rbp + 0xf]
cmova rax, qword [rbp + 0xf]
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x49], rax
movups xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x65], 0x40
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x61], r12
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 0x59], r12
movups xmmword [rbp - 9], xmm0
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
mov qword [rbp - 0x31], r12
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1400014f8
mov ebx, 0xffffffff
jmp 0x140001522
mov rcx, qword [rbp - 1]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 7]
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140001559
mov rcx, qword [rbp + 0xf]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001554
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000158d
call fcn.1400029e4
mov rdi, qword [rsp + 0x100]
mov eax, ebx
mov rbx, qword [rsp + 0xf8]
mov r15, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140002740
add rsp, 0xc8
pop r14
pop r12
pop rsi
pop rbp
ret
call fcn.1400083cc
int3
call fcn.140001180
int3
call fcn.140001220
int3
Function at 0x140002220
Capabilities:
Log keystrokes via application hook

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
lea rdx, [0x1400020a0]
xor r8d, r8d
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov qword [0x140020d80], rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400022ad
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140002280
mov rcx, qword [0x140020d80]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140002740
add rsp, 0x68
ret

Function at 0x140003388
Capabilities:
Parse pe header

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

Function at 0x140008754
Capabilities:
Parse pe header

Disassembly:
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 0x1400087c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400087c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400087c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400087c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400087c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400087c3
cmp dword [rcx + 0xf8], 0
je 0x1400087c3
mov ecx, ebx
call fcn.140008874
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.140008650
nop
cmp dword [rbp + 0x20], 0
je 0x140008811
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000881c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140008754

Function at 0x140008958
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008754
Function at 0x14000bfcc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000bffc
xor eax, eax
jmp 0x14000c0bf
mov rbp, rbx
cmp word [rax], si
je 0x14000c021
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c008
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c004
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000beec
movsxd r14, eax
test eax, eax
jne 0x14000c05f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000bff5
mov rcx, r14
call fcn.14000a31c
mov rdi, rax
test rax, rax
jne 0x14000c078
xor ecx, ecx
call fcn.14000a54c
jmp 0x14000c054
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000beec
test eax, eax
jne 0x14000c0a9
mov rcx, rdi
call fcn.14000a54c
jmp 0x14000c0b3
xor ecx, ecx
call fcn.14000a54c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000f3c0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000afbc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000f44a
cmp byte [rbp - 0x21], r15b
je 0x14000f445
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000f480
call fcn.14000c7d0
test eax, eax
jne 0x14000f46c
cmp byte [rbp - 0x21], r15b
je 0x14000f464
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000f480
cmp byte [rbp - 0x21], r15b
je 0x14000f47d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000a59c
test eax, eax
jne 0x14000f520
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000afbc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000f4bf
cmp byte [rbp - 0x21], r15b
je 0x14000f4f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000f4f4
call fcn.14000c7d0
test eax, eax
jne 0x14000f4e0
cmp byte [rbp - 0x21], r15b
je 0x14000f4d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000f4f4
cmp byte [rbp - 0x21], r15b
je 0x14000f4f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000a59c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000f520
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000f523
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000f531
mov rcx, rdi
call fcn.14000a54c
cmp byte [rbp + 0x3f], r15b
je 0x14000f540
mov rcx, qword [rbp + 0x27]
call fcn.14000a54c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400123f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012418
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012418
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18005ada0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1801f6340]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
mov qword [rsp + 0x80], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
mov rcx, qword [0x1801ff060]
call qword [0x1801751d0]
mov rbx, rax
mov rcx, qword [0x1801ff060]
call qword [0x1801751d0]
movsxd rcx, dword [rax + 0x3c]
movzx ebp, word [rcx + rbx + 6]
mov rcx, qword [0x1801ff060]
call qword [0x1801751d0]
mov rbx, rax
mov rcx, qword [0x1801ff060]
call qword [0x1801751d0]
movsxd rdi, dword [rax + 0x3c]
add rdi, rbx
mov rcx, qword [0x1801ff060]
call qword [0x1801751d0]
mov rbx, rax
mov rcx, qword [0x1801ff060]
call qword [0x1801751d0]
movsxd rcx, dword [rax + 0x3c]
movzx eax, word [rcx + rbx + 0x14]
lea rbx, [rdi + 0x18]
add rbx, rax
cmp r14w, bp
jae 0x18005af61
mov edi, ebp
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x18005aea2
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.180054220
nop
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x30]
call fcn.1800562e0
movups xmm2, xmmword [rbx]
movaps xmmword [rsp + 0x50], xmm2
movups xmm3, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x60], xmm3
movsd xmm4, qword [rbx + 0x20]
movsd qword [rsp + 0x70], xmm4
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x18005af2d
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
movups xmmword [rdx + 0x20], xmm2
movups xmmword [rdx + 0x30], xmm3
movsd qword [rdx + 0x40], xmm4
add qword [rsi + 8], 0x48
jmp 0x18005af3b
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.18006b490
nop
lea rcx, [rsp + 0x30]
call fcn.180056470
nop
lea rcx, [rsp + 0x88]
call fcn.180056470
add rbx, 0x28
sub rdi, 1
jne 0x18005ae80
mov rax, rsi
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.180164fa0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret