joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003720
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000377d
lea rbx, [0x180049050]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180003764
cmp r10, 2
jb 0x180003764
cmp byte [r9], r8b
jne 0x180003764
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180003740
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800037bf
lea rbx, [0x180049050]
cmp r8b, 0x23
jne 0x1800037a3
cmp byte [r9], r8b
jne 0x1800037a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180003790
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180003980
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x18000399e
mov qword [r8], r14
lea rdx, [0x180048b20]
call fcn.1800037d0
mov rbx, rax
test rax, rax
jne 0x1800039c3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180003aef
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003aef
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180003aef
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180003aef
cmp rdi, 0xffffffffffffffff
je 0x180003aef
mov rcx, rdi
call fcn.180007400
mov rbp, rax
test rax, rax
je 0x180003aef
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180003adc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1801b2c60]
test r8, r8
je 0x180003ad1
movsx rdx, word [r8 + 0x5438]
lea rcx, [r8 + 0x543c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180003ac6
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 + 0x5438], cx
movsx rax, cx
lea rcx, [r8 + 0x543c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x5434]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180003af8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180003aea
mov qword [rsi], rdi
mov rax, rbp
jmp 0x180003afa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000a8a0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000a8f0
lea r11, [0x180049050]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000a8d3
cmp byte [r8], r9b
jne 0x18000a8d3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000a8c0
mov rcx, qword [0x1801b2c60]
not eax
movsxd rdx, dword [rcx + 0x4080]
mov r9, qword [rcx + 0x4088]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000a951
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000a949
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000a94c
mov rdx, r8
test rdx, rdx
jne 0x18000a920
cmp r9, r10
je 0x18000a960
cmp dword [r9], eax
jne 0x18000a960
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800108b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x180049050]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x180010944
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001a9a0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180019100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5358], 0
lea rbx, [rcx + 0x5360]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800191a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001915a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001b9f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180004000
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5358]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5368]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801b2c58]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800191af
mov rcx, rbx
call fcn.180004000
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800194d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1801b2c60]
xor ebp, ebp
cmp byte [rbx + 0x52a0], bpl
jne 0x1800195af
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1800195a8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.180003980
mov rsi, rax
test rax, rax
je 0x1800195a8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x180019534
mov rcx, rax
call fcn.180019700
mov r8, qword [0x1801b2c60]
test r8, r8
je 0x18001959f
movsx rdx, word [r8 + 0x5438]
lea rcx, [r8 + 0x543c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x180019594
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 + 0x5438], cx
movsx rax, cx
lea rcx, [r8 + 0x543c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x5434]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a0], 1
movss xmm0, dword [rbx + 0x52a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x18001963e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52a4], xmm0
jb 0x18001963e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x180019631
mov rax, qword [0x1801b2c60]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52a4], ebp
call fcn.180019960
lea rdx, [0x180048b24]
mov rcx, rdi
mov rsi, rax
call fcn.1800037d0
mov rdi, rax
test rax, rax
je 0x180019638
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180019638
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x52a4], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180019660
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801b2c60]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800196c3
mov qword [rsp], rbx
lea rbx, [0x180049050]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800196a3
cmp byte [r8], r9b
jne 0x1800196a3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180019690
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52b8]
not eax
mov r8, qword [r10 + 0x52c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1800196ef
cmp dword [r8 + 8], eax
je 0x1800196f6
add r8, 0x48
cmp r8, rcx
jne 0x1800196e0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18002d290
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1801b2040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1801b2c60]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18002d4af
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18002d4af
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 [0x1801b2c60]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x18002d364
movsx rdx, word [r8 + 0x5438]
lea rax, [r8 + 0x543c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x18002d359
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 + 0x5438], cx
movsx rax, cx
lea rax, [rax*8 + 0x543c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x5430]
test rdi, rdi
je 0x18002d381
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 0x18002d384
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1801a8f78]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], 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 0x18002d3c7
mov rsi, qword [r8 + 0x98]
jmp 0x18002d3ca
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 0x18002d3f5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1801b2c60]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
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
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18002d46f
inc rbx
cmp rbx, 5
jl 0x18002d451
jmp 0x18002d49b
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 0x18002d4b1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800437f0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x180037510
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1801b2040]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1801b2e00], 0
jne 0x180037536
mov byte [0x1801b2e40], 1
cmp qword [0x1801b2d78], 0xf
lea rdx, [0x1801b2d60]
mov qword [rsp + 0x50], rsi
lea r8, [0x180048b20]
cmova rdx, qword [0x1801b2d60]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x30], 0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x18003760d
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180037602
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
test eax, eax
js 0x180037602
jne 0x1800375b4
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x18003765a
movsxd rsi, eax
lea rdx, [0x1800476f0]
lea rcx, [rsi + 1]
call fcn.180043e24
mov rdi, rax
test rax, rax
je 0x180037602
xor r8d, r8d
mov byte [rsi + rax], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rsi
je 0x180037636
mov rcx, rdi
call fcn.18004398c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18003e4d0
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800437f0
add rsp, 0x40
pop rbx
ret
mov r8, rax
mov rdx, rdi
call fcn.180041020
mov rcx, rdi
mov ebx, eax
call fcn.18004398c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
js 0x18003760d
mov r9b, 1
lea r8, str.shouldDrawHUD
lea rdx, str.General
call fcn.18003e210
xor r9d, r9d
mov byte [0x1801b22d1], al
lea r8, [0x1801a9360]
lea rdx, str.Costumes
call fcn.18003e210
xor r9d, r9d
mov byte [0x1801b2c5a], al
lea r8, [0x1801a9378]
lea rdx, str.Costumes
call fcn.18003e210
xor r9d, r9d
mov byte [0x1801b2c7d], al
lea r8, [0x1801a9380]
lea rdx, str.Costumes
call fcn.18003e210
xor r9d, r9d
mov byte [0x1801b2c5b], al
lea r8, [0x1801a9388]
lea rdx, str.Costumes
call fcn.18003e210
xor r9d, r9d
mov byte [0x1801b2c59], al
lea r8, [0x1801a9390]
lea rdx, str.Costumes
call fcn.18003e210
mov byte [0x1801b2c5f], al
jmp 0x180037619
Function at 0x18003d8e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18003d990
cmp edx, 1
jne 0x18003d986
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [0x1801b22e8], 0
je 0x18003d916
lea rcx, str.d3d12.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18003d967
cmp dword [0x1801b22e4], 0
je 0x18003d931
lea rcx, [0x1801a91c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18003d967
cmp dword [0x1801b22e0], 0
je 0x18003d94c
lea rcx, str.d3d10.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18003d967
cmp dword [0x1801b22dc], 0
je 0x18003d986
lea rcx, str.d3d9.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18003d986
xor eax, eax
lea r8, [0x18003d660]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
mov edx, 1
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x1800455dc
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 0x180045616
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18004561b
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 0x180045664
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180047770]
cmp byte [rcx + rax], 0
je 0x180045664
dec r8
sub rdx, 1
jne 0x18004564a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1448da0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1448da237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1448da0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1448da0c7
add dl, dl
jne 0x1448da0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1448da14e
xor eax, eax
add dl, dl
jne 0x1448da0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1448da205
add dl, dl
jne 0x1448da10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1448da11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1448da128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1448da135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1448da142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1448da0d6
mov eax, 1
add dl, dl
jne 0x1448da15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1448da16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1448da153
sub eax, ebx
mov ebx, 1
jne 0x1448da1a4
mov ecx, 1
add dl, dl
jne 0x1448da186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1448da193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1448da17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1448da0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1448da1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1448da1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1448da1b5
cmp eax, 0x7d00
jae 0x1448da1f3
cmp eax, 0x500
jb 0x1448da1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1448da0d6
cmp eax, 0x7f
ja 0x1448da1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1448da0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1448da22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1448da0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003c34
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], r14
mov rax, qword [0x1400143a0]
xor rax, rbp
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea rsi, [rsp + 0x20]
mov eax, dword [rsi]
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test rax, rax
je 0x140003d37
mov rdi, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov eax, dword [rbp + 0x3c]
mov r14d, eax
lea ebx, [rax - 1]
not rbx
and rbx, rsi
lea rsi, [rdi + 0x2000]
sub rbx, rax
cmp rbx, rsi
jb 0x140003d37
mov r8d, 0x30
lea rdx, [rbp + 8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test rax, rax
je 0x140003d37
add rdi, qword [rbp + 0x20]
test dword [rbp + 0x28], 0x1000
je 0x140003cc2
test dword [rbp + 0x2c], 0x100
je 0x140003cf7
mov eax, 1
jmp 0x140003d39
mov rax, qword [rbp + 8]
cmp rbx, rax
jb 0x140003d37
cmp rax, rsi
mov r9d, 4
mov r8d, 0x1000
mov rdx, r14
cmovae rsi, rax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
lea r9, [rbp]
mov r8d, 0x104
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
jmp 0x140003d39
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.14000c6d0
mov rbx, qword [rbp + 0x80]
mov rsi, qword [rbp + 0x88]
mov rdi, qword [rbp + 0x90]
mov r14, qword [rbp + 0x98]
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x140003dd8
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400143a0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140003ee3
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140003e5e
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x140003ee3
jmp 0x140003e87
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.140003dd8
mov ebx, eax
test eax, eax
jne 0x140003ee3
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x140003e6e
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140003ed6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rsp + 0x48], 0
mov rdx, rsi
mov rcx, rdi
call fcn.140003f3c
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140003ef3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14000c6d0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400052f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x40], 0
mov rbx, rcx
lea rcx, [0x140014b38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp rbx, qword [0x140014c28]
jne 0x14000535b
cmp byte [0x140014c20], 0
jne 0x14000535b
lea rax, [rsp + 0x40]
mov byte [0x140014c20], 1
mov qword [rsp + 0x28], rax
lea r8, [fcn.140005210]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x88], rax
test rax, rax
jne 0x14000535b
mov rcx, rbx
call fcn.140005210
lea rcx, [0x140014b38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140007814
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400143a0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rcx
xor ebx, ebx
and qword [rsp + 0x58], rbx
and qword [rsp + 0x60], rbx
and qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftALGISV
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x140007900
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x40], 0x100
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
inc edi
test eax, eax
jne 0x1400078fe
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140007668
test al, al
je 0x1400078f7
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.1400072dc
mov rbx, qword [rsp + 0x50]
jmp 0x140007897
xor edi, edi
test rbx, rbx
je 0x14000790e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14000c6d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret