joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140169790
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140169900
test rbx, rbx
je 0x140169900
mov rcx, rdx
call fcn.140169920
cmp rbp, rax
jb 0x140169900
xor edx, edx
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r9d, edx
cmp rsi, 2
jbe 0x140169869
lea r8, [rdi + 2]
nop dword [rax]
movzx eax, byte [r8 - 2]
add rdx, 4
shr rax, 2
add r9, 3
movzx eax, byte [rax + r10]
mov byte [rbx], al
movzx ecx, byte [r8 - 2]
movzx eax, byte [r8 - 1]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rbx + 1], al
movzx ecx, byte [r8 - 1]
movzx eax, byte [r8]
and ecx, 0xf
shr rax, 6
shl rcx, 2
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rbx + 2], al
movzx eax, byte [r8]
add r8, 3
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rbx + 3], al
mov rax, r8
sub rax, rdi
add rbx, 4
cmp rax, rsi
jb 0x1401697f0
add rdi, r9
sub rsi, r9
test sil, 2
je 0x1401698c4
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rbx], al
movzx ecx, byte [rdi]
movzx eax, byte [rdi + 1]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rbx + 1], al
movzx eax, byte [rdi + 1]
and eax, 0xf
movzx eax, byte [r10 + rax*4]
mov byte [rbx + 2], al
mov byte [rbx + 3], 0x3d
add rbx, 4
add rdx, 4
mov byte [rbx], 0
lea rax, [rdx + 1]
jmp 0x140169902
test sil, 1
je 0x1401698f7
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rbx], al
movzx eax, byte [rdi]
and eax, 3
add rax, rax
movzx eax, byte [r10 + rax*8]
mov byte [rbx + 1], al
mov word [rbx + 2], 0x3d3d
add rbx, 4
add rdx, 4
mov byte [rbx], 0
lea rax, [rdx + 1]
jmp 0x140169902
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140169e30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140169eaf
cmp di, word [rcx]
je 0x140169eaf
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140169e58
lea eax, [rdi + 2]
jmp 0x140169eb4
xor ecx, ecx
call fcn.140169a98
mov rdx, rbx
mov rcx, rax
call fcn.14016cd64
test eax, eax
je 0x140169eab
mov edx, dword [0x14032aa7c]
lea rax, [0x1403eb1f8]
mov qword [rsp + 0x28], rax
lea r9, [0x1403cddc0]
mov eax, dword [0x14032aa64]
lea r8, str.Intel_Corporation
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14016bb84
test eax, eax
jne 0x140169eab
mov eax, 5
jmp 0x140169eb4
xor eax, eax
jmp 0x140169eb4
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14016c320
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov r9, rcx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8, [0x14016c4e8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14016c37a
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14016c37a
lea eax, [rbx + 1]
jmp 0x14016c37c
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14016cb7c
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor edi, edi
mov r12, rdx
mov r14, rcx
test rcx, rcx
je 0x14016ccd0
test rdx, rdx
je 0x14016ccd0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, 0x8000
mov esi, eax
mov ecx, ebp
call fcn.14011aa14
mov rbx, rax
test rax, rax
jne 0x14016cbd6
lea edi, [rax + 8]
jmp 0x14016ccc4
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14016cbfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14016ccc4
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], edi
mov r8d, ebp
mov rdx, rbx
mov rcx, rsi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x14016cc2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14016ccc4
mov eax, dword [rsp + 0x70]
mov ebp, edi
shr eax, 3
mov r15b, dil
mov dword [rsp + 0x70], eax
test eax, eax
je 0x14016ccb1
xor eax, eax
mov r13d, ebp
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x20]
mov rcx, rsi
movups xmmword [rsp + 0x20], xmm0
mov rdx, qword [rbx + r13*8]
lea r9d, [rax + 0x18]
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x14016cc83
cmp qword [rsp + 0x20], r14
jg 0x14016cc83
mov eax, dword [rsp + 0x28]
mov rcx, r14
sub rcx, qword [rsp + 0x20]
cmp rcx, rax
jl 0x14016cc8d
inc ebp
cmp ebp, dword [rsp + 0x70]
jae 0x14016ccb1
jmp 0x14016cc40
mov rdx, qword [rbx + r13*8]
mov r9d, 0x104
mov r8, r12
mov rcx, rsi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x14016ccab
mov r15b, 1
jmp 0x14016ccb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15b, r15b
jne 0x14016ccc4
mov edi, 5
mov rcx, rbx
call fcn.14011a254
mov eax, edi
jmp 0x14016ccd5
mov eax, 0x57
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14016d934
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor r14d, r14d
mov dword [rcx], r14d
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rcx + 0x18], r14d
mov qword [rcx + 0x20], r14
mov qword [rcx + 0x28], r14
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x28], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
lea ecx, [r14 + 0x58]
call fcn.14011a288
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov dword [rdi + 0x40], r14d
lea rbx, [rdi + 0x48]
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
test rsi, rsi
je 0x14016d9e1
mov rdx, rsi
mov rcx, rbx
call fcn.140031d84
jmp 0x14016db17
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140138ee0
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov r8b, r14b
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140169f4c
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14016f908
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14016da40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.1400331fc
movdqa xmm0, xmmword [0x14037f990]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
mov r8b, r14b
lea rdx, str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea rcx, [rbp - 0x70]
call fcn.140169f4c
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14016df54
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x14016da95
mov r8b, r14b
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140031e74
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14016dab1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.1400331fc
movdqa xmm0, xmmword [0x14037f990]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14016dadf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.1400331fc
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140031d84
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14016db17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
call fcn.1400331fc
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140119fe0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14016fc58
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x1403cd210]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rdi, rcx
xor ebx, ebx
cmp dword [rcx + 0x20], ebx
jne 0x14016fc91
xor eax, eax
jmp 0x14016feb6
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rcx, [rsp + 0x60]
call fcn.140055f58
nop
mov esi, 0x104
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x320]
call fcn.140138ee0
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x210]
call fcn.140138ee0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov r8, rax
mov edx, esi
lea rcx, [rbp + 0x320]
lea rax, [rbp + 0x320]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14016fd13
mov al, byte [r8 + rcx]
test al, al
je 0x14016fd13
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14016fcf4
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov byte [rax], bl
mov r8, rsi
lea rcx, [rbp + 0x210]
lea rax, [rbp + 0x210]
mov r9, qword [rsp + 0x60]
sub r9, rax
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x14016fd58
mov al, byte [r9 + rcx]
test al, al
je 0x14016fd58
mov byte [rcx], al
inc rcx
sub r8, 1
jne 0x14016fd39
lea rax, [rcx - 1]
test r8, r8
cmovne rax, rcx
mov byte [rax], bl
lea rcx, [rbp + 0x210]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea r8, [0x14032ade4]
mov rdx, rsi
lea rcx, [rbp + 0x210]
call fcn.14016fbac
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
or dword [rsp + 0x38], 0xffffffff
lea rcx, [0x14016ff20]
mov qword [rsp + 0x30], rcx
lea rcx, [0x14016fed8]
mov qword [rsp + 0x28], rcx
lea rcx, [0x14016ff28]
mov qword [rsp + 0x20], rcx
lea r9, [0x14016ff18]
lea r8, [fcn.14016fee0]
lea rdx, [0x1400631e0]
lea rcx, [0x1400631d0]
call rax
mov rsi, rax
test rax, rax
je 0x14016fea0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x100]
call fcn.140138ee0
mov rax, qword [rdi + 0x10]
lea rcx, [rbp + 0x100]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
lea rcx, [0x14016ff30]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x320]
mov rcx, rsi
call rax
mov rax, qword [rdi + 0x18]
mov rcx, rsi
call rax
lea rcx, [rbp + 0x104]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14016fea0
cmp dword [rbp + 0x100], ebx
je 0x14016fe92
lea rax, [rbp - 8]
mov qword [rbp - 0x10], rax
mov r8d, 3
lea rdx, [rbp + 0x104]
lea rcx, [rbp - 0x10]
call fcn.14008ea80
nop
mov rcx, qword [rbp - 0x10]
call fcn.14016b0d4
mov ebx, eax
lea rax, [rbp - 8]
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x14016fe92
call fcn.14013d394
lea rcx, [rbp + 0x104]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14016feb4
call fcn.14013d394
mov eax, ebx
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140119fe0
mov rbx, qword [rsp + 0x570]
add rsp, 0x540
pop rdi
pop rsi
pop rbp
ret
Function at 0x14018b7b0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov edx, 0x108
call fcn.14003302c
mov rdx, rax
mov qword [rbx + 0x10], 0x104
mov qword [rbx + 0x18], 0x107
movzx eax, si
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], si
mov qword [rbx], rdx
mov dword [rsp + 0x20], 1
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x48], eax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14018b82d
mov rcx, rdx
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov r8, qword [rbx + 0x10]
mov rdi, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 8
jb 0x14018b84c
mov rdi, qword [rbx]
test r8, r8
je 0x14018b882
mov rcx, r8
mov rax, rdi
mov rdx, rsi
cmp word [rdi], dx
je 0x14018b872
nop
cmp rcx, 1
je 0x14018b875
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14018b860
mov rdx, rax
test rdx, rdx
je 0x14018b882
sub rdx, rdi
sar rdx, 1
jmp 0x14018b889
mov rdx, 0xffffffffffffffff
cmp r8, rdx
jb 0x14018b8b5
mov rax, rbx
cmp r9, 8
jb 0x14018b89a
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], si
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140031f50
int3

Function at 0x14018b8c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov esi, r8d
mov ebp, edx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov edx, 0x108
call fcn.14003302c
mov rdx, rax
mov qword [rbx + 0x10], 0x104
mov qword [rbx + 0x18], 0x107
movzx eax, r14w
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], r14w
mov qword [rbx], rdx
mov dword [rsp + 0x20], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14018b943
mov rax, rdx
mov r9d, esi
mov r8d, ebp
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov r8, qword [rbx + 0x10]
mov rdi, rbx
mov r9, qword [rbx + 0x18]
cmp r9, 8
jb 0x14018b968
mov rdi, qword [rbx]
test r8, r8
je 0x14018b9a2
mov rcx, r8
mov rax, rdi
mov rdx, r14
cmp word [rdi], dx
je 0x14018b992
nop dword [rax + rax]
cmp rcx, 1
je 0x14018b995
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14018b980
mov rdx, rax
test rdx, rdx
je 0x14018b9a2
sub rdx, rdi
sar rdx, 1
jmp 0x14018b9a9
mov rdx, 0xffffffffffffffff
cmp r8, rdx
jb 0x14018b9d9
mov rax, rbx
cmp r9, 8
jb 0x14018b9ba
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], r14w
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
call fcn.140031f50
int3
Function at 0x14018bb30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbx, rdx
xor edi, edi
cmp qword [rcx + 0x18], 8
jb 0x14018bb51
mov rcx, qword [rcx]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14018bb86
mov rdi, qword [rsp + 0x38]
test eax, eax
jne 0x14018bbdd
mov dword [rsp + 0x50], eax
cmp qword [rbx + 0x18], 8
jb 0x14018bb98
mov rbx, qword [rbx]
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14018bbdd
cmp dword [rsp + 0x30], 4
jne 0x14018bbdd
mov eax, dword [rsp + 0x50]
mov dword [rsi], eax
mov bl, 1
jmp 0x14018bbdf
xor bl, bl
test rdi, rdi
je 0x14018bbed
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401b3a50
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 1
cmp qword [rcx + 0x10], 0
je 0x1401b3bcf
cmp qword [rcx + 0x18], 8
jb 0x1401b3a8f
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x1401b3bcf
inc ebp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x28], 0
mov ecx, ebp
call fcn.14011aa14
mov rbx, rax
mov qword [rsp + 0x30], rax
mov ecx, 0x18
call fcn.14011a288
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1401b3b0c
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_void_.0
mov qword [rdi], rax
mov qword [rdi + 0x10], rbx
jmp 0x1401b3b0e
xor edi, edi
xor edx, edx
xor ecx, ecx
call fcn.14011a254
cmp qword [rsi + 0x18], 8
jb 0x1401b3b21
mov rsi, qword [rsi]
mov r9, rbx
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1401b3b95
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x28]
lea rdx, [0x140353ca4]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401b3b95
cmp dword [rsp + 0x80], 0
je 0x1401b3b95
mov rcx, qword [rsp + 0x28]
cmp dword [rcx], 0xfeef04bd
jne 0x1401b3b95
movzx eax, word [rcx + 0x12]
mov dword [r12], eax
movzx eax, word [rcx + 0x10]
mov dword [r15], eax
movzx eax, word [rcx + 0x16]
mov dword [r14], eax
movzx ecx, word [rcx + 0x14]
mov rax, qword [rsp + 0xa0]
mov dword [rax], ecx
mov sil, 1
jmp 0x1401b3b98
xor sil, sil
test rdi, rdi
je 0x1401b3bc9
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401b3bc9
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1401b3bc9
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
movzx eax, sil
jmp 0x1401b3bd1
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400018f8
Capabilities:
Parse pe header

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

Function at 0x4397d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x4397dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x4397ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x4397d5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x439805
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x4397f2
sub eax, 3
jb 0x43981f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x439856
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x439846
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x439844
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x439833
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.00439792
jmp 0x4397dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x4398a2
cmp rsi, rcx
jae 0x4398aa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x439889
cmp al, 0x8f
ja 0x439889
cmp byte [rsi - 2], 0xf
je 0x43988f
sub al, 0xe8
cmp al, 1
ja 0x439873
cmp rsi, rcx
jae 0x4398aa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x439879
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x4398aa
lodsb al, byte [rsi]
jmp 0x439889
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x37000]
mov eax, dword [rdi]
or eax, eax
je 0x439907
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x64d44]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x4398b7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x439901
mov qword [rbx], rax
add rbx, 8
jmp 0x4398d7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0043998a], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0043998a
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x43997a
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0040a9f0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x0040aa00]
mov dword [rax], 1
mov rax, qword [0x0040aa10]
mov dword [rax], 1
mov rax, qword [0x0040a9e0]
mov dword [rax], 1
mov rax, qword [0x0040a880]
cmp word [rax], 0x5a4d
je 0x4010d0
mov rax, qword [0x0040a9d0]
mov dword [0x0040d008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010c2
mov ecx, 2
call sym.__set_app_type
mov rcx, 0xffffffffffffffff
call sym._encode_pointer
mov rdx, qword [0x0040a920]
mov qword [rdx], rax
mov rdx, qword [0x0040a910]
mov qword [rdx], rax
mov rax, qword [0x0040a990]
mov edx, dword [rax]
mov rax, qword [sym.imp.msvcrt.dll__fmode]
mov rax, qword [rax]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x0040a830]
cmp dword [rax], 1
je 0x401120
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401133
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x40162a
Capabilities:
Enumerate process modules

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0
lea rax, [rbp - 0x2c]
mov r9, rax
mov r8d, 0
mov edx, 0
mov rcx, qword [rbp + 0x10]
call sym.EnumProcessModules
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
je 0x401669
mov eax, dword [rbp - 0x2c]
test eax, eax
jne 0x40167f
lea rcx, str.____Error_enumerating_process_modules_n
call sym.printf_char_const__::_
mov ecx, 1
call sym.exit
mov eax, dword [rbp - 0x2c]
mov eax, eax
mov rdx, rax
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_LocalAlloc]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x4016b6
lea rcx, str.____Error_allocating_memory_to_store_process_modules_handles_n
call sym.printf_char_const__::_
mov ecx, 1
call sym.exit
mov eax, dword [rbp - 0x2c]
shr eax, 3
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x28], rax
mov edx, dword [rbp - 0x2c]
lea rcx, [rbp - 0x2c]
mov rax, qword [rbp - 0x28]
mov r9, rcx
mov r8d, edx
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call sym.EnumProcessModules
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
jne 0x401703
lea rcx, str.____Error_enumerating_process_modules_n
call sym.printf_char_const__::_
mov ecx, 1
call sym.exit
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
mov rax, qword [rbp - 8]
add rsp, 0x50
pop rbp
ret