joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a010
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.14003c7e0
lea rcx, [rsp + 0xb8]
call fcn.14003c7e0
lea rcx, [rsp + 0x88]
call fcn.14003c7e0
call fcn.140045b10
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.14003c6d0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x14006a0b2
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.14003c870
lea rcx, [rsp + 0xb8]
call fcn.14003c870
lea rcx, [rsp + 0xe8]
call fcn.14003c870
mov eax, dword [rsp + 0x54]
jmp 0x14006a258
call fcn.140045b10
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.14003c6d0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14006a112
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.14003c870
lea rcx, [rsp + 0xb8]
call fcn.14003c870
lea rcx, [rsp + 0xe8]
call fcn.14003c870
mov eax, dword [rsp + 0x5c]
jmp 0x14006a258
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x14006a198
call fcn.140045b10
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.14003c6d0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x14006a186
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.14003c870
lea rcx, [rsp + 0xb8]
call fcn.14003c870
lea rcx, [rsp + 0xe8]
call fcn.14003c870
mov eax, dword [rsp + 0x64]
jmp 0x14006a258
lea rcx, [rsp + 0x88]
call fcn.14003cba0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.14003cba0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.14003cba0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.14003c870
lea rcx, [rsp + 0xb8]
call fcn.14003c870
lea rcx, [rsp + 0xe8]
call fcn.14003c870
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x14006c9c0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14003c7e0
lea rcx, [rsp + 0x48]
call fcn.14003c7e0
call fcn.140045b10
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14003c6d0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14006ca2f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14003c870
lea rcx, [rsp + 0x78]
call fcn.14003c870
mov eax, dword [rsp + 0x24]
jmp 0x14006cac0
call fcn.140045b10
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14003c6d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14006ca76
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14003c870
lea rcx, [rsp + 0x78]
call fcn.14003c870
mov eax, dword [rsp + 0x2c]
jmp 0x14006cac0
lea rcx, [rsp + 0x48]
call fcn.14003cba0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14003cba0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14003c870
lea rcx, [rsp + 0x78]
call fcn.14003c870
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x180002190
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
mov rsi, rdx
mov rcx, qword [0x1800360a8]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x1800360a8]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov rdx, rsi
movsxd rcx, dword [rax + 0x3c]
xor eax, eax
mov edi, dword [rcx + rdi + 0x50]
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
call fcn.180002070
mov rcx, qword [0x1800360a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r11, qword [rsp + 0x30]
mov r9d, ebx
mov r10, qword [rsp + 0x28]
mov rsi, rax
sub r11, r10
sar r11, 2
sub rdi, r11
je 0x180002258
nop
mov eax, ebx
test r11, r11
je 0x180002250
mov rcx, rbx
nop word [rax + rax]
mov r8d, dword [r10 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rsi]
cmp ecx, r8d
je 0x180002247
cmp r8d, 0xffffffff
jne 0x1800022c4
inc eax
mov ecx, eax
cmp rcx, r11
jb 0x180002230
mov ebx, r9d
add rbx, rsi
jne 0x180002288
mov r9d, 0x10
lea r8, str.Memcury::Scanner::FindPattern
lea rdx, str.FindPattern_return_nullptr
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r10, qword [rsp + 0x28]
mov qword [r14], rbx
test r10, r10
je 0x1800022dd
mov rdx, qword [rsp + 0x38]
mov rax, r10
sub rdx, r10
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1800022d5
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800022d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc r9d
mov eax, r9d
cmp rax, rdi
jb 0x180002220
jmp 0x180002258
mov rcx, r10
call fcn.180028494
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180027fa0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x18000e2a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18000e2c8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18000e2ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000e2f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000e349
test ecx, ecx
jle 0x18000e329
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18000e349
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000e349
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x18000e370
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18000e392
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18000e3a8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000e3c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000e3c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000e402
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000e49e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000e43d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18000e47e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000e49e
cmp rbx, rax
ja 0x18000e450
test rbx, rbx
je 0x18000e49e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1800104e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x180035040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800105b3
cmp byte [rcx + 0x71], 0
je 0x1800105b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800105af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180010574
sub eax, 1
je 0x180010578
cmp eax, 2
jne 0x1800105af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180027fa0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800105a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1800105af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18001055c
xor al, al
jmp 0x18001055c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180027fa0
add rsp, 0x60
pop rbx
ret
Function at 0x180017770
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1800177a5
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 + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180010d50
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800178e4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001785d
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800178d3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18001789a
mov r10, qword [rdx]
cmp r10, rax
je 0x180017894
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 0x1800178d3
cmp r9, rdx
je 0x1800178af
nop
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800178f5
cmp r9, rdx
jne 0x1800178a0
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, rbx
jne 0x180017810
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
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 0x1800178d3
Function at 0x18001ef90
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18001f055
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18001f055
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18001f06e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x18001f045
cmp byte [rcx], 0x5c
jne 0x18001f03e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x18001f03e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18001f02c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18001f03b
test r8b, 0x10
jne 0x18001f03e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x18001f03e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180017e90
test edi, edi
jne 0x18001efb0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.180017e80
int3

Function at 0x18001ff10
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x18001fff3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18001fff3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x180020011
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x18001ffe3
cmp word [rcx], 0x5c
jne 0x18001ffdc
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x18001ffdc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18001ffc7
movzx eax, word [rdx]
sub ax, 0x28
cmp ax, 1
jbe 0x18001ffd9
test r8b, 0x10
jne 0x18001ffdc
movzx eax, word [rdx]
sub ax, 0x7b
test bp, ax
jne 0x18001ffdc
mov rcx, rdx
lea rax, [rcx + 2]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180018520
test edi, edi
jne 0x18001ff40
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.180017e80
int3
Function at 0x180024020
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.180024240
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180024127
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180024084
mov rax, qword [0x180035008]
cmp qword [rsp + 0x20], rax
ja 0x180024084
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180024046
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 qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800240b3
jmp 0x180024127
cmp dword [rsp + 0x50], 0x10000
jne 0x18002410a
cmp qword [rsp + 0x48], 0x10000
jb 0x18002410a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800240f8
mov rax, qword [rsp + 0x28]
jmp 0x180024129
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180024122
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180024240
mov qword [rsp + 0x20], rax
jmp 0x180024046
xor eax, eax
add rsp, 0x68
ret

Function at 0x180024130
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.180024280
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180024233
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18002418b
mov rax, qword [0x180035008]
cmp qword [rsp + 0x20], rax
ja 0x18002418b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18002414d
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 qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1800241ba
jmp 0x180024233
cmp dword [rsp + 0x50], 0x10000
jne 0x180024211
cmp qword [rsp + 0x48], 0x10000
jb 0x180024211
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800241ff
mov rax, qword [rsp + 0x28]
jmp 0x180024235
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18002422e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180024280
mov qword [rsp + 0x20], rax
jmp 0x18002414d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800242d0
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.180024860
mov qword [rsp + 0x28], 0
cmp qword [0x180035a68], 0
jne 0x180024318
cmp qword [0x180035a60], 0
je 0x180024318
mov rax, qword [0x180035a60]
mov qword [0x180035a68], rax
cmp qword [0x180035a68], 0
je 0x1800243be
mov rax, qword [0x180035a68]
cmp qword [rax + 0x10], 0
je 0x1800243be
mov rax, qword [0x180035a68]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800243be
mov rax, qword [0x180035a68]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800243be
mov rax, qword [0x180035a68]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180024384
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18002438b
xor eax, eax
jmp 0x180024539
mov rax, qword [0x180035a68]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180024539
mov rax, qword [0x180035a60]
mov qword [0x180035a68], rax
jmp 0x1800243e0
mov rax, qword [0x180035a68]
mov rax, qword [rax + 8]
mov qword [0x180035a68], rax
cmp qword [0x180035a68], 0
je 0x18002442d
cmp qword [0x180035a68], 0
je 0x18002442b
mov rax, qword [0x180035a68]
cmp qword [rax + 0x10], 0
je 0x18002442b
mov rax, qword [0x180035a68]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18002442b
mov rax, qword [0x180035a68]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18002442b
jmp 0x18002435c
jmp 0x1800243ce
mov rcx, qword [rsp + 0x60]
call fcn.180026490
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180024540
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180024537
mov rax, qword [rsp + 0x48]
mov qword [0x180035a68], rax
mov rax, qword [0x180035a68]
mov dword [rax], 0x52727464
mov rax, qword [0x180035a68]
mov qword [rax + 0x10], 0
mov rax, qword [0x180035a68]
mov rcx, qword [0x180035a60]
mov qword [rax + 8], rcx
mov rax, qword [0x180035a68]
mov qword [0x180035a60], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180035a68]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800244e8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180024522
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 0x1800244de
mov rax, qword [0x180035a68]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18002435c
xor eax, eax
add rsp, 0x58
ret
Function at 0x18002788c
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 0x1800278c6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800278cb
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 0x180027914
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18002b8c0]
cmp byte [rcx + rax], 0
je 0x180027914
dec r8
sub rdx, 1
jne 0x1800278fa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400136c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
lea rdi, [0x140061f40]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
mov r9d, r8d
mov ebx, r8d
test eax, eax
jle 0x14001371b
nop word [rax + rax]
mov rdx, qword [r11]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x1400136f0
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x14001375c
nop word [rax + rax]
mov rdx, qword [r11 + 8]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013730
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x14001379c
nop word [rax + rax]
mov rdx, qword [r11 + 0x10]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013770
mov r9, r8
test eax, eax
jle 0x1400137ce
mov rdx, qword [r11 + 0x18]
lea r9, [r9 + 1]
inc r8d
movzx eax, byte [rdx + r9 - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + r9 - 1], al
cmp r8d, dword [r10]
jl 0x1400137a3
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret