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

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18001bcd6
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rdi
cmp rax, rcx
jbe 0x18001bd77
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x20], r14
mov r14, qword [rsi + 8]
mov rbp, qword [r14]
cmp rbp, r14
je 0x18001bcc2
movzx ecx, byte [rbp + 0x10]
movabs rax, 0xcbf29ce484222325
mov rdx, qword [rsi + 0x18]
xor rcx, rax
movzx eax, byte [rbp + 0x11]
movabs r8, 0x100000001b3
imul rcx, r8
mov qword [r11 - 0x10], r12
mov rbx, rbp
mov r12, qword [rbp + 8]
xor rcx, rax
imul rcx, r8
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
mov r15, qword [rsi + 0x30]
and r15, rcx
mov qword [rsp + 0x20], rdx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov r13, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006a354
dec qword [rsi + 0x10]
cmp rdi, r13
je 0x18001bcdc
cmp rbx, r14
jne 0x18001bc80
cmp qword [rsp + 0x28], rbp
jne 0x18001bcab
mov qword [r15], rbx
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
cmp qword [rsp + 0x28], rbp
jne 0x18001bceb
mov qword [r15], r14
mov rax, r14
jmp 0x18001bcee
mov rax, r12
mov qword [r15 + 8], rax
cmp rbx, r14
je 0x18001bcab
mov r13, qword [rsp + 0x20]
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rdx, 0x100000001b3
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, r13
mov rbp, qword [r15 + 8]
nop word [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.18006a354
dec qword [rsi + 0x10]
cmp rdi, rbp
je 0x18001bd66
cmp rbx, r14
jne 0x18001bd40
jmp 0x18001bca8
mov qword [r15], r14
mov qword [r15 + 8], r14
cmp rbx, r14
jne 0x18001bd00
jmp 0x18001bcab
mov rcx, qword [rsi + 8]
xor edi, edi
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001bda5
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.18006a354
mov rcx, rbx
test rbx, rbx
jne 0x18001bd90
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], rdi
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.18001cbe0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x18001cc70
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
mov rcx, r13
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x18001ccdf
mov rbx, r15
mov rbp, r15
jmp 0x18001cd28
mov rcx, qword [rax + rcx*8]
movzx eax, word [r8]
cmp ax, word [rbx + 0x10]
je 0x18001ccff
nop dword [rax]
cmp rbx, rcx
je 0x18001cd22
mov rbx, qword [rbx + 8]
cmp ax, word [rbx + 0x10]
jne 0x18001ccf0
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rsi + 0x10], rax
jne 0x18001cd46
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.180069fa0
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx eax, word [r12]
mov word [rdi + 0x10], ax
mov rdx, qword [rsi + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x18001cd83
cvtsi2ss xmm0, rdx
jmp 0x18001cd9b
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001cdae
cvtsi2ss xmm1, rcx
jmp 0x18001cdc3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
jbe 0x18001ce36
mov rcx, rsi
call fcn.18001ca40
mov rdx, rax
mov rcx, rsi
call fcn.18001c8a0
mov rdx, qword [rsi + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x18001ce06
mov qword [rsp + 0x28], 0
jmp 0x18001ce29
mov rdx, qword [rcx + rdx*8]
movzx ecx, word [rdi + 0x10]
cmp cx, word [rax + 0x10]
je 0x18001ce26
mov rbx, rax
cmp rax, rdx
je 0x18001ce6a
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x18001ce14
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x18001ce7a
mov qword [rcx + rax*8], rdi
jmp 0x18001ce8c
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x18001ce2e
cmp r8, rbp
jne 0x18001ce85
mov qword [rcx + rax*8], rdi
jmp 0x18001ce91
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18001ce91
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x18001cd07
Function at 0x180037030
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 0x18003708d
lea rbx, [0x1800942c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180037074
cmp r10, 2
jb 0x180037074
cmp byte [r9], r8b
jne 0x180037074
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 0x180037050
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800370cf
lea rbx, [0x1800942c0]
cmp r8b, 0x23
jne 0x1800370b3
cmp byte [r9], r8b
jne 0x1800370b3
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 0x1800370a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180037210
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18003722a
mov qword [r8], 0
lea rdx, [0x180093ee4]
call fcn.1800370e0
mov rbx, rax
test rax, rax
jne 0x18003724a
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 0x180037323
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 0x180037323
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180037323
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 0x180037323
cmp rdi, 0xffffffffffffffff
je 0x180037323
mov rax, qword [0x1800ee7d8]
test rax, rax
je 0x1800372c0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180037323
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 0x180037310
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800ee7d8]
test rax, rax
je 0x180037305
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18003732c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18003731e
mov qword [r14], rdi
mov rax, rsi
jmp 0x18003732e
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
Function at 0x180039610
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x1800942c0]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1800ee7d8]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x1800396a5
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18004ad90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18003e310
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18003e360
lea r11, [0x1800942c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18003e343
cmp byte [r8], r9b
jne 0x18003e343
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18003e330
mov rcx, qword [0x1800ee7d8]
not eax
movsxd rdx, dword [rcx + 0x3e70]
mov r9, qword [rcx + 0x3e78]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18003e3c1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18003e3b9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18003e3bc
mov rdx, r8
test rdx, rdx
jne 0x18003e390
cmp r9, r10
je 0x18003e3d0
cmp dword [r9], eax
jne 0x18003e3d0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x1800498a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180049947
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800498fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18004be50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180037670
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800ee724]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18004994f
mov rcx, rbx
call fcn.180037670
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180049dd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800ee7d8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180049e33
mov qword [rsp], rbx
lea rbx, [0x1800942c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180049e13
cmp byte [r8], r9b
jne 0x180049e13
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180049e00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180049e67
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180049e6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180049e54
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800661d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180066420
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800662ea
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180066234
mov rax, qword [0x1800a8008]
cmp qword [rsp + 0x20], rax
ja 0x180066234
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800661f6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180066265
jmp 0x1800662ea
cmp dword [rsp + 0x50], 0x10000
jne 0x1800662cd
cmp qword [rsp + 0x48], 0x10000
jb 0x1800662cd
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800662ab
mov rax, qword [rsp + 0x28]
jmp 0x1800662ec
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800662bb
xor eax, eax
jmp 0x1800662ec
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800662e5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180066420
mov qword [rsp + 0x20], rax
jmp 0x1800661f6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180066300
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180066460
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180066416
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006635b
mov rax, qword [0x1800a8008]
cmp qword [rsp + 0x20], rax
ja 0x18006635b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006631d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18006638c
jmp 0x180066416
cmp dword [rsp + 0x50], 0x10000
jne 0x1800663f4
cmp qword [rsp + 0x48], 0x10000
jb 0x1800663f4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800663d2
mov rax, qword [rsp + 0x28]
jmp 0x180066418
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800663e2
xor eax, eax
jmp 0x180066418
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180066411
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180066460
mov qword [rsp + 0x20], rax
jmp 0x18006631d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800664b0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180066a40
mov qword [rsp + 0x28], 0
cmp qword [0x1800ecfd8], 0
jne 0x1800664f8
cmp qword [0x1800ecfd0], 0
je 0x1800664f8
mov rax, qword [0x1800ecfd0]
mov qword [0x1800ecfd8], rax
cmp qword [0x1800ecfd8], 0
je 0x18006659e
mov rax, qword [0x1800ecfd8]
cmp qword [rax + 0x10], 0
je 0x18006659e
mov rax, qword [0x1800ecfd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006659e
mov rax, qword [0x1800ecfd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006659e
mov rax, qword [0x1800ecfd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180066564
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006656b
xor eax, eax
jmp 0x180066719
mov rax, qword [0x1800ecfd8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180066719
mov rax, qword [0x1800ecfd0]
mov qword [0x1800ecfd8], rax
jmp 0x1800665c0
mov rax, qword [0x1800ecfd8]
mov rax, qword [rax + 8]
mov qword [0x1800ecfd8], rax
cmp qword [0x1800ecfd8], 0
je 0x18006660d
cmp qword [0x1800ecfd8], 0
je 0x18006660b
mov rax, qword [0x1800ecfd8]
cmp qword [rax + 0x10], 0
je 0x18006660b
mov rax, qword [0x1800ecfd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006660b
mov rax, qword [0x1800ecfd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006660b
jmp 0x18006653c
jmp 0x1800665ae
mov rcx, qword [rsp + 0x60]
call fcn.180068690
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180066720
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180066717
mov rax, qword [rsp + 0x48]
mov qword [0x1800ecfd8], rax
mov rax, qword [0x1800ecfd8]
mov dword [rax], 0x52727464
mov rax, qword [0x1800ecfd8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800ecfd8]
mov rcx, qword [0x1800ecfd0]
mov qword [rax + 8], rcx
mov rax, qword [0x1800ecfd8]
mov qword [0x1800ecfd0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800ecfd8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800666c8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180066702
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1800666be
mov rax, qword [0x1800ecfd8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18006653c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180067430
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180067477
xor al, al
jmp 0x180067519
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800674a1
xor al, al
jmp 0x180067519
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180067511
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180067511
mov al, 1
jmp 0x180067519
jmp 0x180067517
xor al, al
add rsp, 0x78
ret

Function at 0x180067820
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800ecfd0]
mov qword [rsp + 0x28], rax
jmp 0x180067840
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006786f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18006786d
call sub.KERNEL32.dll_GetLastError
jmp 0x180067871
jmp 0x180067832
xor eax, eax
add rsp, 0x38
ret
Function at 0x180067f30
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1800ecfe8], eax
je 0x180067f4b
mov eax, 0x10dd
jmp 0x180068070
mov rax, qword [0x1800ed000]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180067ff5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180067fc0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180067fc0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180066b80
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18006a354
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180067f57
mov qword [0x1800ed000], 0
call fcn.1800675e0
mov rax, qword [0x1800ecff8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180068059
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18006a354
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180068011
mov qword [0x1800ecff8], 0
mov dword [0x1800ecfe8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800685a0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1800ecfec], 0
je 0x1800685bd
mov eax, dword [0x1800ecfec]
jmp 0x180068683
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800685d0
xor eax, eax
jmp 0x180068683
mov ecx, 0x10
call fcn.180069fa0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18006863e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180068623
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18006a354
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1800ecfec], eax
mov qword [0x1800ecff0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180068683
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180068658
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800685f9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800ecff8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800ecff8], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x180069b40
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 0x180069b7a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180069b7f
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 0x180069bc8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18006f9d0]
cmp byte [rcx + rax], 0
je 0x180069bc8
dec r8
sub rdx, 1
jne 0x180069bae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret