joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001adc0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x30], 0x104
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x98]
call fcn.14000d770
cmp dword [rsp + 0x90], 0
jne 0x14001ae0e
xor eax, eax
jmp 0x14001afd1
mov r8d, dword [rsp + 0x90]
xor edx, edx
mov ecx, 0x410
call fcn.140019cd0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001af84
lea r9, [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.PSAPI.DLL_EnumProcessModules
mov eax, dword [rsp + 0x54]
add eax, 0x64
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x58]
mov eax, 8
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.14000fcb0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x14001af5c
mov eax, dword [rsp + 0x54]
xor edx, edx
mov ecx, 8
div rcx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x5c], 0
jmp 0x14001aed2
mov eax, dword [rsp + 0x5c]
add eax, 1
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x5c], eax
jae 0x14001af4b
mov ecx, dword [rsp + 0x30]
mov eax, 2
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.14000fcb0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x40]
call sub.PSAPI.DLL_GetModuleFileNameExW
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
call fcn.14000d690
mov rax, qword [rsp + 0x48]
add rax, 8
mov qword [rsp + 0x48], rax
jmp 0x14001aec7
mov rcx, qword [rsp + 0x98]
call fcn.14000d620
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400100e0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], 0
jne 0x14001afa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 5
je 0x14001af9f
jmp 0x14001afa7
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12b
jne 0x14001afcd
mov rcx, qword [rsp + 0x98]
call fcn.14000d620
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x14001bbe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x4e0
mov qword [rsp + 0x4d0], 0xfffffffffffffffe
mov rax, qword [0x140022260]
xor rax, rsp
mov qword [rsp + 0x4d8], rax
lea rcx, [rsp + 0x48]
call fcn.14000d5a0
nop
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x290], 0
mov qword [rsp + 0x2a8], 0
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f2fc]
mov rdx, rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.14001a160
add rax, 2
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f300]
mov rdx, rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.14001a160
sub rax, qword [rsp + 0x2a8]
sar rax, 1
mov r8d, eax
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x2b0]
call fcn.14000f060
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f304]
mov rdx, rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.14001a160
mov r8, rax
add r8, 2
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.140010a60
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x2b0]
call fcn.14001afe0
mov dword [rsp + 0x2a0], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x298], rax
cmp qword [rsp + 0x298], 0
je 0x14001be6e
cmp qword [rsp + 0x298], 0xffffffffffffffff
je 0x14001be6e
mov dword [rsp + 0x4c4], 0
jmp 0x14001bd96
mov eax, dword [rsp + 0x4c4]
add eax, 1
mov dword [rsp + 0x4c4], eax
mov ebx, dword [rsp + 0x4c4]
lea rcx, [rsp + 0x48]
call fcn.14000d620
cmp rbx, rax
jae 0x14001be60
mov edx, dword [rsp + 0x4c4]
lea rcx, [rsp + 0x48]
call fcn.14000d640
mov rcx, qword [rax]
call fcn.1400100e8
mov ebx, eax
shl ebx, 1
mov edx, dword [rsp + 0x4c4]
lea rcx, [rsp + 0x48]
call fcn.14000d640
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
mov r8d, ebx
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
mov r8d, 2
lea rdx, [0x14001f308]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
mov r8d, 2
lea rdx, [0x14001f30c]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001bd85
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x4c8], 0
lea rcx, [rsp + 0x48]
call fcn.14000d5f0
mov eax, dword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4d8]
xor rcx, rsp
call fcn.1400100c0
add rsp, 0x4e0
pop rbx
ret
Function at 0x14001beb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x4e0
mov qword [rsp + 0x4d0], 0xfffffffffffffffe
mov rax, qword [0x140022260]
xor rax, rsp
mov qword [rsp + 0x4d8], rax
lea rcx, [rsp + 0x48]
call fcn.14000d5a0
nop
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x290], 0
mov qword [rsp + 0x2a8], 0
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f2e8]
mov rdx, rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.14001a160
add rax, 2
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f2ec]
mov rdx, rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.14001a160
sub rax, qword [rsp + 0x2a8]
sar rax, 1
mov r8d, eax
mov rdx, qword [rsp + 0x2a8]
lea rcx, [rsp + 0x2b0]
call fcn.14000f060
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.1400100e8
lea r8, [0x14001f2f0]
mov rdx, rax
mov rcx, qword [rsp + 0x4f0]
mov rcx, qword [rcx + 8]
call fcn.14001a160
mov r8, rax
add r8, 2
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.140010a60
mov r8b, 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x2b0]
call fcn.14001afe0
mov dword [rsp + 0x2a0], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x298], rax
cmp qword [rsp + 0x298], 0
je 0x14001c13e
cmp qword [rsp + 0x298], 0xffffffffffffffff
je 0x14001c13e
mov dword [rsp + 0x4c4], 0
jmp 0x14001c066
mov eax, dword [rsp + 0x4c4]
add eax, 1
mov dword [rsp + 0x4c4], eax
mov ebx, dword [rsp + 0x4c4]
lea rcx, [rsp + 0x48]
call fcn.14000d620
cmp rbx, rax
jae 0x14001c130
mov edx, dword [rsp + 0x4c4]
lea rcx, [rsp + 0x48]
call fcn.14000d640
mov rcx, qword [rax]
call fcn.1400100e8
mov ebx, eax
shl ebx, 1
mov edx, dword [rsp + 0x4c4]
lea rcx, [rsp + 0x48]
call fcn.14000d640
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
mov r8d, ebx
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
mov r8d, 2
lea rdx, [0x14001f2f4]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c0]
mov r8d, 2
lea rdx, [0x14001f2f8]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14001c055
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x4c8], 0
lea rcx, [rsp + 0x48]
call fcn.14000d5f0
mov eax, dword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x4d8]
xor rcx, rsp
call fcn.1400100c0
add rsp, 0x4e0
pop rbx
ret
Function at 0x140011078
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140011d70
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x1400230a7]
call fcn.1400113ac
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ac80]
call fcn.140011348
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111d1
Capabilities:
Execute command

Disassembly:
jmp 0x140011990
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400230a7]
call fcn.1400113ac
lea rcx, [0x14001ae7c]
call qword [sym.imp.ucrtbased.dll_system]
mov edx, 5
mov ecx, 0x1e
call fcn.140011078
mov edx, dword [rbp + 0x128]
lea rcx, [0x14001ae80]
call fcn.1400111b3
mov dword [rbp + 4], 0
jmp 0x1400119f2
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xa
jge 0x140011a50
mov eax, dword [rbp + 4]
add eax, 6
mov edx, eax
mov ecx, 0x1e
call fcn.140011078
mov dword [rbp + 0x24], 0
jmp 0x140011a1b
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xa
jge 0x140011a4e
movsxd rax, dword [rbp + 4]
imul rax, rax, 0xa
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x24]
movsx eax, byte [rax + rcx]
mov edx, eax
lea rcx, [0x14001ae94]
call fcn.1400111b3
jmp 0x140011a13
jmp 0x1400119ea
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013aa0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112ad
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014df0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e10
xor al, al
jmp 0x140014e91
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e23
xor al, al
jmp 0x140014e91
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014e4d
xor al, al
jmp 0x140014e91
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014e61
xor al, al
jmp 0x140014e91
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014e73
xor al, al
jmp 0x140014e91
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014e8f
xor al, al
jmp 0x140014e91
mov al, 1
add rsp, 0x38
ret
Function at 0x140007c00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140007c98
test r8, r8
jle 0x140007c90
nop word [rax + rax]
mov rcx, rdi
call fcn.14000b560
test rax, rax
jle 0x140007c6e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.14001fcd0
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140007c88
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140007c90
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140007c30
sub r14, rbx
mov rax, r14
jmp 0x140007d16
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140007cb1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007cb3
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x140007d0b
test ecx, ecx
jle 0x140007cec
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.14001fcd0
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x140007d0b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007d0b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14002b30c
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140007d30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140007d52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140007dcc
mov rdi, r14
mov rcx, rbx
call fcn.14000b580
test rax, rax
jle 0x140007da4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14001fcd0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140007dbc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140007dc4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140007d66
sub r14, rdi
jmp 0x140007eaf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140007de3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007de5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007e17
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14001fcd0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140007eac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140007e52
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140007e8d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14002baa0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140007eac
cmp rbp, rax
ja 0x140007e60
test rbp, rbp
je 0x140007eac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14002baa0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140008310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14005b0d0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000833d
xor eax, eax
jmp 0x14000848b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008377
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140008377
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000848b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000847e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400083ba
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400083c9
movsx ecx, dil
jmp 0x14000841d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140008437
sub eax, 1
je 0x140008437
cmp eax, 2
jne 0x14000847e
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140024270
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008483
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140008464
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14002b30c
cmp rsi, rax
jne 0x14000847e
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008483
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001de00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14001cbe8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001cc6c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140045480]
cmp byte [rcx + rax], 0
je 0x14001cc6c
dec r8
sub rdx, 1
jne 0x14001cc52
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001ea90
Capabilities:
Parse pe header

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

Function at 0x14002d9c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002d7f0
Function at 0x14000b040
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.kernel32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000b088
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rax
call qword [sym.imp.kernel32.dll_TerminateProcess]
test eax, eax
mov rcx, rdi
setne bl
call qword [sym.imp.kernel32.dll_CloseHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
add rsp, 0x20
pop rdi
ret

Function at 0x14000cef0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.kernel32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x14000cf2d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.14000d08c
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000d02c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.14000d08c
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x14000cfa0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.kernel32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140004e90
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x14000d06b
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000d06b
call fcn.14000bd84
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x14000d052
mov rcx, r14
call fcn.14000bd84
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x14000e3c3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x98
call fcn.14000e5bf
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x88]
movsxd rcx, ecx
add rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x70
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x1c]
mov rax, qword [rsp + 0x88]
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x20]
mov rax, qword [rsp + 0x88]
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rax + 0x24]
mov rax, qword [rsp + 0x88]
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x5c]
jae 0x14000e5af
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
cmp dword [rax + rcx*4], 0
jne 0x14000e4cc
jmp 0x14000e59f
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x58]
jae 0x14000e59a
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
movzx eax, word [rax + rcx*2]
cmp eax, dword [rsp + 0x3c]
jne 0x14000e585
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14000e696
cmp rax, 0xe
jne 0x14000e580
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x56
jne 0x14000e580
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax + 7]
cmp eax, 0x50
jne 0x14000e580
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
add rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x14000e5af
jmp 0x14000e585
jmp 0x14000e58a
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
jmp 0x14000e4e4
jmp 0x14000e59f
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x14000e4a6
mov rax, qword [rsp + 0x90]
add rsp, 0x98
ret