joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f32a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140083d20
nop
mov eax, dword [rsp + 0x78]
and eax, 1
test eax, eax
je 0x1400f336c
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400f3070
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_send
call fcn.1400f3070
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_select
call fcn.1400f3070
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.1400f3070
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x28]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x44]
call fcn.140083d20
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400d6350
nop
mov eax, dword [rsp + 0x78]
and eax, 2
test eax, eax
je 0x1400f340f
mov edx, dword [rsp + 0x80]
mov ecx, 7
call fcn.1400f3070
movss dword [rsp + 0x2c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 6
call fcn.1400f3070
movss xmm1, dword [rsp + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 5
call fcn.1400f3070
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 4
call fcn.1400f3070
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x34]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x4c]
call fcn.140083d20
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400d6350
nop
mov eax, dword [rsp + 0x78]
and eax, 4
test eax, eax
je 0x1400f34b2
mov edx, dword [rsp + 0x80]
mov ecx, listen
call fcn.1400f3070
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0xa
call fcn.1400f3070
movss xmm1, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 9
call fcn.1400f3070
movss dword [rsp + 0x3c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 8
call fcn.1400f3070
movss xmm1, dword [rsp + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x40]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x54]
call fcn.140083d20
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400d6350
nop
movss xmm0, dword [rsp + 0x88]
ucomiss xmm0, dword [0x1404883f0]
jp 0x1400f34c6
je 0x1400f34eb
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.1400d8fa0
movzx eax, al
test eax, eax
je 0x1400f34eb
movss xmm1, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.1400d6300
nop
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x1404883f0]
jp 0x1400f34ff
je 0x1400f3524
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.1400d8fa0
movzx eax, al
test eax, eax
je 0x1400f3524
movss xmm1, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.1400d6300
nop
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140101f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0
xorps xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x64], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x68], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x6c], xmm0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
xorps xmm0, xmm0
movss dword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
lea r8, [rsp + 0x58]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.140100b50
test eax, eax
je 0x140102108
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1400df6b0
mov rcx, qword [rsp + 0xc0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.140100b50
test eax, eax
je 0x140102108
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x1401020fc
mov r8d, 0x8c6
lea rdx, [0x140428120]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call fcn.140325df0
xor eax, eax
xor eax, eax
test eax, eax
jne 0x1401020d4
mov eax, dword [rsp + 0x50]
jmp 0x140102119
mov rax, qword [rsp + 0xc0]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0xa8
ret
Function at 0x140119dc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400df9a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xa0]
call fcn.140119100
movzx eax, al
test eax, eax
je 0x140119e01
lea rax, str.Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__.
test rax, rax
jne 0x140119e1c
mov r8d, 0x10c
lea rdx, [0x140431080]
lea rcx, str.io.Fonts__IsBuilt_____Font_atlas_not_built__It_is_generally_built_by_the_renderer_backend._Missing_call_to_renderer__NewFrame___function__e.g._ImGui_ImplOpenGL3_NewFrame__._
call fcn.140325df0
xor eax, eax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1404fd028]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.140083d20
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1404fd030]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1404fd038]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1404fd030], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140119ef5
mov dword [rsp + 0x28], 1
jmp 0x140119efd
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x138], cl
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140119f2c
mov dword [rsp + 0x2c], 1
jmp 0x140119f34
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x139], cl
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140119f63
mov dword [rsp + 0x30], 1
jmp 0x140119f6b
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x13a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x13b], 0
call fcn.1401195c0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x140119fa6
mov dword [rsp + 0x34], 0xffffffff
jmp 0x140119faf
call fcn.1400e4630
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x140119fd3
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140119490
nop
call fcn.140119720
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0x78
ret
Function at 0x140125fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1404c4d28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1998]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 0x19a0]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x38], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140083d20
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x140126126
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x28], 0xa
jne 0x1401260e8
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.1400fb300
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1401260e3
jmp 0x140126126
jmp 0x140126061
cmp dword [rsp + 0x28], 0xd
jne 0x1401260f4
jmp 0x140126061
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.14011c440
mulss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x3c], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x20], xmm0
jmp 0x140126061
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x140126145
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x140126181
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140083d20
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1404883f0]
ja 0x1401261a5
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x1404883f0]
jp 0x1401261bf
jne 0x1401261bf
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x1401261da
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140148500
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400861b0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140148575
xor al, al
jmp 0x1401485dd
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], 0
je 0x1401485d0
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x1401485d0
mov dword [rsp + 0x40], 1
jmp 0x1401485d8
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0x68
ret
Function at 0x1401485f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x1a0]
mov byte [rax], 0
mov rax, qword [rsp + 0x1a0]
add rax, 8
lea rdx, [0x140485d40]
mov rcx, rax
call fcn.1400680e0
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
lea rdx, [0x140485d40]
mov rcx, rax
call fcn.1400680e0
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
lea rdx, [0x140485d40]
mov rcx, rax
call fcn.1400680e0
nop
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x68], 0
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x78], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x79], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x7a], 0
mov rax, qword [rsp + 0x1a0]
mov byte [rax + 0x7b], 0
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x1a0]
add rax, 8
mov rdx, qword [rsp + 0x1a8]
mov rcx, rax
call fcn.140067f50
nop
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1a8]
call fcn.14014b690
cmp rax, 0xffffffffffffffff
jne 0x140148791
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400680e0
nop
lea rdx, [0x1404882e0]
lea rcx, [rsp + 0x48]
call fcn.1400b9590
nop
mov r8, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14014d6c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1a0]
add rax, 8
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.140068000
lea rcx, [rsp + 0x28]
call fcn.140067fd0
nop
lea rcx, [rsp + 0x48]
call fcn.140067fd0
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
mov rdx, qword [rsp + 0x1b0]
mov rcx, rax
call fcn.140067f50
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
mov rdx, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.140067f50
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1c0]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1c8]
mov qword [rax + 0x70], rcx
mov rcx, qword [rsp + 0x1a0]
call fcn.140148ae0
nop
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0x198
ret
Function at 0x14014f310
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x1404c4d48]
mov dword [rsp + 0x30], eax
movsxd rax, dword [0x1404c4d4c]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x1404ba4b0]
mov rdx, rax
mov rcx, qword [0x1404c4d18]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x1404c4d18]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1404c4d4c], eax
movsxd rax, dword [0x1404c4d4c]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x1404ba4b0]
mov rdx, rax
mov rcx, qword [0x1404c4d18]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
movzx eax, byte [0x1404c4c5d]
cmp eax, 1
jne 0x14014f3c3
mov eax, dword [0x1404c4d4c]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1401504a0
nop
jmp 0x14014f3e2
movzx eax, byte [0x1404c4c5f]
cmp eax, 1
jne 0x14014f3e2
mov eax, dword [0x1404c4d4c]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1401504a0
nop
movzx eax, byte [0x1404c4c5c]
cmp eax, 1
jne 0x14014f403
mov eax, dword [0x1404c4d4c]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1401504a0
nop
jmp 0x14014f422
movzx eax, byte [0x1404c4c5e]
cmp eax, 1
jne 0x14014f422
mov eax, dword [0x1404c4d4c]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1401504a0
nop
mov eax, dword [0x1404c4d4c]
add eax, 0x5e
mov ecx, dword [0x1404c4d4c]
add ecx, 9
mov edx, eax
call fcn.1401504e0
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1404c4d40]
mov rdx, rax
mov rcx, qword [0x1404c4d18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x1404c4d4c]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1404c4d40]
mov rdx, rax
mov rcx, qword [0x1404c4d18]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
add rsp, 0x48
ret

Function at 0x140150560
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1401505ae
xor eax, eax
jmp 0x140150621
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14015060e
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.14032d8d0
test eax, eax
jne 0x1401505fa
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x1401505fa
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401505ca
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x140150621
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0x288
ret
Function at 0x140154d60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea r8, [0x1404826e4]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.1400b7700
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_WSASetLastError
rep stosb byte [rdi], al
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400861b0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140154e2a
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0xc0]
call fcn.140067fd0
mov eax, dword [rsp + 0x20]
jmp 0x140154e7e
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xc0]
call fcn.140067fd0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0xb0
pop rdi
ret
Function at 0x14017fa60
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1404b9680]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14017facc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14019e6e0
jmp 0x14017fbaa
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x14017fafc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14019e6e0
jmp 0x14017fbaa
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x14017fb20
cmp ecx, 1
je 0x14017fb0f
mov ebx, r14d
call fcn.140180590
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x14017fb25
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1404881b0]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14018fa50
lea rcx, [rsp + 0x58]
call fcn.14017f8f0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1401801f0
test al, al
je 0x14017fb99
mov dword [r15], 1
jmp 0x14017fba8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.14018bb00
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1403165e0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x14017fa60
Function at 0x14018f320
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1404bf5e0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14018f3cf
test rdi, rdi
je 0x14018f3cf
mov eax, dword [0x1404bf5e4]
test eax, eax
jne 0x14018f3c7
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.14018f070
mov ecx, 2
call fcn.14032601c
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.14018fa20
mov rcx, qword [0x1404bf5d8]
call fcn.14032ddd4
call fcn.140333b08
mov dword [rax], recvfrom
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1404bf5e4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x14018f3f7
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.14018f070
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x1404bf5e0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14018f51f
test rdi, rdi
je 0x14018f51f
mov eax, dword [0x1404bf5e4]
test eax, eax
jne 0x14018f517
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.14018f070
mov ecx, 2
call fcn.14032601c
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.14018fa20
mov rcx, qword [0x1404bf5d8]
call fcn.14032ddd4
call fcn.140333b08
mov dword [rax], recvfrom
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1404bf5e4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x14018f547
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.14018f070
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret