joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007896c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140078692
call fcn.14005e998
mov dword [rax], 0x16
call fcn.1400577f0
jmp 0x1400787dd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400787dd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400787dd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400786c1
lock or dword [rcx + 0x14], 0x10
jmp 0x1400787dd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400786d5
call fcn.140078974
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400786e5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400786e8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1400701e4
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140079768
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400787cb
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140078779
mov rcx, rbx
call fcn.1400701e4
cmp eax, 0xffffffff
je 0x140078764
mov rcx, rbx
call fcn.1400701e4
cmp eax, 0xfffffffe
je 0x140078764
mov rcx, rbx
call fcn.1400701e4
movsxd rdi, eax
lea r14, [0x1400b0620]
mov rcx, rbx
sar rdi, 6
call fcn.1400701e4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14007876b
lea rdx, [0x1400ad810]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140078779
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14007879d
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14007879d
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14007879d
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1400787bb
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400787c6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400787e2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14007865c
Function at 0x140002840
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 0x14000289d
lea rbx, [0x1400f3030]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002884
cmp r10, 2
jb 0x140002884
cmp byte [r9], r8b
jne 0x140002884
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 0x140002860
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400028df
lea rbx, [0x1400f3030]
cmp r8b, 0x23
jne 0x1400028c3
cmp byte [r9], r8b
jne 0x1400028c3
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 0x1400028b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002a20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002a3a
mov qword [r8], 0
lea rdx, [0x1400f29d4]
call fcn.1400028f0
mov rbx, rax
test rax, rax
jne 0x140002a5a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002b31
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 0x140002b31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002b31
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b31
cmp rdi, 0xffffffffffffffff
je 0x140002b31
mov rax, qword [0x140110530]
test rax, rax
je 0x140002ace
inc dword [rax + 0x3ac]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002b31
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 0x140002b1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140110530]
test rax, rax
je 0x140002b13
dec dword [rax + 0x3ac]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002b3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002b2c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002b3c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400055e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov rax, qword [rcx + 0x108]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400f3030]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x140110530]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1d7c], ebx
jne 0x14000566d
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x14000567c
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], ebx
jne 0x140005693
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140023780
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400115b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov r8, qword [0x140110530]
lea r10, [0x1400f3030]
movsxd r9, ecx
mov rdi, qword [r8 + 0x1d28]
movsxd rdx, dword [rdi + 0x100]
mov rax, qword [rdi + 0x108]
mov ebx, dword [rax + rdx*4 - 4]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r10 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r10 + rdx*4]
not ebx
cmp dword [r8 + 0x1d64], ebx
jne 0x140011651
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140023780
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
lea rcx, [rdi + 0x100]
call fcn.140024830
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400126c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140110530]
mov edi, edx
cmp byte [rbx + 0x212d], 0
jne 0x140012721
cmp byte [rbx + 0x212e], 0
jne 0x140012721
movsx r9d, word [rbx + 0x321e]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.1400027c0
test dil, 1
je 0x140012849
jmp 0x1400127b1
movss xmm1, dword [rbx + 0x1708]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x321e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400fc520]
mulss xmm1, dword [0x1400fc514]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1e44], rax
mov dword [rbx + 0x1e2c], 1
movss dword [rbx + 0x1e3c], xmm0
mov byte [rbx + 0x1e64], 1
movss dword [rbx + 0x1e40], xmm1
movss xmm0, dword [rbx + 0x1764]
mulss xmm0, dword [0x1400fc45c]
or dword [rbx + 0x1e28], 0x41
movss dword [rbx + 0x1e88], xmm0
call fcn.1400027c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012801
lea r11, [0x1400f3030]
cmp r9b, 0x23
jne 0x1400127e4
cmp byte [r8], r9b
jne 0x1400127e4
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 0x1400127d1
not ecx
call fcn.14000b060
test rax, rax
je 0x140012849
cmp byte [rax + 0xc7], 0
je 0x140012849
mov byte [rax + 0xce], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xe8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x321e]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x321e]
call fcn.1400027c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.14000dc50
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c3090
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140017af0
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 + 0x3308], 0
lea rbx, [rcx + 0x3310]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140017b97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140017b4a
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.140024b50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400031a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3308]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3318]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140110528]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140017b9f
mov rcx, rbx
call fcn.1400031a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140017fe0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140018032
lea r11, [0x1400f3030]
cmp r9b, 0x23
jne 0x140018015
cmp byte [r8], r9b
jne 0x140018015
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 0x140018002
mov r11, qword [0x140110530]
mov r10, qword [r11 + 0x32d0]
test r10, r10
je 0x140018079
lea r9, [r10 + 4]
test r9, r9
je 0x140018079
not eax
cmp dword [r9], eax
je 0x140018082
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x32c8]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140018050
mov rcx, rbx
pop rbx
jmp fcn.140017ef0
mov rax, r9
pop rbx
ret
Function at 0x14001b7c0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001ba0e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400f3030]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001b9d6
mov rcx, rbp
call fcn.14001ae90
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001b891
movsxd rdx, dword [rbp + 0x3268]
mov r8, qword [rbp + 0x3270]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001b881
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001b879
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001b87c
mov rdx, rcx
test rdx, rdx
jne 0x14001b850
cmp r8, r10
je 0x14001b891
cmp dword [r8], r9d
jne 0x14001b891
mov rcx, qword [r8 + 8]
jmp 0x14001b893
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xbc]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xbc], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x14001b927
cmp qword [rcx + 0x20], 0
jne 0x14001b91c
mov qword [rcx + 0x20], rbx
jmp 0x14001b927
cmp qword [rcx + 0x28], 0
jne 0x14001b927
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb4], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001b96c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14001b960
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.1400027c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001b9c8
cmp r9b, 0x23
jne 0x14001b9ab
cmp byte [r8], r9b
jne 0x14001b9ab
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001b998
not ecx
call fcn.14000b060
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001b810
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c3090
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14004b260
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ecx, 1
call fcn.1400c37b8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140050460]
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 0x14004b2f1
cmp dword [rsp + 0x38], 0
je 0x14004b2e5
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 0x14004b2e5
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c3090
add rsp, 0x68
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 0x14004b310
Capabilities:
Create thread
Inject dll
Inject thread
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd rax, dword [0x14010f3d8]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.14004e6b0
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004b374
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14004ebd0
nop
mov r8d, Ordinal_33
lea rdx, str._vc534yrtuhytujuoutline.json
lea rcx, [rsp + 0x48]
call fcn.14004cd10
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14004b3b0
mov rdi, qword [rax]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14004b3f0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b3eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b3eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c34a4
movdqa xmm0, xmmword [0x1400fc630]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rdx, str.Grand_Theft_Auto_V
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x14004b440
inc r8
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
mov r9, rbx
nop dword [rax]
inc r9
cmp byte [rdi + r9], 0
jne 0x14004b470
inc r9
mov qword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400f7478]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop word [rax + rax]
lea rbx, [rbx + 1]
cmp byte [rdi + rbx], 0
jne 0x14004b4f0
lea r8, [rbx + 1]
mov r9d, 0x8000
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c3090
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140059e60
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14010f080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, r8
lea rcx, [rsp + 0x30]
mov rdi, rdx
mov r8d, 0x104
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x140059ec9
mov rdx, qword [rdi]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x140]
call fcn.140025680
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x140059ee8
mov rdx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140059f3e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140059f39
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059fbb
mov rcx, r8
call fcn.1400c34a4
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140059f87
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140059f82
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059fbb
mov rcx, r8
call fcn.1400c34a4
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400c3090
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005dd20
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 0x14005dd48
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 0x14005dd6e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005dd70
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14005ddc9
test ecx, ecx
jle 0x14005dda9
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 0x14005ddc9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14005ddc9
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 0x14005ddf0
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 0x14005de12
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14005de28
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 0x14005de44
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005de46
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005de82
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 0x14005df1e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005debd
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 0x14005defe
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 0x14005df1e
cmp rbx, rax
ja 0x14005ded0
test rbx, rbx
je 0x14005df1e
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