joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004983c
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x1400841b0]
xor rax, rsp
mov qword [rbp + 0x47], rax
movdqa xmm0, xmmword [0x140065480]
lea rdx, [rbp - 0x59]
mov rbx, rcx
xor esi, esi
xor ecx, ecx
mov word [rbp - 0x19], si
movdqu xmmword [rbp - 9], xmm0
mov dword [rbp - 0x59], esi
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
mov edx, dword [rbp - 0x59]
lea rcx, [rbp - 0x51]
call fcn.14004435c
mov rcx, qword [rbp - 0x51]
lea rdx, [rbp - 0x59]
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140049945
mov r8d, dword [rbp - 0x59]
lea rcx, [rbp + 7]
mov rdx, qword [rbp - 0x51]
dec r8d
call fcn.14001ad14
lea rdx, [0x140062f40]
mov rcx, rax
call fcn.140025858
xorps xmm0, xmm0
lea edi, [rsi + 7]
movdqu xmmword [rbp - 0x29], xmm0
lea rdx, [0x1400853c0]
movups xmm0, xmmword [rax]
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov word [rax], si
call fcn.14001f67c
mov qword [rbx + 0x10], rsi
lea rcx, [rbp - 0x39]
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov word [rax], si
call fcn.14000a1c0
lea rcx, [rbp + 7]
call fcn.14000a1c0
jmp 0x1400499af
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.1400097d0
cmp dword [rax], 2
jbe 0x1400499a0
lea rcx, [rbp - 0x55]
mov dword [rbp - 0x55], edi
mov qword [rbp + 0x27], rcx
mov edx, 4
lea rcx, str.GetAllUsersProfileDirectory_failed
mov qword [rbp + 0x2f], rdx
mov qword [rbp + 0x37], rcx
mov qword [rbp + 0x3f], 0x23
lea rcx, [rbp + 7]
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], edx
lea rdx, [0x14006ecfb]
call fcn.1400011b0
lea rdx, [0x1400853c0]
mov rcx, rbx
call fcn.140006e6c
lea rcx, [rbp - 0x51]
call fcn.14003a5dc
lea rcx, [rbp - 0x19]
call fcn.14000a1c0
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14004ddf0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004a0f8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400841b0]
xor rax, rsp
mov qword [rsp + 0x150], rax
and qword [rsp + 0x30], 0
mov eax, 0x5a4d
mov rdi, rdx
mov rbx, rcx
cmp word [rcx], ax
jne 0x14004a191
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, pe_nt_image_headers64
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rdi]
lea rcx, [rsp + 0x30]
movsxd r9, dword [rbx + 0x3c]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r8d, pe_nt_image_headers64
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14003db4e.0]
test eax, eax
js 0x14004a191
mov rax, qword [rsp + 0x30]
add rax, 0xffffffffffffff08
test rax, 0xffffffffffffffef
jne 0x14004a191
cmp dword [rsp + 0x40], 0x4550
mov eax, 0x14c
sete al
jmp 0x14004a193
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14004ddf0
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x140001130
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
mov r9, rdx
mov r8d, ecx
call fcn.140001ae0
test eax, eax
jne 0x14000134c
mov rax, qword [0x1400097f8]
mov qword [rsp + 0x30], rbx
test rax, rax
jne 0x140001172
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006d50]
call fcn.140003800
mov qword [0x1400097f8], rax
lea rcx, [0x140006660]
mov qword [rsp + 0x20], rdi
call rax
mov rbx, rax
test rax, rax
je 0x14000127a
mov rax, qword [0x1400097d0]
mov qword [rsp + 0x38], rsi
test rax, rax
jne 0x1400011b7
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006eb8]
call fcn.140003800
mov qword [0x1400097d0], rax
xor r9d, r9d
lea rcx, str._MessageBox
xor r8d, r8d
xor edx, edx
call rax
mov rsi, qword [str._MessageBox]
mov rdi, rax
mov rax, qword [0x140009918]
test rax, rax
jne 0x1400011f8
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006ea0]
call fcn.140003800
mov qword [0x140009918], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
mov rax, qword [0x1400097d0]
test rax, rax
jne 0x140001229
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006eb8]
call fcn.140003800
mov qword [0x1400097d0], rax
xor r9d, r9d
lea rcx, str._SHGetSpecialFolderPath
xor r8d, r8d
xor edx, edx
call rax
mov rsi, qword [str._SHGetSpecialFolderPath]
mov rdi, rax
mov rax, qword [0x140009918]
test rax, rax
jne 0x14000126a
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006ea0]
call fcn.140003800
mov qword [0x140009918], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
mov rsi, qword [rsp + 0x38]
call fcn.1400013c0
lea rcx, str.PYTHONINSPECT
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001318
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov rax, qword [0x140009878]
test rax, rax
jne 0x1400012c8
mov rcx, qword [0x1400098c0]
lea rdx, [0x1400069f8]
call fcn.140003800
mov qword [0x140009878], rax
lea rdx, str._stdin_
mov rcx, rdi
call rax
test eax, eax
je 0x140001318
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov rax, qword [0x1400099a8]
test rax, rax
jne 0x140001309
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006a10]
call fcn.140003800
mov qword [0x1400099a8], rax
xor r8d, r8d
lea rdx, str._stdin_
mov rcx, rdi
call rax
mov rax, qword [0x1400097b8]
mov rdi, qword [rsp + 0x20]
test rax, rax
jne 0x140001343
mov rcx, qword [0x1400098c0]
lea rdx, [0x140006a98]
call fcn.140003800
mov qword [0x1400097b8], rax
call rax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140003a20
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a54
cmp word [rcx], 0x5a4d
jne 0x140003a54
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a54
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a54
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003960
test eax, eax
jne 0x140003a70
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039d0
test rax, rax
je 0x140003a65
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004216
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004120
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004ce0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d03
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d03
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004db1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140526ff0]
mov r8, rcx
mov rcx, r9
call fcn.140004ce0
test eax, eax
je 0x140004ddd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d04
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002691
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x60], rcx
cmp qword [rsp + 0x60], 0
jne 0x1400026b8
mov qword [rsp + 0x70], 0
jmp 0x1400027f2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400026dc
mov qword [rsp + 0x70], 0
jmp 0x1400027f2
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x58]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000270c
mov qword [rsp + 0x70], 0
jmp 0x1400027f2
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
cmp eax, dword [rcx + 0x18]
jae 0x1400027e9
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
mov edx, 0x911c9ac5
call fcn.140003587
cmp eax, dword [rsp + 0x6c]
jne 0x1400027d4
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov ecx, dword [rsp + 0x3c]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov edx, dword [rdx + 0x1c]
add rcx, rdx
mov edx, dword [rsp + 0x2c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
jmp 0x1400027f2
jmp 0x1400027d9
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x140002741
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
add rsp, 0x78
ret

Function at 0x14000351d
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0
jne 0x140003548
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x14000356c
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 2
call fcn.14000351d
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x140003587
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0
jne 0x1400035b2
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x24], eax
jmp 0x1400035d6
imul edx, dword [rsp + 0x34], 0x1000193
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
xor edx, eax
mov rcx, qword [rsp + 0x28]
add rcx, 1
call fcn.140003587
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret
Function at 0x140002d04
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x140002d5e
mov r11b, 0x23
lea rdi, [0x14004af90]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140002d48
cmp rdx, 2
jb 0x140002d48
cmp byte [r10], r11b
jne 0x140002d48
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x140002d26
jmp 0x140002d9f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140002d9f
mov r11b, 0x23
lea rdi, [0x14004af90]
cmp dl, r11b
jne 0x140002d83
cmp byte [r10], r11b
jne 0x140002d83
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140002d71
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140002f54
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140002f8d
mov r8d, 0x806
lea rdx, str.D:LastBackup_9.11.2023StreckDriverless_V2Streckimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140002f96
and qword [rdi], 0
lea rdx, [0x14004a7a8]
mov rcx, rbx
call fcn.140002db0
mov rbx, rax
test rax, rax
je 0x14000308a
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003081
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003081
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003081
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 0x140003081
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x140003081
mov rax, qword [0x1403b1460]
test rax, rax
je 0x14000301e
inc dword [rax + 0xf0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003081
mov r9, rbx
mov r8, rbp
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, rbp
je 0x14000306e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1403b1460]
test rax, rax
je 0x140003063
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000308a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000307c
mov qword [rdi], rbp
mov rax, rsi
jmp 0x14000308c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140005a7c
Capabilities:
Encode data using xor
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 rdi, rcx
movsxd rsi, edx
jg 0x140005ab8
mov r8d, 0x73b
lea rdx, str.D:LastBackup_9.11.2023StreckDriverless_V2Streckimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rdi + 0xf0]
lea r8, [rsp + 0x38]
mov rax, qword [rdi + 0xf8]
mov ebx, dword [rax + rdx*4 - 4]
mov edx, 4
mov r9d, edx
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x14004af90]
xor ebx, dword [rax + rcx*4]
sub r9, 1
jne 0x140005ad9
mov rcx, qword [rdi]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140005b10
mov r8, rsi
mov ecx, ebx
call fcn.1400192c4
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140017de0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017e79
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140017e31
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001a64c
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400036d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1403b1458]
movsxd r8, eax
mov rax, qword [rdi + 0x5cc0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140017e81
mov rcx, rbx
call fcn.1400036d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140018590
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1403b1460]
mov rbx, rcx
and dword [rax + 0x5c0c], 0
test rcx, rcx
je 0x1400185f9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140018604
lea rdx, [0x14004a7ac]
mov rcx, rbx
mov rdi, rax
call fcn.140002db0
mov rbx, rax
test rax, rax
je 0x1400185f9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140036164
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
mov rbx, rcx
lea rdx, [rsp + 0x30]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r8d, r8d
lea edx, [r8 + 1]
lea edi, [rdx + 1]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, 0xb3a1
mov word [rsp + 0x20], di
mov qword [0x1403b14d8], rax
call qword [sym.imp.WS2_32.dll_htons]
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
mov word [rsp + 0x22], ax
jb 0x1400361bf
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x24], eax
mov rcx, qword [0x1403b14d8]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x1400361c9
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003621c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140036217
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003623f
mov rcx, r8
call fcn.140042990
and qword [rbx + 0x10], 0
mov al, 1
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003b780
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov ebx, 0x20
lea rdx, [0x1403b1488]
mov ecx, ebx
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
xor esi, esi
test eax, eax
jns 0x14003b7b3
lea ecx, [rbx - 0x1d]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [0x1403b14c0]
mov qword [0x1403b18e0], rax
mov qword [0x1403b18d8], 1
mov qword [0x1403b18c0], rsi
mov qword [0x1403b18c8], 0x15
mov qword [0x1403b18d0], rsi
mov dword [0x1403b18e8], 1
mov dword [0x1403b18ec], 1
mov qword [0x1403b18f0], 0x50
mov qword [0x1403b18f8], rsi
call fcn.140004804
call fcn.140006340
xor ecx, ecx
or dword [rax], 3
call fcn.140020b4c
mov rcx, qword [0x1403b1488]
lea rdx, [0x1403b15f0]
mov r9, qword [0x1403b14c0]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1403b18c0]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov rax, qword [rcx]
mov dword [rsp + 0x20], ebx
lea r8d, [rdx + 1]
call qword [rax + 0x80]
mov rcx, qword [0x1403b14c0]
mov dword [0x1403b18fc], 0x80000000
call fcn.14002ad20
mov rdi, qword [0x1403b15f0]
call fcn.140006340
mov rbx, rax
cmp qword [rax + 0x90], rsi
je 0x14003b8a0
mov r8d, 0x11c
lea rdx, str.D:LastBackup_9.11.2023StreckDriverless_V2Streckimguiimgui_impl_dx9.cpp
lea rcx, str.io.BackendRendererUserData__nullptr___Already_initialized_a_renderer_backend__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x1403b1460]
test rcx, rcx
je 0x14003b8b2
inc dword [rcx + 0xf0]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14003b8e1
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x14003b8e4
mov rax, rsi
or dword [rbx + 4], 8
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x80], rcx
mov rcx, rdi
mov qword [rbx + 0x90], rax
mov qword [rax], rdi
mov rax, qword [rdi]
call qword [rax + htons]
mov rcx, qword [0x1403b1488]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [rax + reloc.WS2_32.dll_recv]
Function at 0x14003b928
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
lea rdx, str.C:_Windows_System32_d3dGearLoad64.dll
lea rcx, [rbp + 0x37]
call fcn.140037a08
nop
lea r8, [rbp + 0x37]
cmp qword [rbp + 0x4f], 0x10
cmovae r8, qword [rbp + 0x37]
lea rdx, [0x1403b14f8]
cmp qword [0x1403b1510], 0x10
cmovae rdx, qword [0x1403b14f8]
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
lea rdx, str.d3dGearLoad64.dll
lea rcx, [rbp + 0x17]
call fcn.140037a08
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rcx, qword [rbp + 0x17]
mov r8, qword [rbp + 0x27]
add r8, rcx
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rdx, qword [rbp + 0x17]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
cmp rdx, r8
jne 0x14003b9e2
movdqa xmm0, xmmword [0x1403aac60]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], bx
jmp 0x14003b9f2
mov r9, r8
sub r9, rdx
lea rcx, [rbp - 9]
call fcn.140041928
nop
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1403b1490], rax
test rax, rax
je 0x14003ba3a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1403b1490]
test rcx, rcx
je 0x14003ba3a
mov edx, 1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003ba3a
call rax
nop
mov edi, 0x1000
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14003ba7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, rdi
jb 0x14003ba79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003ba79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042990
movdqa xmm0, xmmword [0x1403aac60]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], bx
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x14003bac9
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, rdi
jb 0x14003bac4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bac4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042990
movdqa xmm0, xmmword [0x1403aac70]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], bl
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0x10
jb 0x14003bb13
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, rdi
jb 0x14003bb0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003bb0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140042990
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14003bb28
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003bb95
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003bb8c
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14003bb88
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14003bb62
mov al, 1
jmp 0x14003bb97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret