joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1408db058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408db1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408db089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408db06f
add dl, dl
jne 0x1408db096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408db0f6
xor eax, eax
add dl, dl
jne 0x1408db0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408db1ad
add dl, dl
jne 0x1408db0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408db0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408db0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408db0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408db0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408db07e
mov eax, 1
add dl, dl
jne 0x1408db106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408db113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408db0fb
sub eax, ebx
mov ebx, 1
jne 0x1408db14c
mov ecx, 1
add dl, dl
jne 0x1408db12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408db13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408db123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408db07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408db168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408db175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408db15d
cmp eax, 0x7d00
jae 0x1408db19b
cmp eax, 0x500
jb 0x1408db196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408db07e
cmp eax, 0x7f
ja 0x1408db19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408db07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408db1d2
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 0x1408db07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004310
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 0x14000436d
lea rbx, [0x14017c0d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004354
cmp r10, 2
jb 0x140004354
cmp byte [r9], r8b
jne 0x140004354
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 0x140004330
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400043af
lea rbx, [0x14017c0d0]
cmp r8b, 0x23
jne 0x140004393
cmp byte [r9], r8b
jne 0x140004393
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 0x140004380
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004570
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000459f
mov r8d, 0x7bc
lea rdx, [0x140176b90]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400045ab
mov qword [rdi], 0
lea rdx, [0x14017b8e8]
mov rcx, rbx
call fcn.1400043c0
mov rbx, rax
test rax, rax
jne 0x1400045cd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400046a6
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 0x1400046a6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400046a6
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 0x1400046a6
cmp rsi, 0xffffffffffffffff
je 0x1400046a6
mov rax, qword [0x1403b4320]
test rax, rax
je 0x140004643
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400046a6
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140004693
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1403b4320]
test rax, rax
je 0x140004688
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400046af
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400046a1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400046b1
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 rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400084d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14000850c
mov r8d, 0x715
lea rdx, [0x140176940]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x14017c0d0]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f48], ebx
jne 0x140008587
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f380
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1403b4320]
mov edi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x140017af2
cmp byte [rbx + 0x4a86], 0
jne 0x140017af2
movsx r9d, word [rbx + 0x5b92]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004170
test dil, 1
je 0x140017c1f
jmp 0x140017b7d
movss xmm1, dword [rbx + 0x38bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1401874a4]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x140187494]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47f0], rax
mov dword [rbx + 0x47dc], 1
movss dword [rbx + 0x47e8], xmm0
movss dword [rbx + 0x47ec], xmm1
movss xmm0, dword [rbx + 0x3934]
mulss xmm0, dword [0x140187400]
or dword [rbx + 0x47d8], 0x41
movss dword [rbx + 0x4838], xmm0
movsx r9d, word [rbx + 0x5b92]
call fcn.140004170
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017bd0
lea r11, [0x14017c0d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017bb3
cmp byte [r8], r9b
jne 0x140017bb3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140017ba0
not ecx
call fcn.14000c9c0
test rax, rax
je 0x140017c1f
cmp byte [rax + 0xb6], 0
je 0x140017c1f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5b92]
movsx r9d, word [rbx + 0x5b92]
call fcn.140004170
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f550
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001da30
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 + 0x5c78], 0
lea rbx, [rcx + 0x5c80]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001dad7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001da8a
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.1400201c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004cc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c78]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c88]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1403b4318]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001dadf
mov rcx, rbx
call fcn.140004cc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001de90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1403b4320]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001def4
lea r10, [0x14017c0d0]
cmp r8b, 0x23
jne 0x14001ded7
cmp byte [rdx], r8b
jne 0x14001ded7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001dec4
mov eax, dword [r14 + 0x5bf0]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001df55
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001df1a
cmp edi, eax
jl 0x14001df34
mov r8d, 0x70c
lea rdx, [0x140176940]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bf8]
cmp dword [rax + rbp + 8], ebx
je 0x14001df72
mov eax, dword [r14 + 0x5bf0]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001df11
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001df7f
cmp edi, dword [r14 + 0x5bf0]
jl 0x14001df99
mov r8d, 0x70c
lea rdx, [0x140176940]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bf8]
lea rax, [rax + rcx*8]
jmp 0x14001df57
Function at 0x14003e110
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.1400134c0
cmp byte [rax], 0
je 0x14003e1a9
mov ecx, 0x210
call fcn.140003210
cmp byte [rax + 8], 0
jne 0x14003e1a9
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e1a9
mov rbx, qword [0x1403b4320]
test rbx, rbx
jne 0x14003e178
mov r8d, 0x100c
lea rdx, [0x140176b90]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1403b4320]
cmp byte [rbx + 0x37b9], 0
je 0x14003e195
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140003980
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.1400134c0
cmp byte [rax], 0
je 0x14003e23c
mov ecx, 0x214
call fcn.140003210
cmp byte [rax + 8], 0
jne 0x14003e23c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e23c
mov rbx, qword [0x1403b4320]
test rbx, rbx
jne 0x14003e20b
mov r8d, 0x100c
lea rdx, [0x140176b90]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1403b4320]
cmp byte [rbx + 0x37b9], 0
je 0x14003e228
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140003980
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.1400134c0
cmp byte [rax], 0
je 0x14003e2cf
mov ecx, 0x212
call fcn.140003210
cmp byte [rax + 8], 0
jne 0x14003e2cf
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e2cf
mov rbx, qword [0x1403b4320]
test rbx, rbx
jne 0x14003e29e
mov r8d, 0x100c
lea rdx, [0x140176b90]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1403b4320]
cmp byte [rbx + 0x37b9], 0
je 0x14003e2bb
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140003980
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.1400134c0
cmp byte [rax], 0
je 0x14003e362
mov ecx, 0x216
call fcn.140003210
cmp byte [rax + 8], 0
jne 0x14003e362
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e362
mov rbx, qword [0x1403b4320]
test rbx, rbx
jne 0x14003e331
mov r8d, 0x100c
lea rdx, [0x140176b90]
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1403b4320]
cmp byte [rbx + 0x37b9], 0
je 0x14003e34e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140003980
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14003fda0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x24]
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14003fe45
mov byte [rax], 0xc3
mov edx, dword [rsp + 0x24]
lea r9, [rsp + 0x60]
mov r8d, 0x140
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14003fe45
call rbx
nop
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
add rsp, 0x50
pop rbx
ret
xor eax, eax
add rsp, 0x50
pop rbx
ret

Function at 0x140040070
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov ecx, 8
call fcn.140145c38
lea rcx, [0x14003fe50]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400401f0]
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 0x1400400ef
cmp dword [rsp + 0x38], 0
je 0x1400400e3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400400e3
add rsp, 0x58
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140040160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140145c38
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400401f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400401bd
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140040280
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140040293
add rsp, 0x28
ret
Function at 0x140043220
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov dword [rbp - 0x69], 0
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov dword [rbp - 0x69], 1
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r13, qword [rbp - 1]
cmp r13, qword [rbp + 7]
jae 0x14004344a
movabs r14, 0x7fffffffffffffff
nop dword [rax]
mov r9d, Ordinal_50
lea r8, [rbp - 0x39]
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x14004343a
cmp dword [rbp - 0x19], 0x1000
jne 0x140043434
mov eax, dword [rbp - 0x11]
add eax, 0xfffe0000
test eax, 0xfffdffff
jne 0x140043434
mov rbx, qword [rbp - 0x21]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
xor r12d, r12d
mov qword [rbp - 0x41], r12
test rbx, rbx
je 0x140043361
cmp rbx, r14
ja 0x14004346f
cmp rbx, 0x1000
jb 0x140043333
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140043475
call fcn.140145c38
test rax, rax
je 0x140043468
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14004333e
mov rcx, rbx
call fcn.140145c38
mov r14, rax
mov qword [rbp - 0x51], r14
lea r12, [rbx + r14]
mov qword [rbp - 0x41], r12
mov r8, rbx
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x49], r12
mov rbx, qword [rbp - 0x21]
jmp 0x140043365
mov r14, qword [rbp - 0x51]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
mov rdx, qword [rbp - 0x39]
mov rbx, qword [rbp + 0x7f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400433f6
xor ebx, ebx
cmp qword [rbp - 0x61], rdi
je 0x1400433f2
test rdi, rdi
je 0x1400433b8
mov rax, rsi
mov rdx, r14
sub rdx, rsi
add rdx, rbx
movzx ecx, byte [rdx + rax]
cmp byte [rax], cl
jne 0x1400433e3
inc rax
mov rcx, rax
sub rcx, rsi
cmp rcx, rdi
jb 0x1400433a2
mov rcx, qword [rbp - 0x39]
add rcx, rbx
mov qword [rbp - 0x59], rcx
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1400433d7
mov qword [rdx], rcx
add qword [r15 + 8], 8
jmp 0x1400433e3
lea r8, [rbp - 0x59]
mov rcx, r15
call fcn.140079960
inc rbx
mov rax, qword [rbp - 0x61]
sub rax, rdi
cmp rbx, rax
jb 0x140043391
mov rbx, qword [rbp + 0x7f]
test r14, r14
je 0x14004342a
sub r12, r14
mov rax, r14
cmp r12, 0x1000
jb 0x14004341f
add r12, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043468
mov rdx, r12
mov rcx, r14
call fcn.140145f8c
movabs r14, 0x7fffffffffffffff
add r13, qword [rbp - 0x21]
jmp 0x140043440
mov eax, dword [rbp - 5]
add r13, rax
cmp r13, qword [rbp + 7]
jb 0x1400432a0
mov rax, r15
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140078ff0
int3
call fcn.1400033d0
int3
Function at 0x140043af0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140043c45
lea rsi, str.GTAProcess
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400770a0
mov r9, rax
cmp qword [rax + 0x18], 7
mov rcx, qword [rax + 0x10]
jbe 0x140043b60
mov r9, qword [rax]
cmp rcx, 0xa
jb 0x140043be4
lea r10, [rcx - 9]
mov rbx, r9
lea r10, [r9 + r10*2]
nop dword [rax]
nop word [rax + rax]
mov rax, r10
mov ecx, 0
sub rax, rbx
sar rax, 1
je 0x140043bac
cmp word [rbx], 0x47
je 0x140043ba9
cmp rax, 1
je 0x140043bac
add rbx, 2
dec rax
cmp word [rbx], 0x47
jne 0x140043b96
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140043be4
mov r8, rbx
mov edx, 0xa
sub r8, rsi
mov rcx, rsi
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140043bde
add rcx, 2
sub rdx, 1
jne 0x140043bc2
sub rbx, r9
sar rbx, 1
jmp 0x140043beb
add rbx, 2
jmp 0x140043b80
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140043c29
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043c24
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043c65
call fcn.140145f8c
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x140043c6c
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043b40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
jmp 0x140043c50

Function at 0x140043c80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rdi, rcx
xor edx, edx
mov ecx, 2
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140043cfa
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140043cfa
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140043cf6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043cd0
jmp 0x140043cfa
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x260]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140043d20
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x460
mov rdi, rdx
xor esi, esi
mov edx, ecx
mov ecx, Ordinal_26
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140043d9b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140043d9b
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140043d96
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140043d70
jmp 0x140043d9b
mov rsi, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x460]
mov rax, rsi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140060b10
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov ecx, 8
call fcn.140145c38
lea rcx, [0x140060bb0]
mov qword [rax], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400401f0]
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 0x140060b8f
cmp dword [rsp + 0x38], 0
je 0x140060b83
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140060b83
add rsp, 0x58
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3