joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001df88
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14001dfb8
cvtsi2ss xmm0, rdx
jmp 0x14001dfcd
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140087b70]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14001dffb
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14001dffb
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001e029
cmp rbx, 0x200
jae 0x14001e026
shl rbx, 3
cmp rbx, rcx
jae 0x14001e029
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
jbe 0x14001e052
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001d9c4
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14001e164
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x14001e0ab
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x14001e0ea
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14001e158
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x14001e12d
mov r10, qword [r10]
cmp r10, rax
je 0x14001e0e3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001e0e3
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14001e17a
cmp qword [rdi + r11*8], r10
jne 0x14001e123
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14001e09b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14001e158
Function at 0x14001fbf8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x140091040]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [rbp - 0x49], r9
mov r15, r8
mov r13, rdx
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x41], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rbp - 0x51], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x14001fcc5
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, r14
lea rdx, [rbx - 0x20]
lea rcx, [rbp - 0x19]
call fcn.1400033d0
or esi, 1
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.1400033d0
or esi, 2
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x39]
call fcn.14001ede0
movzx ebx, al
lea rcx, [rbp - 0x39]
call fcn.14000336c
nop
lea rcx, [rbp - 0x19]
call fcn.14000336c
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, r14
shl r13, 5
lea rcx, [r14 + r13]
call fcn.140008e0c
mov r13, rbx
cmp rbx, r12
jl 0x14001fc4b
mov rdi, rbx
cmp rbx, r12
jne 0x14001fcef
test r15b, 1
jne 0x14001fcef
shl r15, 5
lea rdx, [r14 - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [r14 + rbx]
call fcn.140008e0c
mov rdi, qword [rbp - 0x51]
lea rbx, [rdi - 1]
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x41]
sar rbx, 1
cmp r13, rdi
jge 0x14001fd4a
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.1400033d0
or esi, 0x10
or esi, 4
mov dword [rbp - 0x51], esi
mov rdx, rbx
shl rdx, 5
add rdx, r14
lea rcx, [rbp - 0x19]
call fcn.1400033d0
or esi, 0x20
or esi, 8
mov dword [rbp - 0x51], esi
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
call fcn.14001ede0
test al, al
je 0x14001fd4a
mov r15b, 1
jmp 0x14001fd4d
xor r15b, r15b
test sil, 8
je 0x14001fd60
and esi, 0xfffffff7
lea rcx, [rbp - 0x19]
call fcn.14000336c
nop
test sil, 4
je 0x14001fd72
and esi, 0xfffffffb
lea rcx, [rbp - 0x39]
call fcn.14000336c
shl rdi, 5
lea rcx, [rdi + r14]
test r15b, r15b
je 0x14001fd99
mov rdx, rbx
shl rdx, 5
add rdx, r14
call fcn.140008e0c
mov rdi, rbx
dec rbx
jmp 0x14001fcfb
mov rdx, r12
call fcn.140008e0c
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140054170
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1400211c8
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140021222
mov r11b, 0x23
lea rbx, [0x140076470]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14002120c
cmp rdx, 2
jb 0x14002120c
cmp byte [r10], r11b
jne 0x14002120c
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x1400211ea
jmp 0x140021263
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140021263
mov r11b, 0x23
lea rbx, [0x140076470]
cmp dl, r11b
jne 0x140021247
cmp byte [r10], r11b
jne 0x140021247
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x140021235
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140021398
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x1400213b8
and qword [r8], 0
lea rdx, [0x140086ca8]
call fcn.140021274
mov rbx, rax
test rax, rax
je 0x1400214a9
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400214a0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400214a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400214a0
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400214a0
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1400214a0
mov rax, qword [0x140092310]
test rax, rax
je 0x14002143d
inc dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400214a0
mov r9, rbx
mov r8, rbp
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, rbp
je 0x14002148d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140092310]
test rax, rax
je 0x140021482
dec dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400214a9
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14002149b
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1400214ab
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x140023150
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc8]
mov r9d, 8
mov rax, qword [rcx + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140076470]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x14002317a
not r8d
mov ecx, r8d
call fcn.140023344
mov eax, r8d
add rsp, 0x28
ret

Function at 0x1400231b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc8]
mov r9d, 4
mov rax, qword [rcx + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140076470]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x1400231d9
not r8d
mov ecx, r8d
call fcn.140023344
mov eax, r8d
add rsp, 0x28
ret
Function at 0x14002bb44
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140092310]
mov r10d, 8
mov qword [rsp + 0x30], rcx
mov r9, qword [rax + 0x1c10]
movsxd rcx, dword [r9 + 0xc8]
mov rax, qword [r9 + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x30]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x140076470]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14002bb7c
not r8d
lea rdx, [rsp + 0x30]
lea rcx, [r9 + 0xc8]
mov dword [rsp + 0x30], r8d
call fcn.140031934
add rsp, 0x28
ret

Function at 0x140030188
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3098], 0
lea rbx, [rcx + 0x30a0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140030221
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x1400301d9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140031c74
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140021ad4
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3098]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140092308]
movsxd r8, eax
mov rax, qword [rdi + 0x30a8]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140030229
mov rcx, rbx
call fcn.140021ad4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400308ec
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140092310]
mov rbx, rcx
and dword [rax + 0x3034], 0
test rcx, rcx
je 0x140030955
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140030960
lea rdx, [0x140086ca4]
mov rcx, rbx
mov rdi, rax
call fcn.140021274
mov rbx, rax
test rax, rax
je 0x140030955
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140040e74
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140091040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x140093828]
lea rdx, [rbp - 0x18]
mov rdi, qword [0x140092310]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x10]
lea rcx, [rbp - 0x20]
sub eax, dword [rbp - 0x18]
and qword [rbp - 0x20], 0
movd xmm1, eax
mov eax, dword [rbp - 0xc]
sub eax, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x20]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140093830]
cvtsi2ss xmm0, qword [0x140093838]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x140093830], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x143], 0
mov rbx, qword [0x140092310]
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x140040fab
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x140093828]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140040fab
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0x128], eax
mov dword [rbx + 0x12c], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x140041023
mov rdx, qword [0x140093828]
cmp rax, rdx
je 0x140040fe0
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x140041023
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140041023
mov rcx, qword [0x140093828]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140041023
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140041031
or eax, 0xffffffff
jmp 0x14004103e
mov rax, qword [0x140092310]
mov eax, dword [rax + 0x1f48]
cmp dword [0x140091300], eax
je 0x140041051
mov dword [0x140091300], eax
call fcn.140040b08
call fcn.140040bb8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140054170
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140054f18
Capabilities:
Parse pe header

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

Function at 0x140055150
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 0x14005518a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14005518f
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 0x1400551d8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140058c30]
cmp byte [rcx + rax], 0
je 0x1400551d8
dec r8
sub rdx, 1
jne 0x1400551be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140055924
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140055268
mov ebx, eax
test eax, eax
jne 0x140055954
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400559b7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400559ae
test al, 0x10
je 0x1400559ae
bt eax, 0xa
jae 0x1400559a7
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400559c8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400559a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400559a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400559ae
and dword [rsp + 0x3c], 0
jmp 0x1400559b3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140031b60
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x110
xor esi, esi
mov r10d, ecx
test ecx, ecx
je 0x140031c29
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov r9, qword [rdx + 0x20]
jmp 0x140031c20
cmp word [r9 + 0x48], si
je 0x140031c29
mov eax, 0x104
cmp word [r9 + 0x48], ax
jae 0x140031c29
mov rbx, qword [r9 + 0x50]
mov r11d, esi
cmp word [rbx], si
je 0x140031be8
mov rdi, rsi
mov rax, rsi
movzx r8d, byte [rax + rbx]
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r11d
mov byte [rsp + rdi], cl
mov edi, r11d
lea rax, [r11 + r11]
cmp word [rax + rbx], si
jne 0x140031bbe
mov eax, r11d
lea rdx, [rsp]
mov ecx, 0x12345678
mov byte [rsp + rax], sil
mov al, byte [rsp]
jmp 0x140031c14
movsx eax, al
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor ecx, eax
inc rdx
mov al, byte [rdx]
test al, al
jne 0x140031bfd
cmp ecx, r10d
je 0x140031c40
mov r9, qword [r9]
test r9, r9
jne 0x140031b95
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, qword [r9 + 0x20]
jmp 0x140031c2b

Function at 0x140031c48
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
xor edi, edi
mov r8, rcx
test rcx, rcx
je 0x140031d32
mov r9b, byte [rcx]
mov r10d, edi
test r9b, r9b
je 0x140031c9d
mov r11d, edi
lea eax, [r9 - 0x20]
lea edx, [r9 - 0x61]
movzx ecx, al
cmp dl, 0x19
movzx eax, r9b
cmova ecx, eax
inc r10d
mov byte [rsp + r11 + 0x130], cl
mov r11d, r10d
mov r9b, byte [r10 + r8]
test r9b, r9b
jne 0x140031c71
mov eax, r10d
mov byte [rsp + rax + 0x130], dil
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x20]
jmp 0x140031d2d
cmp word [rbx + 0x48], di
je 0x140031d32
mov eax, 0x104
cmp word [rbx + 0x48], ax
jae 0x140031d32
mov r9, qword [rbx + 0x50]
mov r10d, edi
cmp word [r9], di
je 0x140031d0c
mov r11, rdi
mov rax, rdi
movzx r8d, byte [rax + r9]
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r10d
mov byte [rsp + r11 + 0x20], cl
mov r11d, r10d
lea rax, [r10 + r10]
cmp word [rax + r9], di
jne 0x140031cdf
mov eax, r10d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x130]
mov byte [rsp + rax + 0x20], dil
call fcn.14003343c
test eax, eax
je 0x140031d45
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140031cbb
xor eax, eax
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x140031d34
Function at 0x140031d4c
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x130
mov edi, edx
mov r8, rcx
test rcx, rcx
je 0x140031e99
test edx, edx
je 0x140031e99
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140031e99
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140031e99
movups xmm1, xmmword [rax + 0x28]
add rax, 0x18
lea rcx, [rsp + 0x20]
mov edx, 0x80
xor esi, esi
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm0, xmmword [rax + 0x70]
add rax, rdx
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r14d, dword [r11 - 0xb8]
lea rax, [r8 + r14]
mov r11d, dword [rax + 0x20]
mov r15d, dword [rax + 0x1c]
add r11, r8
mov ebx, dword [rax + 0x24]
add r15, r8
mov ebp, dword [rax + 0x14]
add rbx, r8
test ebp, ebp
je 0x140031e99
movzx eax, word [rbx]
mov r9d, 0x12345678
mov ecx, dword [r11]
add rcx, r8
mov r10d, dword [r15 + rax*4]
lea rdx, [r8 + r10]
jmp 0x140031e80
movsx eax, al
xor eax, r9d
imul r9d, eax, 0x5bd1e995
mov eax, r9d
shr eax, 0xf
xor r9d, eax
inc rcx
mov al, byte [rcx]
test al, al
jne 0x140031e67
cmp edi, r9d
je 0x140031eb8
inc esi
add rbx, 2
add r11, 4
cmp esi, ebp
jb 0x140031e4e
xor eax, eax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp r10d, r14d
jb 0x140031f44
mov ecx, dword [rsp + 0x94]
add ecx, r14d
cmp r10d, ecx
jae 0x140031f44
mov al, byte [rdx]
mov rdi, rdx
jmp 0x140031ee0
test al, al
je 0x140031e99
inc rdi
mov al, byte [rdi]
cmp al, 0x2e
jne 0x140031ed7
mov rbx, rdi
lea rcx, [rsp + 0x20]
sub rbx, rdx
mov r8, rbx
call fcn.1400332e0
lea rdx, [0x140034070]
mov byte [rsp + rbx + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.140033418
lea rcx, [rsp + 0x20]
call fcn.14003217c
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.140033478
mov r8, rax
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14003335c
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140031f4c
jmp 0x140031e9b
mov rax, rdx
jmp 0x140031e9b