joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bb140
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1403ca070]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1400bb23b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400bb236
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 1], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1400bb20b
cmp qword [rsp + 0x38], 2
jb 0x1400bb20b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400bb20b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400bb20b
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400bb187
jmp 0x1400bb2c4
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp]
test eax, eax
je 0x1400bb2c4
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400bb29a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400bb29a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400bb29a
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400bb23b
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret

Function at 0x1400bb500
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1402ee07c
add rsp, 0x28
ret
Function at 0x1400d3800
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.14006d500
mov eax, dword [rsp + 0x78]
and eax, 1
test eax, eax
je 0x1400d38ca
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_sendto
call fcn.1400d35d0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_send
call fcn.1400d35d0
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.1400d35d0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.1400d35d0
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.14006d500
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400b6d00
mov eax, dword [rsp + 0x78]
and eax, 2
test eax, eax
je 0x1400d396c
mov edx, dword [rsp + 0x80]
mov ecx, 7
call fcn.1400d35d0
movss dword [rsp + 0x2c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 6
call fcn.1400d35d0
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.1400d35d0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 4
call fcn.1400d35d0
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.14006d500
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400b6d00
mov eax, dword [rsp + 0x78]
and eax, 4
test eax, eax
je 0x1400d3a0e
mov edx, dword [rsp + 0x80]
mov ecx, ntohs
call fcn.1400d35d0
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0xa
call fcn.1400d35d0
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.1400d35d0
movss dword [rsp + 0x3c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 8
call fcn.1400d35d0
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.14006d500
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400b6d00
movss xmm0, dword [rsp + 0x88]
ucomiss xmm0, dword [0x14043a450]
jp 0x1400d3a22
je 0x1400d3a46
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.1400b9940
movzx eax, al
test eax, eax
je 0x1400d3a46
movss xmm1, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.1400b6cb0
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x14043a450]
jp 0x1400d3a5a
je 0x1400d3a7e
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.1400b9940
movzx eax, al
test eax, eax
je 0x1400d3a7e
movss xmm1, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.1400b6cb0
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400e2480
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 [0x1404686c0]
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.1400e1070
test eax, eax
je 0x1400e2618
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1400c0020
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.1400e1070
test eax, eax
je 0x1400e2618
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x1400e260c
mov r8d, 0x8c6
lea rdx, [0x1403da410]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call fcn.1402eeaa4
xor eax, eax
xor eax, eax
test eax, eax
jne 0x1400e25e4
mov eax, dword [rsp + 0x50]
jmp 0x1400e2629
mov rax, qword [rsp + 0xc0]
mov qword [rax], 0
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0xa8
ret
Function at 0x1400fa270
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1404686c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400c0310
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xa0]
call fcn.1400f95b0
movzx eax, al
test eax, eax
je 0x1400fa2b1
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 0x1400fa2cc
mov r8d, 0x10c
lea rdx, [0x1403e4390]
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.1402eeaa4
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 [0x140473f28]
call qword [sym.imp.USER32.dll_GetClientRect]
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.14006d500
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 [0x140473f30]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x140473f38]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x140473f30], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400fa3a4
mov dword [rsp + 0x28], 1
jmp 0x1400fa3ac
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 0x1400fa3db
mov dword [rsp + 0x2c], 1
jmp 0x1400fa3e3
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 0x1400fa412
mov dword [rsp + 0x30], 1
jmp 0x1400fa41a
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.1400f9a70
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x1400fa455
mov dword [rsp + 0x34], 0xffffffff
jmp 0x1400fa45e
call fcn.1400c4f10
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 0x1400fa481
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400f9940
call fcn.1400f9bd0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0x78
ret
Function at 0x140105f20
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 [0x140472c28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x1978]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rax + 0x1980]
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.14006d500
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 0x140106066
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 0x140106028
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.1400db7f0
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 0x140106023
jmp 0x140106066
jmp 0x140105fa1
cmp dword [rsp + 0x28], 0xd
jne 0x140106034
jmp 0x140105fa1
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.1400fc8c0
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 0x140105fa1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x140106085
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x1401060c1
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.14006d500
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x14043a450]
ja 0x1401060e5
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x14043a450]
jp 0x1401060ff
jne 0x1401060ff
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 0x14010611a
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 0x1401281d0
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 [0x1404686c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.14006f790
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 0x140128245
xor al, al
jmp 0x1401282ad
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 0x1401282a0
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x1401282a0
mov dword [rsp + 0x40], 1
jmp 0x1401282a8
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0x68
ret
Function at 0x1401282c0
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 [0x1404686c0]
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, [0x140437ca0]
mov rcx, rax
call fcn.140066490
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
lea rdx, [0x140437ca0]
mov rcx, rax
call fcn.140066490
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
lea rdx, [0x140437ca0]
mov rcx, rax
call fcn.140066490
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.140066300
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1a8]
call fcn.14012afd0
cmp rax, 0xffffffffffffffff
jne 0x14012845e
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140066490
nop
lea rdx, [0x14043a420]
lea rcx, [rsp + 0x48]
call fcn.14009ad70
mov r8, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14012cf60
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1a0]
add rax, 8
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.1400663b0
lea rcx, [rsp + 0x28]
call fcn.140066380
nop
lea rcx, [rsp + 0x48]
call fcn.140066380
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
mov rdx, qword [rsp + 0x1b0]
mov rcx, rax
call fcn.140066300
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
mov rdx, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.140066300
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.1401287b0
nop
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0x198
ret
Function at 0x14012ea50
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x140472c44]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x140472c18]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x140472c48], eax
movsxd rax, dword [0x140472c48]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x1404693c0]
mov rdx, rax
mov rcx, qword [0x140472c18]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x140472b66]
cmp eax, 1
jne 0x14012ead4
mov eax, dword [0x140472c48]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.140131710
jmp 0x14012eaf2
movzx eax, byte [0x140472b68]
cmp eax, 1
jne 0x14012eaf2
mov eax, dword [0x140472c48]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.140131710
movzx eax, byte [0x140472b65]
cmp eax, 1
jne 0x14012eb12
mov eax, dword [0x140472c48]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.140131710
jmp 0x14012eb30
movzx eax, byte [0x140472b67]
cmp eax, 1
jne 0x14012eb30
mov eax, dword [0x140472c48]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.140131710
mov eax, dword [0x140472c48]
add eax, 0x5e
mov ecx, dword [0x140472c48]
add ecx, 9
mov edx, eax
call fcn.140131750
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x140472c38]
mov rdx, rax
mov rcx, qword [0x140472c18]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x140472c48]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x140472c38]
mov rdx, rax
mov rcx, qword [0x140472c18]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret
Function at 0x140131e90
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1404686c0]
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 0x140131ede
xor eax, eax
jmp 0x140131f51
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 0x140131f3e
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.1402e12d4
test eax, eax
jne 0x140131f2a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x140131f2a
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 0x140131efa
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x140131f51
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0x288
ret

Function at 0x140132840
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x1404686c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [0x140472c10]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8, qword [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
movsxd rax, dword [rsp + 0x60]
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsxd rax, dword [rsp + 0x60]
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0x58
ret
Function at 0x14015a8e0
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 [0x1404686c0]
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 0x14015a94c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140179560
jmp 0x14015aa2a
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 0x14015a97c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140179560
jmp 0x14015aa2a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x14015a9a0
cmp ecx, 1
je 0x14015a98f
mov ebx, r14d
call fcn.14015b410
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x14015a9a5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14043a2f0]
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, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14016a8d0
lea rcx, [rsp + 0x58]
call fcn.14015a770
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.14015b070
test al, al
je 0x14015aa19
mov dword [r15], 1
jmp 0x14015aa28
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140166980
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402d0510
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x14015a8e0