joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180069750
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x180069790
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180149880]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800697ce
cmp rsi, r14
jb 0x1800697c6
cmp rsi, r15
jae 0x1800697c6
cmp qword [rsi + 8], 0
jne 0x180069997
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800697b1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180069862
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180069859
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180069859
cmp dword [rsp + 0x70], 0x10000
je 0x1800698db
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180069859
sub rbx, rbp
cmp rbx, r14
jae 0x180069820
test rsi, rsi
jne 0x180069940
cmp rdi, r15
ja 0x18006997f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18006997f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18006997f
cmp dword [rsp + 0x70], 0x10000
je 0x180069911
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180069892
jmp 0x18006997f
test rbx, rbx
je 0x180069859
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180069940
cmp rbx, r14
jae 0x180069800
jmp 0x180069862
test rdi, rdi
je 0x18006997f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180069940
cmp rdi, r15
jbe 0x180069870
jmp 0x18006997f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180069950
mov rax, qword [0x180149880]
mov qword [rsi], rax
mov qword [0x180149880], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18006a3a0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18006a4ef
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18006a4e6
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x18006a49c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18006a49c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18006a49c
mov rdx, qword [rdi]
test rdx, rdx
jne 0x18006a45d
mov rcx, qword [0x180148870]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x18006a4c5
lea rbx, [rdi + 0xc]
jmp 0x18006a491
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x18006a491
mov rcx, qword [0x180148870]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18006a4c5
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18006a403
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x18006a4e1
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x18006a4e1
mov rcx, qword [0x180148870]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ac180
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x18006a510
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.18006a3a0
test eax, eax
jne 0x18006a557
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x18006a5ce
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x18006a5b6
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006a5aa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.18006a1f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x18006a570
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18006a5f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180149870]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18006a654
mov eax, 0xa
jmp 0x18006a6e7
test esi, esi
je 0x18006a676
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18006a699
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18006a699
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18006a692
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18006a699
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18006a700
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x18014987c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x18006a747
mov rax, qword [0x180149870]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18006a754
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x18006a730
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x18006a747
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.18006a510
mov edi, eax
test eax, eax
jne 0x18006a83d
mov r9d, dword [0x18014987c]
cmp ebx, r9d
jae 0x18006a7cc
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x180149870]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x18006a7c5
mov edx, esi
mov ecx, ebx
call fcn.18006a5f0
mov edi, eax
test eax, eax
jne 0x18006a7cc
mov r9d, dword [0x18014987c]
inc ebx
cmp ebx, r9d
jb 0x18006a790
cmp qword [rsp + 0x20], 0
je 0x18006a83b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18006a827
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006a818
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18006a7f0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180148870]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x18006abe0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x180148664], ebp
je 0x18006ac37
cmp rbx, 0x20
jae 0x18006ac20
xor ecx, ecx
jmp 0x18006ac22
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180148664], ebp
jne 0x18006ac16
cmp qword [0x180148870], r15
je 0x18006ad31
test rdi, rdi
jne 0x18006ac57
mov ecx, esi
call fcn.18006a700
mov edi, eax
jmp 0x18006ad36
mov ecx, dword [0x18014987c]
mov ebx, r15d
test ecx, ecx
je 0x18006ac7f
mov rdx, qword [0x180149870]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x18006ac89
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18006ac70
mov edi, 4
jmp 0x18006ad36
cmp ebx, 0xffffffff
je 0x18006ac7f
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18006ad28
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18006a510
mov edi, eax
test eax, eax
jne 0x18006ad36
mov edx, esi
mov ecx, ebx
call fcn.18006a5f0
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x18006ad36
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18006ad12
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006ad08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18006ace0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180148870]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18006ad36
neg esi
sbb edi, edi
add edi, 6
jmp 0x18006ad36
mov edi, 2
xchg dword [0x180148664], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x180095470
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ecx, dword [0x180146108]
cmp dword [0x180148698], ecx
cmovg ecx, dword [0x180148698]
test ecx, ecx
js 0x1800954bb
lea r9, str.GetProcessWindow_calledK...
mov r8d, 0x5f
lea rdx, str.C:UsersTOTOMAN2_source_reposNewColussus_Qols_ModImGuiutilsutils.cpp
xor ecx, ecx
call fcn.1800a9a60
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
lea rcx, [0x1800953f0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x180095548
mov qword [rsp + 0x38], 0xc8
nop dword [rax]
lea rdx, [rsp + 0x30]
lea rcx, [0x1800953f0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x180146108]
cmp dword [0x180148698], ecx
cmovg ecx, dword [0x180148698]
test ecx, ecx
js 0x180095534
lea r9, str.____Waiting_for_window_to_appear._n
mov r8d, 0x65
lea rdx, str.C:UsersTOTOMAN2_source_reposNewColussus_Qols_ModImGuiutilsutils.cpp
xor ecx, ecx
call fcn.1800a9a60
lea rcx, [rsp + 0x38]
call fcn.18006d160
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800954f0
mov r8d, 0x80
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x180146108]
cmp dword [0x180148698], ecx
cmovg ecx, dword [0x180148698]
test ecx, ecx
js 0x180095595
lea rax, [rsp + 0x40]
mov r8d, 0x6b
lea r9, str.Got_window_with_name:__s_n
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersTOTOMAN2_source_reposNewColussus_Qols_ModImGuiutilsutils.cpp
xor ecx, ecx
call fcn.1800a9a60
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800ac180
add rsp, 0xd8
ret
Function at 0x1800a4f00
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800a4f51
mov qword [0x180148988], rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov r9, qword [0x180148988]
lea r8, [0x1800a3d60]
xor eax, eax
mov dword [0x180148e08], 6
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800a4f51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800ab450
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x18011e040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rdx
mov rsi, rcx
mov ecx, 0x104
call fcn.1800ac964
mov rdi, rax
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x1800ab4c0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.180002d10
nop
mov ecx, 0x104
call fcn.1800ac964
mov r14, rax
mov qword [rsp + 0x48], rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1800ab4f4
mov rsi, qword [rsi]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, rsi
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ab511
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1800052a0
nop
mov rcx, r14
call fcn.1800ac554
test rbp, rbp
je 0x1800ab560
lea rax, [rsp + 0x20]
cmp rbp, rax
je 0x1800ab560
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, rbp
call fcn.1800052a0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800ab5ba
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ab5b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ab5b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ac554
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov rcx, rdi
call fcn.1800ac554
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800ac180
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1800ab9c4
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 0x1800ab9fe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800aba03
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 0x1800aba4c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800b4090]
cmp byte [rcx + rax], 0
je 0x1800aba4c
dec r8
sub rdx, 1
jne 0x1800aba32
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14000342c
Capabilities:
Read file on windows

Disassembly:
push rdi
push rsi
sub rsp, 0x38
mov rsi, rcx
mov rcx, rdx
mov edx, 1
mov r9, rsi
mov rdi, r8
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rdi, rax
je 0x14000345f
mov rcx, rsi
mov qword [rsp + 0x28], rax
call fcn.1400031c3
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rsi
pop rdi
ret

Function at 0x140003c15
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, rdx
mov edx, 1
mov r9, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.1400031c3
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rbx
ret

Function at 0x1400044cd
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x1400044ec
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14003c158

Function at 0x1400075df
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14003c158

Function at 0x140007aa1
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
cmp qword [0x14004d450], 0
mov rbx, rcx
mov rdi, rdx
jne 0x140007ad0
mov rdx, rdi
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.1400075df
lea r12, [rsp + 0x20]
xor eax, eax
mov rdx, rcx
mov qword [rsp + 0x30], rax
lea rsi, [rsp + 0x30]
mov rcx, r12
call fcn.140007572
mov rbp, qword [rsp + 0x28]
mov rcx, r12
call qword [0x14004d450]
jmp 0x140007afe
test rbp, rbp
jne 0x140007b07
xor ebp, ebp
jmp 0x140007b58
test byte [rbp + 7], 0x40
jne 0x140007b03
mov rcx, rbp
call fcn.14000554a
jmp 0x140007b03
mov rcx, rsi
call fcn.14003c3d0
test bpl, bpl
jne 0x140007abb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140008c75
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea r12, [0x14004d420]
xor ebx, ebx
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rbp, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rbp
mov ecx, 1
jl 0x140008cf0
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x14003e363]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rdi
mov rcx, rax
call fcn.14003c158
mov rcx, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rdi
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
inc rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140008b66
jmp 0x140008ca5
Function at 0x140010b20
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor edi, edi
xor r12d, r12d
mov rsi, rdx
mov rax, rdx
mov r14, rcx
cqo
mov ecx, 4
mov rbx, rsi
idiv rcx
lea rbp, [rsi - 1]
sub rbx, rdx
cmp rdi, rbx
jl 0x140010b6f
mov rax, rsi
mov ecx, 4
xor ebx, ebx
lea r15, [rsi - 1]
cqo
idiv rcx
mov rbp, rdx
jmp 0x140010bd1
test rdi, rdi
js 0x140010b79
cmp rdi, rsi
jl 0x140010b84
mov rdx, rbp
mov rcx, rdi
call fcn.140006c7e
mov eax, dword [r14 + rdi]
add rdi, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea eax, [rax + rax*4]
lea r12d, [rax - 0x19ab949c]
jmp 0x140010b52
dec rbp
mov r13, rdi
add r13, rbp
jno 0x140010bbd
call fcn.140005648
cmp rsi, r13
jle 0x140010bd8
test r13, r13
js 0x140010bd8
movzx eax, byte [r14 + r13]
shl ebx, 8
or ebx, eax
test rbp, rbp
jg 0x140010bad
jmp 0x140010be5
mov rdx, r15
mov rcx, r13
call fcn.140006c7e
jmp 0x140010bc7
imul eax, ebx, 0xcc9e2d51
xor r12d, esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
mov edx, eax
shr edx, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov rsi, qword [rcx + 8]
test rbx, rbx
mov rdi, rsi
jns 0x140010c50
lea rdx, [rbx - 1]
mov r8, rbx
xor ecx, ecx
call fcn.140008620
test rsi, rsi
je 0x140010c59
lea rdi, [rsi + 8]
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x140010b20
Function at 0x140010c2c
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor edi, edi
xor r12d, r12d
mov rsi, rdx
mov rax, rdx
mov r14, rcx
cqo
mov ecx, 4
mov rbx, rsi
idiv rcx
lea rbp, [rsi - 1]
sub rbx, rdx
cmp rdi, rbx
jl 0x140010b6f
mov rax, rsi
mov ecx, 4
xor ebx, ebx
lea r15, [rsi - 1]
cqo
idiv rcx
mov rbp, rdx
jmp 0x140010bd1
test rdi, rdi
js 0x140010b79
cmp rdi, rsi
jl 0x140010b84
mov rdx, rbp
mov rcx, rdi
call fcn.140006c7e
mov eax, dword [r14 + rdi]
add rdi, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
rol eax, 0xd
lea eax, [rax + rax*4]
lea r12d, [rax - 0x19ab949c]
jmp 0x140010b52
dec rbp
mov r13, rdi
add r13, rbp
jno 0x140010bbd
call fcn.140005648
cmp rsi, r13
jle 0x140010bd8
test r13, r13
js 0x140010bd8
movzx eax, byte [r14 + r13]
shl ebx, 8
or ebx, eax
test rbp, rbp
jg 0x140010bad
jmp 0x140010be5
mov rdx, r15
mov rcx, r13
call fcn.140006c7e
jmp 0x140010bc7
imul eax, ebx, 0xcc9e2d51
xor r12d, esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r12d
mov edx, eax
shr edx, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov edx, eax
shr edx, 0xd
xor edx, eax
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
mov rsi, qword [rcx + 8]
test rbx, rbx
mov rdi, rsi
jns 0x140010c50
lea rdx, [rbx - 1]
mov r8, rbx
xor ecx, ecx
call fcn.140008620
test rsi, rsi
je 0x140010c59
lea rdi, [rsi + 8]
mov rdx, rbx
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x140010b20

Function at 0x140010efd
Capabilities:
Link many functions at runtime

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov r12, qword [rdx]
mov rbp, qword [rdx + 8]
mov rdi, qword [r8]
mov rsi, qword [r8 + 8]
test rcx, rcx
je 0x140010f43
lea rdx, [0x14003f220]
test r12, r12
je 0x140010f2a
lea rdx, [rbp + 8]
mov qword [rsp + 0x28], rcx
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
jne 0x140010fb3
test rdi, rdi
mov rcx, qword [rsp + 0x28]
jg 0x140010f5b
cmp qword [0x14004d7d8], 0
jne 0x140010f6b
call fcn.14000df38
mov qword [0x14004d7d8], rax
jmp 0x140010f6b
lea rdx, [rsi + 8]
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x140010f43
jmp 0x140010fb3
mov rbx, qword [0x14004d7d8]
test rbx, rbx
jne 0x140010f7b
xor eax, eax
jmp 0x140010fb3
lea rdx, [0x14003f220]
test r12, r12
je 0x140010f8b
lea rdx, [rbp + 8]
mov rcx, rbx
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
jne 0x140010fb3
test rdi, rdi
jle 0x140010f77
lea rdx, [rsi + 8]
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.KERNEL32.dll_GetProcAddress
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret