joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014bf20
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r8, qword [0x14037ce00]
xor ebx, ebx
mov r13d, edx
mov rax, rcx
test r8, r8
jne 0x14014c0af
mov rax, qword gs:[0x60]
mov edi, ebx
mov ebp, 0x53b2070f
mov r8, qword [rax + 0x18]
mov rax, qword [r8 + 0x10]
mov r12, qword [rax]
mov rdx, r12
movups xmm0, xmmword [rdx + 0x58]
movd eax, xmm0
sub ax, 8
test edi, edi
je 0x14014bfc1
psrldq xmm0, 8
mov r8d, 0x811c9dc5
movzx eax, ax
movq rcx, xmm0
shr rax, 1
lea r9, [rcx + rax*2]
jmp 0x14014bfb3
movsx eax, byte [rcx]
xor eax, r8d
imul r8d, eax, 0x1000193
add rcx, 2
cmp rcx, r9
jne 0x14014bfa2
cmp r8d, edi
jne 0x14014c08b
mov r10, qword [rdx + 0x30]
movsxd rax, dword [r10 + 0x3c]
mov rax, qword [rax + r10 + 0x88]
mov r9d, eax
add r9, r10
shr rax, 0x20
cmp r9, r10
je 0x14014c08b
mov r8d, dword [r9 + 0x18]
test r8d, r8d
je 0x14014c08b
mov r15d, dword [r9 + 0x20]
dec r8d
mov esi, 0x811c9dc5
lea rcx, [r15 + r8*4]
mov r11d, dword [rcx + r10]
add r11, r10
jmp 0x14014c015
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [r11]
inc r11
test cl, cl
jne 0x14014c00a
cmp esi, ebp
je 0x14014c02a
test r8d, r8d
jne 0x14014bff5
jmp 0x14014c08b
mov edx, dword [r9 + 0x24]
add rdx, r10
movzx r8d, word [rdx + r8*2]
mov edx, dword [r9 + 0x1c]
add rdx, r10
mov r8d, dword [rdx + r8*4]
add r8, r10
cmp r8, r9
jbe 0x14014c0a3
lea rcx, [r9 + rax]
cmp r8, rcx
jae 0x14014c0a3
mov edi, 0x811c9dc5
mov ebp, edi
jmp 0x14014c069
movsx eax, al
xor eax, edi
imul edi, eax, 0x1000193
inc r8
mov al, byte [r8]
cmp al, 0x2e
jne 0x14014c05b
jmp 0x14014c07d
movsx eax, al
xor eax, ebp
imul ebp, eax, 0x1000193
inc r8
mov al, byte [r8]
test al, al
jne 0x14014c072
mov rdx, qword [r12]
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r12
je 0x14014c0a0
cmp qword [rax + 0x30], rbx
jne 0x14014bf76
mov r8, rbx
mov rax, qword [rsp + 0x50]
mov qword [0x14037ce00], r8
mov rcx, rax
call r8
mov rdi, rax
movsxd rcx, dword [rax + 0x3c]
mov esi, dword [rcx + rax + 0x88]
add rsi, rax
mov r14d, dword [rsi + 0x1c]
mov r12d, dword [rsi + 0x20]
add r14, rax
mov r15d, dword [rsi + 0x24]
add r12, rax
add r15, rax
cmp dword [rsi + 0x14], ebx
jbe 0x14014c0fa
mov ebp, ebx
mov ecx, dword [r12 + rbp*4]
add rcx, rdi
call fcn.14014c128
cmp eax, r13d
je 0x14014c119
inc ebx
cmp ebx, dword [rsi + 0x14]
jb 0x14014c0e0
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r15 + rbp*2]
mov eax, dword [r14 + rax*4]
add rax, rdi
jmp 0x14014c0fc
Function at 0x140159ad8
Capabilities:
Get geographical location

Disassembly:
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 0x140159b12
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140159b17
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 0x140159b60
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140159b60
dec r8
sub rdx, 1
jne 0x140159b46
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14015b294
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14001b71d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001b72d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001b715
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001b745
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001b732
sub eax, 3
jb 0x14001b75f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001b796
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001b786
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001b784
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001b773
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001b6d2
jmp 0x14001b71d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7200
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001b7e2
cmp rsi, rcx
jae 0x14001b7ea
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001b7c9
cmp al, 0x8f
ja 0x14001b7c9
cmp byte [rsi - 2], 0xf
je 0x14001b7cf
sub al, 0xe8
cmp al, 1
ja 0x14001b7b3
cmp rsi, rcx
jae 0x14001b7ea
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001b7b9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001b7ea
lodsb al, byte [rsi]
jmp 0x14001b7c9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x19000]
mov eax, dword [rdi]
or eax, eax
je 0x14001b847
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1b000]
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 0x14001b7f7
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 0x14001b841
mov qword [rbx], rax
add rbx, 8
jmp 0x14001b817
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14001b881
cmp al, 0xef
ja 0x14001b873
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14001b853
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14001b862
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.14001b900], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14001b900
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14001b8f0
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140f5b1c8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f5b1d2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5b1fb
pop rbp
sub rbp, 0x33
sub rbp, 0xf5b1c8
sub rsp, 0x20
jmp 0x140f5b21a
mov rax, 0xf5b1c8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x6278aed0
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f5b239
jmp 0x140f5b250
cwde
pop rcx
cmp dword [rbx + 0x59], ebx
in al, dx
rcl al, 1
rcr byte [rax - 0x2e27eeaf], 1
rcl al, 1
cwde
sar dword [rcx], 1
cwde
invalid
Function at 0x140001c54
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov rcx, 0xffffffff80000002
lea r8, [rsp + 0x30]
mov rsi, r9
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
test eax, eax
je 0x140001c94
cmp eax, 2
sete bl
lea eax, [rbx + 1]
jmp 0x140001cc3
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov dword [rsp + 0x38], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001c89
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004940
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140001cd8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
mov rbx, r9
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rbx + 0x18]
test eax, eax
je 0x140001d62
xor esi, esi
cmp eax, 2
sete sil
cmp rcx, 0xf
jbe 0x140001d55
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001d50
mov rax, qword [rcx - 8]
add rdx, 0x27
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140001e3a
mov rcx, rax
call fcn.140004be4
and qword [rbx + 0x10], 0
lea eax, [rsi + 1]
jmp 0x140001e17
mov rax, rbx
cmp rcx, 0xf
jbe 0x140001d6e
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea rdx, str.HostAutoStartCheck
mov dword [rsp + 0x28], 0x104
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbx + 0x18]
test eax, eax
je 0x140001ddd
cmp rcx, 0xf
jbe 0x140001dd1
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001dcc
mov rax, qword [rcx - 8]
add rdx, 0x27
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140001e3a
mov rcx, rax
call fcn.140004be4
and qword [rbx + 0x10], 0
mov eax, 1
jmp 0x140001e17
cmp rcx, 0xf
jbe 0x140001e10
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001e0b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001e3a
mov rcx, r8
call fcn.140004be4
and qword [rbx + 0x10], 0
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140004940
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140001e44
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov dword [rsp + 0x38], r9d
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
test eax, eax
je 0x140001e8f
cmp eax, 2
sete bl
lea eax, [rbx + 1]
jmp 0x140001ebf
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 0x104
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004940
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400054b4
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140011b80
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140025222]
call fcn.140011406
nop
lea rcx, [0x14001bcf4]
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rcx, str._tFifteen_Puzzle_n_t
call fcn.1400111ef
nop
lea rcx, str._______________n_t
call fcn.1400111ef
nop
mov dword [rbp + 4], 0
jmp 0x140011bd9
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jge 0x140011c65
mov dword [rbp + 0x24], 0
jmp 0x140011bf4
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 4
jge 0x140011c53
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x10
mov rcx, qword [rbp + 0x140]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x24]
cmp dword [rax + rcx*4], 0
jle 0x140011c44
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x10
mov rcx, qword [rbp + 0x140]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rbp + 0x24]
mov edx, dword [rax + rcx*4]
lea rcx, [0x14001bd24]
call fcn.1400111ef
nop
jmp 0x140011c51
lea rcx, [0x14001bd28]
call fcn.1400111ef
nop
jmp 0x140011bec
lea rcx, [0x14001bd2c]
call fcn.1400111ef
nop
jmp 0x140011bd1
lea rcx, str._______________n_t
call fcn.1400111ef
nop
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x140]
mov eax, dword [rax + 0x4c]
mov ecx, dword [rbp + 0x44]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
divss xmm0, dword [0x14001bdac]
cvtss2sd xmm0, xmm0
mov rax, qword [rbp + 0x140]
movsd qword [rax + 0x50], xmm0
mov rax, qword [rbp + 0x140]
movsd xmm2, qword [rax + 0x50]
movq r8, xmm2
mov rax, qword [rbp + 0x140]
mov edx, dword [rax + 0x48]
lea rcx, [0x14001bd30]
call fcn.1400111ef
nop
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400110be
Capabilities:
Read file on windows

Disassembly:
jmp 0x140012c60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400252be]
call fcn.140011406
nop
lea rdx, [0x14001beac]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012cb3
mov rcx, qword [rbp + 0x100]
call fcn.1400110c8
nop
jmp 0x140012ce6
mov rax, qword [rbp + 0x100]
movsxd rax, dword [rax + 0x438]
mov rcx, qword [rbp + 0x100]
mov r9, qword [rbp + 8]
mov r8, rax
mov edx, 0xd8
call qword [sym.imp.ucrtbased.dll_fread]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011190
Capabilities:
Write file on windows

Disassembly:
jmp 0x140012e70
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400252be]
call fcn.140011406
nop
lea rdx, [0x14001beb0]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012eb6
jmp 0x140012ee9
mov rax, qword [rbp + 0x100]
movsxd rax, dword [rax + 0x438]
mov rcx, qword [rbp + 0x100]
mov r9, qword [rbp + 8]
mov r8, rax
mov edx, 0xd8
call qword [sym.imp.ucrtbased.dll_fwrite]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140014520
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]
nop
add rsp, 0x28
ret

Function at 0x140011276
Capabilities:
Execute command

Disassembly:
jmp 0x140011ef0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140025222]
call fcn.140011406
nop
mov dword [rbp + 4], 0
jmp 0x140011f26
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jge 0x140011f90
mov dword [rbp + 0x24], 0
jmp 0x140011f3d
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 4
jge 0x140011f8e
movsxd rax, dword [rbp + 4]
imul rax, rax, 0x10
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xf8], rax
movsxd rcx, dword [rbp + 0x24]
mov edx, dword [rbp + 0x24]
mov r8d, dword [rbp + 4]
lea edx, [rdx + r8*4 + 1]
mov eax, edx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
mov rdx, qword [rbp + 0xf8]
cmp dword [rdx + rcx*4], eax
je 0x140011f8c
xor al, al
jmp 0x140011fef
jmp 0x140011f35
jmp 0x140011f1e
lea rcx, [0x14001bcf4]
call qword [sym.imp.ucrtbased.dll_system]
nop
xor edx, edx
mov rcx, qword [rbp + 0x128]
call fcn.140011226
nop
mov rax, qword [rbp + 0x120]
movsd xmm2, qword [rax + 0x50]
mov rax, qword [rbp + 0x120]
mov edx, dword [rax + 0x48]
mov rcx, qword [rbp + 0x128]
call fcn.1400112c1
nop
lea rcx, [0x14001bcf4]
call qword [sym.imp.ucrtbased.dll_system]
nop
mov dl, 1
mov rcx, qword [rbp + 0x128]
call fcn.140011226
nop
mov al, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400112f3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015860
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015880
xor al, al
jmp 0x140015901
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015893
xor al, al
jmp 0x140015901
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 0x1400158bd
xor al, al
jmp 0x140015901
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400158d1
xor al, al
jmp 0x140015901
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400158e3
xor al, al
jmp 0x140015901
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400158ff
xor al, al
jmp 0x140015901
mov al, 1
add rsp, 0x38
ret
Function at 0x140013760
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011433
movzx eax, al
test eax, eax
jne 0x140013780
mov ecx, 7
call fcn.14001139d
nop
mov byte [rsp + 0x20], 0
call fcn.1400113b1
mov byte [rsp + 0x21], al
cmp dword [0x14001f888], 1
jne 0x1400137a4
mov ecx, 7
call fcn.14001139d
nop
jmp 0x1400137fc
cmp dword [0x14001f888], 0
jne 0x1400137f7
mov dword [0x14001f888], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111f4
test eax, eax
je 0x1400137d8
mov eax, 0xff
jmp 0x140013901
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.1400113a7
mov dword [0x14001f888], 2
jmp 0x1400137fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011389
call fcn.140011316
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013859
mov rcx, qword [rsp + 0x30]
call fcn.14001119a
movzx eax, al
test eax, eax
je 0x140013859
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.14001134d
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001388d
mov rcx, qword [rsp + 0x38]
call fcn.14001119a
movzx eax, al
test eax, eax
je 0x14001388d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113ed
nop
call fcn.1400139b0
mov dword [rsp + 0x28], eax
call fcn.1400112f3
movzx eax, al
test eax, eax
jne 0x1400138ac
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400138bb
call fcn.1400113f7
nop
xor edx, edx
mov cl, 1
call fcn.140011186
mov eax, dword [rsp + 0x28]
jmp 0x140013901
add rsp, 0x68
ret
Function at 0x14003fd50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14003fdad
lea rbx, [0x140115240]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14003fd94
cmp r10, 2
jb 0x14003fd94
cmp byte [r9], r8b
jne 0x14003fd94
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14003fd70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14003fdef
lea rbx, [0x140115240]
cmp r8b, 0x23
jne 0x14003fdd3
cmp byte [r9], r8b
jne 0x14003fdd3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14003fdc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14003ff40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14003ff5a
mov qword [r8], 0
lea rdx, [0x14011bec0]
call fcn.14003fe00
mov rbx, rax
test rax, rax
jne 0x14003ff7a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140040025
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140040025
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140040025
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140040025
cmp rdi, 0xffffffffffffffff
je 0x140040025
mov rcx, rdi
call fcn.1400446f0
mov rsi, rax
test rax, rax
je 0x140040025
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140040012
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.140044790
jmp 0x14004002e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140040020
mov qword [r14], rdi
mov rax, rsi
jmp 0x140040030
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret