joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180088cd0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1800f5040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1800f6738]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180088eee
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180088eee
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1800f6738]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x180088da4
movsx rdx, word [r8 + 0x60f0]
lea rax, [r8 + 0x60f4]
mov r9d, dword [r8 + 0x3f58]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x180088d99
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 + 0x60f0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60f4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e8]
test rdi, rdi
je 0x180088dc1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x180088dc4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x180088e07
mov rsi, qword [r8 + 0x90]
jmp 0x180088e0a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x180088e35
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1800f6738]
mov rcx, qword [rax + 0x4b10]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x180088eae
inc rbx
cmp rbx, 5
jl 0x180088e90
jmp 0x180088eda
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x180088ef0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800a0e00
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x18009c410
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
cmp dword [0x1800f6a4c], 0
mov r9, r8
je 0x18009c5c6
mov rax, qword [0x1800f78c8]
lea r8, [0x1800f6768]
mov qword [rsp + 0x58], rdi
mov rdx, r9
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov rdi, qword [rax + 0x40]
mov rcx, rdi
mov qword [rsp + 0x30], r14
call fcn.18009f570
test eax, eax
jne 0x18009c5bc
xor r14d, r14d
mov esi, 1
mov ebx, r14d
lock cmpxchg dword [0x1800f67c0], esi
je 0x18009c493
cmp rbx, 0x20
jae 0x18009c47c
xor ecx, ecx
jmp 0x18009c47e
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800f67c0], esi
jne 0x18009c472
cmp qword [0x1800f67c8], r14
je 0x18009c5b5
mov qword [rsp + 0x48], rbp
test rdi, rdi
jne 0x18009c4b5
mov ecx, esi
call fcn.18009f46c
mov ebp, eax
jmp 0x18009c4e4
mov ecx, dword [0x1800fc5cc]
mov ebx, r14d
test ecx, ecx
je 0x18009c4df
mov r8, qword [0x1800fc5c0]
mov rax, r8
nop dword [rax]
cmp rdi, qword [rax]
je 0x18009c50d
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18009c4d0
mov ebp, 4
xchg dword [0x1800f67c0], r14d
neg ebp
mov rbp, qword [rsp + 0x48]
sbb eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
cmp ebx, 0xffffffff
je 0x18009c4df
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x18009c5ab
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18009efb0
mov ebp, eax
test eax, eax
jne 0x18009c4e4
mov edx, esi
mov ecx, ebx
call fcn.18009f35c
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x18009c4e4
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18009c592
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18009c588
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18009c560
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800f67c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18009c4e4
mov ebp, 5
jmp 0x18009c4e4
xchg dword [0x1800f67c0], r14d
mov eax, 0xffffffff
jmp 0x18009c4f4
mov eax, 0xfffffffb
add rsp, 0x38
ret

Function at 0x18009e060
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18009e0b3
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
mov qword [0x1800f6780], rbx
mov qword [rsp + 0x28], rax
lea r8, [0x18009d290]
mov r9, rbx
mov dword [rsp + 0x20], eax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18009e0bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
test edx, edx
jne 0x18009e0bc
call fcn.18009c370
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18009ea10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800f5040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, 0x28
call fcn.1800a0e20
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rcx, rax
call fcn.180043150
lea rax, [0x18009e290]
mov qword [rdi + 0x20], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x18009ee90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18009eaf4
cmp dword [rsp + 0x38], 0
jne 0x18009ea9c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x18009eab4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x18009eadc
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a0e00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x18009eb10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800f5040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, 0x28
call fcn.1800a0e20
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rcx, rax
call fcn.180043150
lea rax, [0x18009e470]
mov qword [rdi + 0x20], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x18009ee90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18009ebf4
cmp dword [rsp + 0x38], 0
jne 0x18009eb9c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x18009ebb4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x18009ebdc
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a0e00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18009ec10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800f5040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, 0x28
call fcn.1800a0e20
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rcx, rax
call fcn.180043150
lea rax, [0x18009e650]
mov qword [rdi + 0x20], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x18009ee90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18009ecf4
cmp dword [rsp + 0x38], 0
jne 0x18009ec9c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x18009ecb4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x18009ecdc
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a0e00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x18009ed10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800f5040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov ecx, 0x28
call fcn.1800a0e20
mov rdi, rax
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rcx, rax
call fcn.180043150
lea rax, [0x18009e830]
mov qword [rdi + 0x20], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x18009ee90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18009edf4
cmp dword [rsp + 0x38], 0
jne 0x18009ed9c
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x38], eax
jne 0x18009edb4
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x18009eddc
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a0e00
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18009f2e8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18009f34c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18009f33a
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18009f333
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18009f307
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800f67c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18009f35c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800fc5c0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18009f392
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18009f3c8
mov eax, 0xa
jmp 0x18009f457
test esi, esi
je 0x18009f3ea
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18009f40b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18009f40b
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18009f405
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18009f40b
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x18009f894
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18009f8ab
cmp r8b, 0x90
je 0x18009f8ab
cmp r8b, 0xcc
jne 0x18009f8cd
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18009f8c9
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18009f8cd
add edx, r10d
cmp edx, r9d
jb 0x18009f8b9
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18009fc34
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18009fc7e
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1800fc5b0]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x18009fcb7
cmp rbx, r14
jb 0x18009fcb4
cmp rbx, r12
jae 0x18009fcb4
cmp qword [rbx + 8], rsi
jne 0x18009fe19
mov rbx, qword [rbx]
test rbx, rbx
jne 0x18009fca0
mov r15, rdi
cmp rdi, r14
jb 0x18009fdd3
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x18009fd03
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18009fd3d
cmp dword [rbp - 0x10], 0x10000
je 0x18009fd0d
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x18009fd3d
sub r15, r13
cmp r15, r14
jae 0x18009fcd9
jmp 0x18009fd3d
test r15, r15
je 0x18009fd3d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18009fdde
cmp r15, r14
jae 0x18009fcc8
test rbx, rbx
jmp 0x18009fdd1
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18009fe19
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18009fe19
cmp dword [rbp - 0x10], 0x10000
je 0x18009fdac
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x18009fd69
jmp 0x18009fe19
test rdi, rdi
je 0x18009fe19
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18009fdde
cmp rdi, r12
jbe 0x18009fd45
jmp 0x18009fe19
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18009fdea
mov rax, qword [0x1800fc5b0]
mov qword [rbx], rax
mov qword [0x1800fc5b0], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800a0564
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 0x1800a059e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800a05a3
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 0x1800a05ec
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800b40a0]
cmp byte [rcx + rax], 0
je 0x1800a05ec
dec r8
sub rdx, 1
jne 0x1800a05d2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180020550
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov dword [rcx + 0x50], 0x67452301
mov qword [rcx], rax
mov rdi, rdx
mov qword [rcx + 8], rax
mov rbx, rcx
mov dword [rcx + 0x54], 0xefcdab89
mov rdx, r8
mov dword [rcx + 0x58], 0x98badcfe
mov dword [rcx + 0x5c], 0x10325476
cmp qword [r8 + 0x18], 0x10
jb 0x180020592
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.180021580
mov rdx, rdi
mov rcx, rbx
call fcn.18002b3c0
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x180eb73a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180eb73b2
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x180eb73db
pop rbp
sub rbp, 0x33
sub rbp, 0xeb73a8
cmp edx, 1
je 0x180eb741e
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x180eb742e
mov rax, 0xeb73a8
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0xffffffffd8ac3d9b
xor byte [rax], dl
inc rax
dec rcx
jne 0x180eb744d
jmp 0x180eb7464
rcl dword [rdx], cl
jb 0x180eb7478
adc ah, byte [rdi - 0x2c646465]
sbb bl, byte [rdx - 0x6d]
invalid
pop rsp
pop rbx
pushfq
wait
wait
wait
rcr dword [rcx + rbx*2 - 0x4d], cl
wait
wait
wait
shr dword [rcx + rdi*2 - 0x2d], cl
invalid
Function at 0x140002100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.140001c00
movzx eax, al
test eax, eax
jne 0x1400022d0
lea rax, [rsp + 0x80]
lea rcx, str.BqJ_mUOJJ__
mov rdi, rax
mov rsi, rcx
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, 1
imul rax, rax, 0x13
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140002198
mov dword [rsp + 0x28], 1
jmp 0x1400021a0
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
movzx eax, al
test eax, eax
je 0x14000220a
mov dword [rsp + 0x24], 0
jmp 0x1400021c9
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x14
jge 0x14000220a
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cdq
mov ecx, 0x32
idiv ecx
mov eax, edx
add eax, 0x35
mov ecx, dword [rsp + 0x38]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x30]
mov byte [rdx + rcx], al
jmp 0x1400021bf
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [0x140009078]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov r9d, 0x8000
xor r8d, r8d
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x68]
test eax, eax
jge 0x14000226e
xor al, al
jmp 0x1400022d2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov r9d, 0x8000
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x70]
test eax, eax
jge 0x14000229d
xor al, al
jmp 0x1400022d2
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov r9d, 0x8000
xor r8d, r8d
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x78]
test eax, eax
jge 0x1400022cc
xor al, al
jmp 0x1400022d2
xor al, al
jmp 0x1400022d2
mov al, 1
add rsp, 0xa8
pop rdi
pop rsi
ret
Function at 0x1400022e0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [0x140004358]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x140009078], rax
test rax, rax
je 0x140002453
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x140009070], rax
test rax, rax
je 0x140002453
mov rcx, qword [0x140009078]
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140009078]
lea rdx, str.NtClose
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140009078]
lea rdx, str.NtDelayExecution
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rdi, rdi
je 0x140002453
test rbx, rbx
je 0x140002453
mov rcx, qword gs:[0x40]
lea r9, [rsp + 0x58]
xor esi, esi
mov eax, ecx
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], 0x30
mov edx, 0x1fffff
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x78], rsi
movdqu xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x60], rsi
call rdi
test eax, eax
jns 0x1400023f4
mov eax, 0xfffffffe
jmp 0x140002458
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140006080]
mov qword [rsp + 0x40], rsi
mov r9b, 1
mov dword [rsp + 0x38], 1
mov r8d, 0x2a00
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
call section..text
mov rcx, qword [rsp + 0x50]
test al, al
jne 0x14000243c
call rbx
mov eax, 0xfffffff8
jmp 0x140002458
call rbx
test eax, eax
js 0x140002453
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
jmp 0x140002458
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140002490
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140002d58
Capabilities:
Parse pe header

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