joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400601c0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, qword [rcx + 0x20]
lea eax, [rdx - 0xc8]
xor edi, edi
movzx esi, r8b
mov rbx, rcx
cmp eax, 0x64
jb 0x140060200
lea rdx, str.Couldnt_set_desired_mode
call fcn.14003bf90
lea eax, [rdi + 0x11]
jmp 0x140060365
cmp edx, 0xc8
je 0x140060217
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.14003c080
cmp sil, 0x13
jne 0x14006022d
mov rdx, rbp
mov rcx, rbx
call fcn.1400600c0
jmp 0x140060361
cmp sil, 0x14
jne 0x140060343
cmp byte [rbx + 0x6e0], 2
mov rbp, qword [rbx + 0x20]
jne 0x1400602ab
mov rax, qword [rbx + 0x198]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400602ab
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], 3
xor edx, edx
call fcn.140041490
test eax, eax
jne 0x140060361
mov rcx, qword [rsp + 0x40]
lea edx, [rax + 0x2f]
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400602a0
mov rdi, qword [rsp + 0x40]
mov ecx, 1
sub rax, rdi
cmovne rcx, rax
mov byte [rcx + rdi], 0
jmp 0x1400602ab
mov rcx, qword [rsp + 0x40]
call qword [fcn.14008169c]
mov rdx, qword [rbx + 0x738]
test rdx, rdx
jne 0x1400602d0
cmp byte [rbx + 0x133b], 0
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x1400955b9]
test rdi, rdi
mov r9, r8
lea rax, [0x140088f0c]
cmovne r9, rdi
lea rcx, [0x1400898cc]
cmovne r8, rax
call fcn.14002a1e0
mov rcx, rdi
mov rsi, rax
call qword [fcn.14008169c]
test rsi, rsi
jne 0x14006030e
lea edi, [rsi + 0x1b]
jmp 0x140060363
lea rdx, [rbp + 0x600]
mov r9, rsi
lea r8, [0x140088640]
mov rcx, rbx
call fcn.14007b930
mov rcx, rsi
mov edi, eax
call qword [fcn.14008169c]
test edi, edi
jne 0x140060363
mov rcx, qword [rbx + 0x20]
mov byte [rcx + 0x6f6], 0x1f
jmp 0x140060363
cmp sil, 0x15
jne 0x14006034e
mov r8b, reloc.WS2_32.dll_listen
jmp 0x140060357
cmp sil, 0x16
jne 0x140060363
mov r8b, recv
mov dl, 1
mov rcx, rbx
call fcn.14005fc20
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14006f330
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x1400a7580]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x14006f394
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.140071550
test al, al
je 0x14006f388
mov dword [0x1400a7580], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x1400a7580], 1
jmp 0x14006f399
cmp eax, 2
je 0x14006f3eb
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14006f3ca
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x14006f3eb
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret
Function at 0x14006ffd0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x148
mov rax, qword [0x1400a6700]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rsi, r9
mov rbp, r8
mov rcx, qword [rax + 0x10]
mov dword [r9], 0
xor r9d, r9d
mov rcx, qword [rcx + 0x98]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
cmp rbx, 0xffffffffffffffff
jne 0x140070071
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140070035
mov dword [rsi], 0x51
jmp 0x14007006a
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.1400262e0
mov rcx, qword [rdi + 8]
lea rdx, str.Recv_failure:__s
mov r8, rax
call fcn.14003bf90
mov rax, qword [rdi + 8]
mov dword [rax + 0xd64], ebx
mov dword [rsi], gethostname
mov rbx, 0xffffffffffffffff
mov edx, dword [rsi]
lea r8, str.nw_in_read_len_zu______d__err_d
mov rcx, qword [rdi + 8]
mov r9, rbp
mov dword [rsp + 0x28], edx
mov rdx, qword [rdi]
mov dword [rsp + 0x20], ebx
call fcn.14003c120
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140080700
add rsp, 0x148
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400700b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1400a6700]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rdx + 0x20]
mov rsi, rdx
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rax + 0x318]
test dword [rcx + 0x84], 0x800
jne 0x1400701f3
mov rcx, qword [rbx + 0x98]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140070181
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1400262e0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.14003bf90
mov eax, 2
jmp 0x1400701f5
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x144]
lea r8, [rbx + 0x114]
lea rcx, [rsp + 0x30]
call fcn.14003d690
test al, al
jne 0x1400701f3
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1400262e0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14003bf90
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x1400701f5
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140080700
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x14007ea00
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [section..data]
mov rdi, rax
test rax, rax
jne 0x14007ea42
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14007ea89
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14007eae2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14007eaa0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14007eb23
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400951c9]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400951ca]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14007eaf0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14007fe50
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007fe8a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14007fe8f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14007fed8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14007fed8
dec r8
sub rdx, 1
jne 0x14007febe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400813f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008143e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008143e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008143e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008143e
cmp dword [rcx + 0x84], 0xe
jbe 0x14008143e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140081440
xor al, al
add rsp, 0x28
ret
Function at 0x40160a
Capabilities:
Execute command
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
call fcn.00417310
call fcn.00401d20
mov eax, dword [0x004bb030]
cmp eax, 5
je 0x40164b
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov ecx, 1
call sub.msvcrt.dll_exit
lea rcx, [0x00496003]
call sub.msvcrt.dll_system
mov eax, dword [0x004bb030]
cmp eax, 5
je 0x401686
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov ecx, 1
call sub.msvcrt.dll_exit
lea rcx, [0x00496003]
call sub.msvcrt.dll_system
call fcn.004016e1
lea rcx, [0x00496003]
call sub.msvcrt.dll_system
lea rdx, str.Press_r_to_restart_bypass............_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rax, [rbp - 1]
mov rdx, rax
mov rcx, qword [0x0049c9a0]
call fcn.0047cfc0
movzx eax, byte [rbp - 1]
cmp al, 0x72
jne 0x4016d3
jmp 0x401686
lea rcx, [0x00496003]
call sub.msvcrt.dll_system
jmp 0x4016a3
Function at 0x4026a3
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov eax, 0x130
mov dword [rbp - 0x10], eax
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x130], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
jmp 0x402772
lea rax, [rbp - 0x10]
add rax, 0x2c
lea rdx, str.AndroidProcess.exe
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x402772
mov eax, dword [rbp - 8]
mov r8d, eax
mov edx, 0
mov ecx, 0x410
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x128], rax
mov ecx, 0x48
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x128]
mov r8d, ecx
mov rcx, rax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
setne al
test al, al
je 0x40275f
mov rax, qword [rbp - 0x50]
cmp rax, 0x14dc9380
jbe 0x40275f
mov eax, dword [rbp - 8]
mov dword [rbp + 0x13c], eax
jmp 0x402792
mov rax, qword [rbp + 0x128]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
test eax, eax
setne al
test al, al
jne 0x4026e9
mov rax, qword [rbp + 0x130]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0x13c]
add rsp, 0x1c0
pop rbp
ret

Function at 0x4027b4
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x1c0
lea rbp, [rsp + 0x80]
mov eax, 0x130
mov dword [rbp - 0x10], eax
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x130], rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
jmp 0x402883
lea rax, [rbp - 0x10]
add rax, 0x2c
lea rdx, str.aow_exe.exe
mov rcx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x402883
mov eax, dword [rbp - 8]
mov r8d, eax
mov edx, 0
mov ecx, 0x410
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x128], rax
mov ecx, 0x48
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x128]
mov r8d, ecx
mov rcx, rax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
setne al
test al, al
je 0x402870
mov rax, qword [rbp - 0x50]
cmp rax, 0x23c34600
jbe 0x402870
mov eax, dword [rbp - 8]
mov dword [rbp + 0x13c], eax
jmp 0x4028a3
mov rax, qword [rbp + 0x128]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rdx, [rbp - 0x10]
mov rax, qword [rbp + 0x130]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
test eax, eax
setne al
test al, al
jne 0x4027fa
mov rax, qword [rbp + 0x130]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0x13c]
add rsp, 0x1c0
pop rbp
ret
Function at 0x402b22
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x51]
mov rcx, rax
call fcn.0044fb90
lea rdx, [rbp - 0x51]
lea rax, [rbp - 0x60]
mov r8, rdx
lea rdx, [0x0049648c]
mov rcx, rax
call fcn.00458cf0
lea rax, [rbp - 0x45]
mov rcx, rax
call fcn.0044fb90
lea rdx, [rbp - 0x45]
lea rax, [rbp - 0x50]
mov r8, rdx
lea rdx, str.https:__www.googleapis.com_drive_v3_files_19swTxSfCJk8lBexOv8EXCq0UiYoIBZId_altmediakeyAIzaSyD_QWLVRGx58NvbEhXEH5kknnFYpH20wmw
mov rcx, rax
call fcn.00458cf0
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00402c37
mov dword [rbp - 0x44], eax
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00459260
lea rax, [rbp - 0x45]
mov rcx, rax
call fcn.0044fbc0
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.00459260
lea rax, [rbp - 0x51]
mov rcx, rax
call fcn.0044fbc0
cmp dword [rbp - 0x44], 0
js 0x402bdc
lea rcx, [0x0049648c]
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov eax, 0
jmp 0x402c30
call fcn.00402c91
mov eax, 1
jmp 0x402c30
add rsp, 0x48
pop rbx
pop rbp
ret

Function at 0x402c37
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.0042f540
mov rbx, rax
mov rcx, qword [rbp - 0x20]
call fcn.0042f540
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rdx, rax
mov ecx, 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [rbp - 0x44], eax
mov eax, dword [rbp - 0x44]
add rsp, 0x48
pop rbx
pop rbp
ret

Function at 0x402c91
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x80]
lea rcx, [0x00496003]
call sub.msvcrt.dll_system
lea rdx, str.Enter_Key_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.00458ec0
lea rax, [rbp - 0x60]
mov rdx, rax
mov rcx, qword [0x0049c9a0]
call fcn.0047d200
lea rdx, str.Checking_Key......_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00458d90
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00403185
test eax, eax
setne bl
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00459260
test bl, bl
je 0x402d44
lea rdx, str.login_Successfull_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
mov ecx, 0x1f4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x402d78
lea rdx, str.Key_not_exits_or_already_used_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
mov ecx, 0x44c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rcx, [0x00496003]
call sub.msvcrt.dll_system
mov ebx, 0
jmp 0x402d7d
mov ebx, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.00459260
cmp ebx, 1
je 0x402dbe
jmp 0x402cab
nop
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x402ea5
Capabilities:
Create process on windows
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0x428
lea rbp, [rsp + 0x80]
lea rax, [rbp - 0x50]
mov r8d, 8
lea rdx, str.C:_ss.txt
mov rcx, rax
call fcn.00466ea0
lea rax, [rbp - 0x50]
add rax, 0xd0
mov rcx, rax
call fcn.00448fe0
test rax, rax
setne al
test al, al
je 0x402f01
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00466e50
mov ebx, 0
jmp 0x4030d1
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00466e50
lea rcx, str.C:d.txt
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
lea rax, [rbp + 0x38f]
mov rcx, rax
call fcn.0044fb90
lea rdx, [rbp + 0x38f]
lea rax, [rbp + 0x380]
mov r8, rdx
lea rdx, str.C:d.txt
mov rcx, rax
call fcn.00458cf0
lea rax, [rbp + 0x39b]
mov rcx, rax
call fcn.0044fb90
lea rdx, [rbp + 0x39b]
lea rax, [rbp + 0x390]
mov r8, rdx
lea rdx, str.https:__www.googleapis.com_drive_v3_files_1MEQyPYkEDgo7IES73CxtQuRvRo4LPs9g_altmediakeyAIzaSyD_QWLVRGx58NvbEhXEH5kknnFYpH20wmw
mov rcx, rax
call fcn.00458cf0
lea rdx, [rbp + 0x380]
lea rax, [rbp + 0x390]
mov rcx, rax
call fcn.00402c37
mov dword [rbp + 0x39c], eax
lea rax, [rbp + 0x390]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x39b]
mov rcx, rax
call fcn.0044fbc0
lea rax, [rbp + 0x380]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x38f]
mov rcx, rax
call fcn.0044fbc0
lea rax, [rbp + 0x190]
mov r8d, 8
lea rdx, str.C:d.txt
mov rcx, rax
call fcn.00466ea0
lea rax, [rbp + 0x370]
mov rcx, rax
call fcn.00458ec0
jmp 0x403056
lea rax, [rbp + 0x370]
mov rcx, rax
call fcn.0042f6b0
cmp rax, 2
seta al
test al, al
je 0x403056
lea rax, [rbp + 0x370]
mov rcx, rax
call fcn.0042f540
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
lea rdx, [rbp + 0x370]
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.0047a410
mov rdx, qword [rax]
sub rdx, 0x18
mov rdx, qword [rdx]
add rax, rdx
mov rcx, rax
call fcn.00448fe0
test rax, rax
setne al
test al, al
jne 0x403000
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.00466e50
lea rcx, str.C:d.txt
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
lea rax, [rbp + 0x370]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.00467540
mov ebx, 1
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.00467540
cmp ebx, 1
je 0x4030e7
jmp 0x40317b
nop
jmp 0x40317b
add rsp, 0x428
pop rbx
pop rbp
ret
Function at 0x403185
Capabilities:
Connect to http server
Create http request
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x288
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x220], rcx
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.00458ec0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
lea rdx, str.uYjgRtJ2VcIj
mov qword [rsp + 0x20], rdx
lea r9, str.if0_37412893
mov r8d, 0x15
lea rdx, str.ftpupload.net
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0x1f0], rax
lea rax, [rbp + 0x1a0]
mov rdx, qword [rbp + 0x220]
mov rcx, rax
call fcn.00458d90
lea rax, [rbp + 0x1c0]
mov r8, qword [rbp + 0x220]
lea rdx, str._htdocs_key_
mov rcx, rax
call fcn.0047c930
lea rax, [rbp + 0x1c0]
mov rdx, rax
mov rcx, qword [rbp + 0x220]
call fcn.004592a0
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.0042f540
mov rbx, rax
mov rcx, qword [rbp + 0x220]
call fcn.0042f540
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], pe_nt_image_headers64
mov r9d, 0
mov r8, rbx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_FtpGetFileA]
call rax
test eax, eax
setne al
test al, al
je 0x403430
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.0042f540
mov rdx, rax
lea rax, [rbp - 0x40]
mov r8d, 8
mov rcx, rax
call fcn.00466ea0
lea rax, [rbp - 0x40]
add rax, 0xd0
mov rcx, rax
call fcn.00448ff0
test al, al
je 0x40334b
lea rdx, str.failed__n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rcx, str.pause
call sub.msvcrt.dll_system
mov ecx, 1
call sub.msvcrt.dll_exit
lea rdx, [rbp + 0x1b0]
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.0047a410
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.0042f6b0
cmp rax, 1
setbe al
test al, al
je 0x4033d9
lea rdx, str.New_pc_detected......._n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rdx, str.Registering_your_pc........._n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rdx, [rbp + 0x1a0]
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.00458d90
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.004034df
lea rax, [rbp + 0x1d0]
mov rcx, rax
call fcn.00459260
mov ebx, 1
jmp 0x403422
lea rdx, [rbp + 0x1b0]
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.00458d90
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.00403865
test eax, eax
setne bl
lea rax, [rbp + 0x1e0]
mov rcx, rax
call fcn.00459260
test bl, bl
je 0x40341d
mov ebx, 1
jmp 0x403422
mov ebx, 0
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.00467540
jmp 0x403435
mov ebx, 0
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.00459260
mov eax, ebx
jmp 0x4034d5
add rsp, 0x288
pop rbx
pop rbp
ret
Function at 0x4034df
Capabilities:
Connect to http server
Create http request
Execute command
Send file using ftp

Disassembly:
push rbp
push rbx
sub rsp, 0x268
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x200], rcx
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.00403799
mov rcx, qword [rbp + 0x200]
call fcn.0042f540
mov rbx, rax
mov edx, 0x20
mov ecx, 0x10
call fcn.0047c8c0
mov edx, eax
lea rax, [rbp - 0x40]
mov r8d, edx
mov rdx, rbx
mov rcx, rax
call fcn.00468370
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.0042f540
mov rdx, rax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.0047c280
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.00468320
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x8000000
mov dword [rsp + 0x28], 1
lea rdx, str.uYjgRtJ2VcIj
mov qword [rsp + 0x20], rdx
lea r9, str.if0_37412893
mov r8d, 0x15
lea rdx, str.ftpupload.net
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0x1d0], rax
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.00458ec0
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.00458ec0
lea rax, [rbp + 0x1c0]
mov r8, qword [rbp + 0x200]
lea rdx, str._htdocs_key_
mov rcx, rax
call fcn.0047c930
lea rdx, [rbp + 0x1c0]
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.004592a0
lea rax, [rbp + 0x1c0]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x190]
mov rdx, qword [rbp + 0x200]
mov rcx, rax
call fcn.00459310
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.0042f540
mov rbx, rax
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.0042f540
mov rdx, rax
mov rax, qword [rbp + 0x1d0]
mov qword [rsp + 0x20], 0
mov r9d, 2
mov r8, rbx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_FtpPutFileA]
call rax
test eax, eax
setne al
test al, al
je 0x4036c0
lea rdx, str.PC_registered_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
jmp 0x4036e9
lea rdx, str.Failed_to_register_PC_n
mov rcx, qword [0x0049c9d0]
call fcn.0047c280
lea rcx, str.pause
call sub.msvcrt.dll_system
mov ecx, 1
call sub.msvcrt.dll_exit
lea rax, [rbp + 0x190]
mov rcx, rax
call fcn.00459260
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.00459260
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.004689b0
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.00459260
jmp 0x40378f
add rsp, 0x268
pop rbx
pop rbp
ret