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

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400f9120]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14009dc5e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14009dc5e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.1400770e0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x14009db2a
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x14009db2d
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 rax, qword [0x1400f9120]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x14009db77
mov rsi, qword [rax + 0x90]
jmp 0x14009db7a
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 0x14009dba5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400f9120]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, [0x1400de928]
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 0x14009dc1e
inc rbx
cmp rbx, 5
jl 0x14009dc00
jmp 0x14009dc4a
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 0x14009dc60
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c4620
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14009fb50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f9120]
mov rcx, qword [rax + 0x4da8]
mov r9, qword [rax + 0x4008]
movups xmm0, xmmword [r9 + 0x248]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp fcn.1400977b0

Function at 0x14009fc30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1400f9120]
mov rcx, qword [rax + 0x4da8]
mov r10, qword [rax + 0x4008]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2a8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x248], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2a8]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.1400977b0
Function at 0x1400bbb20
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bbbcc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1400bbb5a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x1400bbde0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400bbb9a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1400c4640
mov rcx, rbx
test rbx, rbx
jne 0x1400bbb80
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140005cf0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400bbee4
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400c4640
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x1400bbef0
cmp rbx, rbp
jne 0x1400bbe90
cmp qword [rsp + 0x20], r14
jne 0x1400bbebd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x1400bbeff
mov qword [r15], r12
mov rax, r12
jmp 0x1400bbf02
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1400bbebd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400c4640
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400bbf96
cmp rbx, rbp
jne 0x1400bbf70
jmp 0x1400bbeba
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1400bbf10
jmp 0x1400bbebd
Function at 0x1400bbc30
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x1400bbc65
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400052b0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x1400bbda6
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rbx
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rbx
xor r9, rdx
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x1400bbd20
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400bbd95
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400bbd5d
mov r10, qword [rdx]
cmp r10, rax
je 0x1400bbd57
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400bbd95
cmp r9, rdx
je 0x1400bbd71
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400bbdb7
cmp r9, rdx
jne 0x1400bbd62
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x1400bbcd0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400bbd95
Function at 0x1400bbde0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bbbcc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1400bbb5a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x1400bbde0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400bbb9a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1400c4640
mov rcx, rbx
test rbx, rbx
jne 0x1400bbb80
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140005cf0
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400bbee4
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400c4640
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x1400bbef0
cmp rbx, rbp
jne 0x1400bbe90
cmp qword [rsp + 0x20], r14
jne 0x1400bbebd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x1400bbeff
mov qword [r15], r12
mov rax, r12
jmp 0x1400bbf02
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1400bbebd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400c4640
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400bbf96
cmp rbx, rbp
jne 0x1400bbf70
jmp 0x1400bbeba
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1400bbf10
jmp 0x1400bbebd
Function at 0x1400c3944
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 0x1400c397e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c3983
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 0x1400c39cc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400cae60]
cmp byte [rcx + rax], 0
je 0x1400c39cc
dec r8
sub rdx, 1
jne 0x1400c39b2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400c3a5c
mov ebx, eax
test eax, eax
jne 0x1400c41c0
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400c4223
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400c421a
test al, 0x10
je 0x1400c421a
bt eax, 0xa
jae 0x1400c4213
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400c4234
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400c420f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400c420f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400c421a
and dword [rsp + 0x3c], 0
jmp 0x1400c421f
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c53d4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebx, dword [rsp + 0xa0]
lea edi, [r8 - 0x10e9]
lea r15d, [r8 - 0x20f]
mov dword [rsp + 0x80], edi
xor ebx, 0x2cd
mov ebp, edi
lea eax, [r15 + 0x49d]
mov r14, rdx
lea esi, [rcx - 0x137]
lea r12d, [r9 + 0x114]
mov dword [rsp + 0x98], r12d
lea r13d, [r8 + 0x318]
cmp esi, eax
jge 0x180001c7d
mov eax, edi
xor eax, 0x10a0
cmp ebx, eax
jle 0x180001bb7
mov eax, r12d
xor eax, 0x28f
cmp ebx, eax
jle 0x180001c7d
lea eax, [rdi + 0xf8f]
mov r9, r14
lea r8d, [r12 - 0x2a4]
mov dword [rsp + 0x20], eax
lea edx, [r13 - 0x468]
sub ebx, 0x34d
lea ecx, [rdi + 0x1034]
call fcn.18000e450
lea r8d, [r15 + 0x162]
mov edx, edi
lea r9d, [r12 + 0x1c]
xor edx, 0x123a
lea ecx, [rax + 0x204]
lea eax, [r15 + 0x513]
mov dword [rsp + 0x30], eax
lea rax, [0x18002f010]
mov dword [rsp + 0x28], r8d
mov r8d, esi
mov qword [rsp + 0x20], rax
call fcn.1800119e0
mov ebp, eax
jmp 0x180001c7d
mov eax, dword [0x18002f0c0]
mov ecx, dword [0x18002f048]
or eax, 0xf8f
cmp ecx, eax
je 0x180001c7d
mov r12d, esi
mov edi, ecx
nop word [rax + rax]
mov rax, qword [section..data]
mov edx, dword [r14 + 0xb4]
imul edx, dword [r14 + 0xc4]
mov r11d, dword [0x18002f0dc]
mov r8d, dword [rax + 0x84]
and r11, r12
mov r9d, dword [r14 + 0xec]
or r8d, 0x115e
imul r10d, ecx, 0x10e9
or r9, 0x115e
mov ecx, dword [0x18002f020]
xor r9, r12
mov eax, ebx
xor rcx, rbp
or rdx, rax
mov qword [rsp + 0x28], r11
mov eax, dword [r14 + 0x4c]
add r8d, ebp
or r10d, esi
or rcx, rax
mov dword [rsp + 0x20], r10d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x18002f0c0]
add edi, 4
or eax, 0xf8f
cmp edi, eax
je 0x180001c6e
mov ecx, dword [0x18002f048]
jmp 0x180001be0
mov edi, dword [rsp + 0x80]
mov r12d, dword [rsp + 0x98]
mov eax, r13d
xor eax, 0x6bc
cmp ebx, eax
je 0x180001cfd
mov eax, ebx
xor eax, 0x1ef4
cmp r15d, eax
jle 0x180001cfd
mov r9d, esi
mov edx, esi
xor ebx, 0x18d
xor r9d, 0x34b
xor edx, 0x1e68
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rcx, r14
call sym.gblsnb068wt0.dll_TpKE24DoH
mov rdx, qword [section..data]
lea r9d, [r13 - 0x361]
mov r12d, eax
lea r8d, [r13 - 0x527]
lea eax, [r15 + 0x360]
mov ecx, esi
xor ecx, 0x179
mov dword [rsp + 0x28], eax
xor r15d, 0x1f84
mov dword [rsp + 0x20], ecx
mov ecx, r15d
call fcn.180013340
mov r15d, eax
xor esi, 0x179
cmp ebp, esi
jl 0x180001d35
xor ebp, 0x1adb
lea edx, [r15 - 0x4eb]
xor r13d, 0x1a4a
xor edi, 0x1120
mov r9d, ebp
mov dword [rsp + 0x20], edi
mov r8d, r13d
mov rcx, r14
call fcn.18000fcd0
jmp 0x180001d63
mov eax, dword [r14 + 0x50]
xor eax, r12d
sub eax, 0x103d
cmp dword [0x18002f0d4], eax
jae 0x180001d63
mov rdx, qword [section..data]
mov ecx, edi
or ecx, 0x13d1
add ecx, edi
mov eax, dword [rdx + 0x4c]
imul eax, ecx
mov dword [rdx + 0x4c], eax
lea eax, [rbx - 0x194]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000f0e0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov eax, dword [rsp + 0x60]
lea r15d, [rdx - 0xf99]
mov rbx, r9
lea r12d, [rdx + 0x324]
mov r8d, edx
mov edi, ecx
xor r8d, 0xf99
lea esi, [rax - 0x1e7]
lea r14d, [rax + 0x44]
lea r9d, [rax - 0x10e9]
mov eax, dword [rbx + 0x64]
cmp dword [rbx + 0xf0], eax
jbe 0x18000f15e
mov rdx, qword [section..data]
mov eax, dword [0x18002f078]
add eax, 0xfff9c133
mov ecx, dword [rdx + 0x100]
add ecx, dword [rdx + 0xcc]
add ecx, eax
mov dword [0x18002f078], ecx
jmp 0x18000f16f
add dword [rbx + 0x108], 0xfffe3221
mov rdx, qword [section..data]
add edi, 0x360
mov eax, edi
xor eax, 0x87
cmp r9d, eax
je 0x18000f280
lea eax, [rsi + 0x243]
cmp r8d, eax
jge 0x18000f280
lea eax, [r15 + 0x1034]
cmp r14d, eax
jle 0x18000f228
mov eax, dword [rbx + 0xd8]
cmp dword [rbx + 0xcc], eax
jbe 0x18000f1c9
mov eax, dword [rdx + 0xb0]
sub eax, dword [rdx + 0x10]
add eax, dword [rbx + 0xb4]
xor dword [0x18002f074], eax
jmp 0x18000f1de
mov eax, dword [rdx + 0xb4]
sub eax, 0x734d
xor dword [rbx + 0x38], eax
mov rdx, qword [section..data]
mov r8d, dword [rbx + 0x78]
xor ecx, ecx
mov r9d, dword [0x18002f088]
add r8d, 0x9414a6d2
add r8d, dword [rdx + 0x38]
add r9d, 0x40
mov edx, dword [rdx + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [rbx + 0x100]
add rax, 0x5800
mov qword [rbx + 0xb8], rax
mov eax, dword [0x18002f014]
add eax, 0xfff6b5d9
add ecx, eax
mov dword [rbx + 0x7c], ecx
jmp 0x18000f280
mov eax, dword [rdx + 0x48]
xor eax, dword [rbx + 4]
xor eax, esi
mov qword [rsp + 0x40], rbp
mov ebp, esi
cmp esi, eax
jne 0x18000f27b
nop dword [rax + rax]
mov ecx, dword [rbx + 0xd4]
sub ecx, r12d
imul ecx, r15d
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov rdx, qword [section..data]
inc ebp
mov ecx, dword [rdx + 0x30]
add ecx, r14d
imul ecx, dword [rbx + 0x104]
add dword [0x18002f0dc], ecx
mov ecx, dword [rdx + 0x48]
xor ecx, dword [rbx + 4]
xor ecx, esi
cmp ebp, ecx
je 0x18000f240
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
xor edi, 0x2d3
mov rsi, qword [rsp + 0x50]
mov eax, edi
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180013340
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
mov edi, dword [rsp + 0x90]
lea eax, [r8 + 0x253]
mov esi, edi
add ecx, 0xffffeea2
mov r14d, r8d
mov dword [rsp + 0x70], ecx
mov r12d, r8d
xor esi, 0x1fd1
xor r12d, 0x1f9f
xor edi, 0x1f0e
xor r14d, 0x1f84
mov rbx, rdx
lea edx, [r8 - 0xeda]
cmp esi, eax
jg 0x18001350a
add eax, 0x190
cmp edi, eax
jg 0x180013405
mov eax, dword [0x18002f0c0]
sub eax, dword [rbx + 0xb4]
add eax, 0x40df9d47
mov dword [rbx + 0x70], eax
mov ecx, dword [rbx + 0x100]
xor ecx, dword [rbx + 0x18]
mov eax, dword [rbx + 0xc4]
add ecx, 0x608e3
imul eax, ecx
mov dword [rbx + 0xc4], eax
mov rcx, qword [section..data]
mov eax, dword [0x18002f0d4]
cmp dword [rcx + 0xb4], eax
jae 0x18001350a
mov eax, dword [rcx + 0x10]
sub eax, dword [0x18002f0c0]
xor eax, 0xfff52e67
mov dword [rbx + 0xc8], eax
jmp 0x18001350a
lea eax, [rcx + rsi]
mov qword [rsp + 0x30], r15
xor eax, dword [rbx + 0x40]
mov r15d, dword [0x18002f05c]
cmp r15d, eax
jne 0x180013505
mov qword [rsp + 0x78], rbp
mov eax, edi
imul r10d, edx, 0x13d1
xor eax, 0x12bd
mov qword [rsp + 0x38], r13
mov ebp, esi
imul ebp, esi
mov r13d, edx
and r13d, 0x1034
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x80], r10d
or ebp, 0x1120
nop dword [rax]
mov rax, qword [section..data]
lea rdx, [0x18002f010]
mov ecx, dword [rbx + 0x108]
mov r8d, dword [rbx + 0xb4]
add ecx, r13d
mov dword [rsp + 0x20], ecx
add r8d, r14d
mov r9d, dword [rax + 0x44]
mov ecx, r10d
sub r9d, 0xe54
and r9d, 0x103c
call fcn.18000f2b0
mov r9d, dword [rbx + 0x104]
mov r14d, eax
mov eax, dword [rbx + 0xdc]
mov edx, r14d
or r9d, dword [rsp + 0x90]
add eax, esi
mov rcx, qword [section..data]
or eax, 0x1377
imul edx, r12d
mov r8d, ebp
mov dword [rsp + 0x20], eax
xor edx, edi
call fcn.180002a60
mov ecx, dword [rsp + 0x70]
add r15d, 4
mov r10d, dword [rsp + 0x80]
add ecx, esi
xor ecx, dword [rbx + 0x40]
mov r12d, eax
cmp r15d, ecx
je 0x180013460
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x78]
mov r15, qword [rsp + 0x30]
mov eax, dword [rbx + 0x10]
mov rcx, qword [section..data]
add eax, 0x18648a
xor dword [rcx + 0x38], eax
lea eax, [rdi + 0x5a2]
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret