joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003a760
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x180119638]
xor ebp, ebp
cmp byte [rbx + 0x6090], bpl
jne 0x18003a85c
cmp dword [rbx + 0x60b8], ebp
je 0x18003a7a7
mov r8d, 0x3619
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18003a855
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.18001ac00
mov rdi, rax
test rax, rax
je 0x18003a855
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18003a7e1
mov rcx, rax
call fcn.18003a9b0
mov r8, qword [0x180119638]
test r8, r8
je 0x18003a84c
movsx rdx, word [r8 + 0x6220]
lea rcx, [r8 + 0x6224]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x18003a841
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6220], cx
movsx rax, cx
lea rcx, [r8 + 0x6224]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x621c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x6090], 1
movss xmm0, dword [rbx + 0x6094]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18003a8f9
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x6094], xmm0
jb 0x18003a8f9
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x18003a8e7
mov rax, qword [0x180119638]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x6094], ebp
call fcn.18003ac30
lea rdx, [0x1800e88cc]
mov rcx, rdi
mov rsi, rax
call fcn.18001aa50
mov rdi, rax
test rax, rax
je 0x18003a8ee
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18003a8ee
mov byte [rbx + 0xe6], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x6094], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18003a910
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180119638]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18003a973
mov qword [rsp], rbx
lea rbx, [0x1800dd050]
nop dword [rax]
cmp r9b, 0x23
jne 0x18003a953
cmp byte [r8], r9b
jne 0x18003a953
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 0x18003a940
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60a8]
not eax
mov r8, qword [r10 + 0x60b0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18003a99f
cmp dword [r8 + 8], eax
je 0x18003a9a6
add r8, 0x48
cmp r8, rcx
jne 0x18003a990
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1800995c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, qword [0x180119638]
mov rdi, rcx
movsxd rbp, edx
imul rbx, rbp, 0x70
add rbx, qword [rcx + 0x18]
cmp rbx, qword [rcx + 0x18]
jb 0x1800995f5
cmp rbx, qword [rcx + 0x20]
jb 0x18009960f
mov r8d, 0x281
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui_internal.h
lea rcx, str.p___Data__p___DataEnd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x188]
mov dword [rdi + 0x74], ebp
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x18009962e
addss xmm2, dword [rdi + 0x90]
movaps xmm0, xmm2
lea rbp, [r9 + 0x118]
subss xmm0, dword [r9 + 0x28]
movss dword [rbp], xmm2
movss xmm1, dword [rdi + 0x88]
addss xmm1, dword [rdi + 0x7c]
movss dword [r9 + 0x130], xmm2
subss xmm0, dword [r9 + 0x15c]
movss dword [r9 + 0x120], xmm2
movss dword [r9 + 0x11c], xmm1
movss dword [r9 + 0x160], xmm0
mov eax, dword [rdi + 0x8c]
mov dword [r9 + 0x150], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x170], eax
movss dword [r9 + 0x234], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x230], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x238], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1d8], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xcf], al
cmp byte [rbx + 0x68], 0
je 0x1800996db
xor eax, eax
mov dword [rsi + 0x4a38], eax
mov dword [rsi + 0x4a40], eax
test dword [rdi + 4], 0x100000
je 0x1800996ec
mov r8d, 2
jmp 0x180099766
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x2b0]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x250], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x60], xmm4
movss dword [rax + 0x64], xmm3
movss dword [rax + 0x68], xmm2
movss dword [rax + 0x6c], xmm1
mov rax, qword [r9 + 0x2b0]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x98]
mov rcx, qword [rax + 0xa0]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x2b0]
mov rcx, qword [rdi + 0x1a0]
call fcn.18008c690
cmp byte [rsi + 0x6138], 0
je 0x1800997a4
cmp byte [rbx + 0x68], 0
jne 0x1800997a4
xor r8d, r8d
lea rdx, [0x1800ff978]
mov rcx, rbp
call fcn.18003a120
mov dword [rsi + 0x6168], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18009dd90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180119638]
mov ebx, ecx
mov rdi, qword [rax + 0x4e88]
cmp ecx, 0xffffffff
jne 0x18009ddb6
cmp dword [rdi + 0x74], ecx
cmovne ebx, dword [rdi + 0x74]
mov eax, dword [rdi + 0x6c]
cmp ebx, eax
jne 0x18009ddc4
mov ebx, 0xffffffff
jmp 0x18009ddc9
cmp ebx, 0xffffffff
jl 0x18009ddcd
cmp ebx, eax
jl 0x18009dde7
mov r8d, 0xd31
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui_tables.cpp
lea rcx, str.column_n____1__column_n___table__ColumnsCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rdi + 4], 7
je 0x18009de59
mov r10d, dword [rdi]
lea r8, [0x180100499]
movzx eax, word [rdi + 0x78]
lea r11, [0x1800dd050]
not r10d
mov byte [rdi + 0x23b], 1
mov ecx, r10d
mov word [rdi + 0x224], bx
mov word [rdi + 0x7a], ax
mov r9b, 0x23
nop dword [rax]
cmp r9b, 0x23
jne 0x18009de33
cmp byte [r8], r9b
jne 0x18009de33
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18009de20
not ecx
xor edx, edx
call fcn.180033360
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800af5d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
movsxd r14, dword [rdx + 0xc]
xor esi, esi
mov dword [rsp + 0x88], esi
mov r12d, r8d
mov rbp, rdx
mov rbx, rcx
mov r13d, esi
mov edi, esi
cmp r8d, r14d
jne 0x1800af649
test r9d, r9d
je 0x1800af649
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.1800aeca0
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
mov dword [rbx + 4], esi
mov dword [rbx + 0xc], esi
mov dword [rbx + 0x10], r14d
movss dword [rbx + 8], xmm0
movss xmm0, dword [rsp + 0x2c]
movss dword [rbx], xmm0
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rcx + 4], esi
xor r8d, r8d
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x80], r15
call fcn.1800aeca0
mov r15d, dword [rsp + 0x3c]
cmp r12d, r15d
jl 0x1800af739
mov rcx, r14
lea eax, [r15 + rdi]
mov dword [rsp + 0x20], eax
cmp eax, r14d
jne 0x1800af6e9
test rcx, rcx
jle 0x1800af6e9
lea r12d, [r14 - 1]
lea r13, [rcx - 1]
cmp r12d, dword [rbp + 0xc]
jle 0x1800af6ac
mov r8d, 0xf29
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui_widgets.cpp
lea rcx, str.idx___obj__CurLenW
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r13, r13
js 0x1800af6b7
cmp r12d, dword [rbp + 0x18]
jl 0x1800af6d1
mov r8d, 0x81d
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x20]
cmp word [rax + r13*2], 0xa
jne 0x1800af731
mov r12d, dword [rsp + 0x90]
mov eax, dword [rsp + 0x20]
movss xmm0, dword [rsp + 0x30]
mov dword [rsp + 0x88], edi
mov edi, eax
addss xmm0, dword [rbx + 4]
movss dword [rbx + 4], xmm0
cmp eax, r14d
je 0x1800af72e
mov r8d, eax
lea rcx, [rsp + 0x28]
mov rdx, rbp
call fcn.1800aeca0
mov r15d, dword [rsp + 0x3c]
mov rcx, r14
lea eax, [r15 + rdi]
cmp r12d, eax
jge 0x1800af672
jmp 0x1800af731
mov r15d, esi
mov r13d, dword [rsp + 0x88]
movss xmm0, dword [rsp + 0x38]
subss xmm0, dword [rsp + 0x34]
mov r14d, dword [rsp + 0x90]
mov dword [rbx + 0x10], r15d
mov r15, qword [rsp + 0x80]
mov dword [rbx + 0xc], edi
movss dword [rbx + 8], xmm0
movss xmm0, dword [rsp + 0x28]
movss dword [rbx], xmm0
mov dword [rbx + 0x14], r13d
cmp edi, r14d
jge 0x1800af79f
nop dword [rax]
nop dword [rax + rax]
mov r8d, esi
mov edx, edi
mov rcx, rbp
call fcn.1800aec00
addss xmm0, dword [rbx]
inc esi
lea eax, [rdi + rsi]
movss dword [rbx], xmm0
cmp eax, r14d
jl 0x1800af780
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800c1080
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov r10d, 0xffffffff
movaps xmmword [rsp + 0x30], xmm6
mov ecx, r10d
lea r8, [0x1800e81e1]
movaps xmm6, xmm3
lea rbx, [0x1800dd050]
mov r11, rdx
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x1800c10c3
cmp byte [r8], r9b
jne 0x1800c10c3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800c10b0
not ecx
call fcn.180024ea0
xor edi, edi
test rax, rax
je 0x1800c10fa
cmp word [rax + 0xd8], di
jne 0x1800c11cc
test r11, r11
jne 0x1800c1132
mov rbx, qword [0x180119638]
cmp dword [rbx + 0x4b90], edi
jg 0x1800c1128
mov r8d, 0x81c
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4b98]
mov r11, qword [rax]
movss xmm1, dword [r11 + 0xc0]
movss xmm0, dword [r11 + 0x10]
movaps xmm3, xmm1
addss xmm3, dword [r11 + 8]
movss xmm2, dword [r11 + 0xc4]
subss xmm0, xmm1
addss xmm2, dword [r11 + 0xc]
mov rax, qword [0x180119638]
xorps xmm1, xmm1
addss xmm0, dword [r11 + 0xc8]
or dword [rax + 0x4a88], 3
mov qword [rax + 0x4aa0], rdi
mov dword [rax + 0x4a8c], 1
maxss xmm1, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movsd qword [rax + 0x4a98], xmm0
mov dword [rax + 0x4a90], 1
addss xmm1, xmm3
subss xmm1, xmm3
movaps xmm0, xmm1
unpcklps xmm0, xmm6
movsd qword [rax + 0x4aa8], xmm0
addss xmm6, dword [r11 + 0xc4]
movss dword [r11 + 0xc4], xmm6
mov rbx, qword [0x180119638]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 3
movss xmm0, dword [rbx + 0x3910]
lea rcx, [rbx + 0x4b10]
movss dword [rsp + 0x24], xmm0
call fcn.180047220
mov dword [rbx + 0x3910], edi
lea rdx, [rsp + 0x20]
mov rbx, qword [0x180119638]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x3918]
lea rcx, [rbx + 0x4b10]
movss xmm0, dword [rbx + 0x391c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.180047220
xor edx, edx
mov qword [rbx + 0x3918], rdi
mov r8d, 0x50f
lea rcx, str.MainMenuBar
call fcn.1800282d0
mov ecx, 2
movzx ebx, al
call fcn.18001d5f0
movaps xmm6, xmmword [rsp + 0x30]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1800c3f00
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x1800c3f7d
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800c3f56
lea r11, [0x1800dd050]
cmp r9b, 0x23
jne 0x1800c3f39
cmp byte [r8], r9b
jne 0x1800c3f39
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 0x1800c3f26
mov rcx, qword [0x180119638]
not eax
cmp dword [rcx + 0x40e4], eax
jne 0x1800c3f6d
mov dword [rcx + 0x40e8], eax
cmp dword [rcx + 0x4114], eax
jne 0x1800c3f90
mov byte [rcx + 0x4118], 1
ret
mov rax, qword [0x180119638]
mov rcx, qword [rax + 0x4078]
jmp fcn.18002cc20
ret
Function at 0x1800ceb50
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.1800ceda0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800cec6a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800cebb4
mov rax, qword [0x180114008]
cmp qword [rsp + 0x20], rax
ja 0x1800cebb4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800ceb76
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 0x1800cebe5
jmp 0x1800cec6a
cmp dword [rsp + 0x50], 0x10000
jne 0x1800cec4d
cmp qword [rsp + 0x48], 0x10000
jb 0x1800cec4d
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 0x1800cec2b
mov rax, qword [rsp + 0x28]
jmp 0x1800cec6c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800cec3b
xor eax, eax
jmp 0x1800cec6c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800cec65
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800ceda0
mov qword [rsp + 0x20], rax
jmp 0x1800ceb76
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800cec80
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.1800cede0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800ced96
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800cecdb
mov rax, qword [0x180114008]
cmp qword [rsp + 0x20], rax
ja 0x1800cecdb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800cec9d
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 0x1800ced0c
jmp 0x1800ced96
cmp dword [rsp + 0x50], 0x10000
jne 0x1800ced74
cmp qword [rsp + 0x48], 0x10000
jb 0x1800ced74
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 0x1800ced52
mov rax, qword [rsp + 0x28]
jmp 0x1800ced98
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1800ced62
xor eax, eax
jmp 0x1800ced98
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800ced91
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800cede0
mov qword [rsp + 0x20], rax
jmp 0x1800cec9d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800cee30
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.1800cf3c0
mov qword [rsp + 0x28], 0
cmp qword [0x180118bd8], 0
jne 0x1800cee78
cmp qword [0x180118bd0], 0
je 0x1800cee78
mov rax, qword [0x180118bd0]
mov qword [0x180118bd8], rax
cmp qword [0x180118bd8], 0
je 0x1800cef1e
mov rax, qword [0x180118bd8]
cmp qword [rax + 0x10], 0
je 0x1800cef1e
mov rax, qword [0x180118bd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800cef1e
mov rax, qword [0x180118bd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800cef1e
mov rax, qword [0x180118bd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800ceee4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800ceeeb
xor eax, eax
jmp 0x1800cf095
mov rax, qword [0x180118bd8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, Ordinal_101
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800cf095
mov rax, qword [0x180118bd0]
mov qword [0x180118bd8], rax
jmp 0x1800cef40
mov rax, qword [0x180118bd8]
mov rax, qword [rax + 8]
mov qword [0x180118bd8], rax
cmp qword [0x180118bd8], 0
je 0x1800cef8d
cmp qword [0x180118bd8], 0
je 0x1800cef8b
mov rax, qword [0x180118bd8]
cmp qword [rax + 0x10], 0
je 0x1800cef8b
mov rax, qword [0x180118bd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800cef8b
mov rax, qword [0x180118bd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800cef8b
jmp 0x1800ceebc
jmp 0x1800cef2e
mov rax, qword [rsp + 0x60]
and rax, 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.1800cf0a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800cf093
mov rax, qword [rsp + 0x48]
mov qword [0x180118bd8], rax
mov rax, qword [0x180118bd8]
mov dword [rax], 0x52727464
mov rax, qword [0x180118bd8]
mov qword [rax + 0x10], 0
mov rax, qword [0x180118bd8]
mov rcx, qword [0x180118bd0]
mov qword [rax + 8], rcx
mov rax, qword [0x180118bd8]
mov qword [0x180118bd0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180118bd8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800cf044
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800cf07e
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 0x1800cf03a
mov rax, qword [0x180118bd8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800ceebc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800cfdb0
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 0x1800cfdf7
xor al, al
jmp 0x1800cfe99
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 0x1800cfe21
xor al, al
jmp 0x1800cfe99
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 0x1800cfe91
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 0x1800cfe91
mov al, 1
jmp 0x1800cfe99
jmp 0x1800cfe97
xor al, al
add rsp, 0x78
ret

Function at 0x1800d01a0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180118bd0]
mov qword [rsp + 0x28], rax
jmp 0x1800d01c0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800d01ef
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800d01ed
call sub.KERNEL32.dll_GetLastError
jmp 0x1800d01f1
jmp 0x1800d01b2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800d08b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180118be8], eax
je 0x1800d08cb
mov eax, 0x10dd
jmp 0x1800d09f0
mov rax, qword [0x180118c00]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800d0975
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 0x1800d0940
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800d0940
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800cf500
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.1800d2484
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800d08d7
mov qword [0x180118c00], 0
call fcn.1800cff60
mov rax, qword [0x180118bf8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800d09d9
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.1800d2484
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800d0991
mov qword [0x180118bf8], 0
mov dword [0x180118be8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800d0f20
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x180118bec], 0
je 0x1800d0f3d
mov eax, dword [0x180118bec]
jmp 0x1800d1003
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800d0f50
xor eax, eax
jmp 0x1800d1003
mov ecx, 0x10
call fcn.1800d2440
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800d0fbe
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800d0fa3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.1800d2484
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180118bec], eax
mov qword [0x180118bf0], 0
mov eax, dword [rsp + 0x20]
jmp 0x1800d1003
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800d0fd8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800d0f79
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180118bf8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180118bf8], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1800d3630
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 0x1800d36b4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800d6b00]
cmp byte [rcx + rax], 0
je 0x1800d36b4
dec r8
sub rdx, 1
jne 0x1800d369a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret