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

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140658ab8]
lea rdx, [0x140365d60]
mov r8d, ecx
mov rbx, qword [rax + 0x1c08]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400a9617
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1400a9603
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400a9608
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400b1580
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400aa4c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140658ab8]
mov edi, edx
cmp byte [rbx + 0x1f45], 0
jne 0x1400aa520
cmp byte [rbx + 0x1f46], 0
jne 0x1400aa520
mov r9d, dword [rbx + 0x2fe8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.14009d1c0
test dil, 1
je 0x1400aa63e
jmp 0x1400aa5a8
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2fe8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14036f860]
mulss xmm1, dword [0x14036f850]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc0], rax
mov dword [rbx + 0x1cac], 1
movss dword [rbx + 0x1cb8], xmm0
movss dword [rbx + 0x1cbc], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14036f77c]
or dword [rbx + 0x1ca8], 0x41
movss dword [rbx + 0x1d08], xmm0
call fcn.14009d1c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400aa5f8
lea r11, [0x140365d60]
cmp r9b, 0x23
jne 0x1400aa5db
cmp byte [r8], r9b
jne 0x1400aa5db
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400aa5c8
not ecx
call fcn.1400a4320
test rax, rax
je 0x1400aa63e
cmp byte [rax + 0x8e], 0
je 0x1400aa63e
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xac], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fe8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2fe8]
call fcn.14009d1c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400a6a70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402796f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400af4e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3088], 0
lea rbx, [rcx + 0x3090]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400af586
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400af53a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400b12e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14009dc90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3088]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3098]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140658937]
cmovne rcx, rax
call fcn.140292920
mov r14, qword [rsp + 0x30]
jmp 0x1400af58e
mov rcx, rbx
call fcn.14009dc90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c4600
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1406ab4e8]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x140658ab8]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1406ab4f0]
cvtsi2ss xmm0, qword [0x1406ab4f8]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1406ab4f0], rcx
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_recv
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x140658ab8]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x1400c473f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1406ab4e8]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1400c473f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1400c47be
mov rdx, qword [0x1406ab4e8]
cmp rax, rdx
je 0x1400c4777
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1400c47be
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400c47be
mov rcx, qword [0x1406ab4e8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400c47be
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x1400c47ce
mov eax, 0xffffffff
jmp 0x1400c47db
mov rax, qword [0x140658ab8]
mov eax, dword [rax + 0x1f40]
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400c47ee
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400c41b0
call fcn.1400c4330
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402796f0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400d80e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x1400d816b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400d8140
lea r10, [0x140365d60]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400d8123
cmp byte [r8], r9b
jne 0x1400d8123
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r10 + rdx*4]
test r9b, r9b
jne 0x1400d8110
mov rcx, qword [0x140658ab8]
not eax
cmp dword [rcx + 0x1c50], eax
jne 0x1400d8157
mov dword [rcx + 0x1c54], eax
cmp dword [rcx + 0x1c90], eax
jne 0x1400d81bd
mov byte [rcx + 0x1c94], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x140658ab8]
mov rax, qword [rbx + 0x1c08]
movsxd rcx, dword [rax + 0xc8]
mov rax, qword [rax + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.14009d2d0
cmp dword [rbx + 0x1c50], eax
jne 0x1400d81a9
mov dword [rbx + 0x1c54], eax
cmp dword [rbx + 0x1c90], eax
jne 0x1400d81b8
mov byte [rbx + 0x1c94], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x1400de840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x1400de886
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1400de876
cmp byte [rax], cl
jne 0x1400de886
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1400de867
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400de9e9
cmp byte [r8 + 1], dl
je 0x1400de9e9
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400de8c2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400de8ea
sub dl, 0x61
cmp dl, 0x19
ja 0x1400de8dc
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400de8ea
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400de8a5
jmp 0x1400de8ed
inc r9
cmp r8, r9
jae 0x1400de91f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400de914
bt rdx, rax
jb 0x1400de91a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400de900
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14009d1c0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400de958
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1400de950
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400de9d8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400de973
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400de989
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400de9c6
movss xmm2, dword [0x14036f854]
cmp al, 0x39
ja 0x1400de9c6
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400de9a0
cmp r9b, 0x2d
jne 0x1400de9e4
xorps xmm1, xmmword [0x1403701b0]
movaps xmm0, xmm1
jmp 0x1400de9ec
call fcn.140296380
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400de9ec
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0x90
pop rbx
ret
Function at 0x1400dea10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x1400dea56
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1400dea46
cmp byte [rax], cl
jne 0x1400dea56
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1400dea37
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400debb3
cmp byte [r8 + 1], dl
je 0x1400debb3
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400dea92
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400deaba
sub dl, 0x61
cmp dl, 0x19
ja 0x1400deaac
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400deaba
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400dea75
jmp 0x1400deabd
inc r9
cmp r8, r9
jae 0x1400deaef
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400deae4
bt rdx, rax
jb 0x1400deaea
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400dead0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14009d1c0
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400deb28
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400deb20
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400deba6
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400deb43
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x1400deb59
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400deb94
movsd xmm2, qword [0x14036f808]
cmp al, 0x39
ja 0x1400deb94
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400deb70
cmp r9b, 0x2d
jne 0x1400debae
xorps xmm1, xmmword [0x1403701a0]
movaps xmm0, xmm1
jmp 0x1400debb6
call fcn.140296380
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400debb6
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0x90
pop rbx
ret
Function at 0x140106c90
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 [0x14039f5e8]
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 0x140106cfc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140125900
jmp 0x140106dda
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 0x140106d2c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140125900
jmp 0x140106dda
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140106d50
cmp ecx, 1
je 0x140106d3f
mov ebx, r14d
call fcn.1401077c0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140106d55
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14035c644]
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.140116c70
lea rcx, [rsp + 0x58]
call fcn.140106b20
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140107420
test al, al
je 0x140106dc9
mov dword [r15], 1
jmp 0x140106dd8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140112d30
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140106c90
Function at 0x140112c70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x140112cce
mov dl, 1
call fcn.140101ad0
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140101ad0
mov eax, ebx
jmp 0x140112d10
cmp ebx, 2
ja 0x140112d0e
mov r9, qword [rdi + 0x668]
lea rdx, [0x1402c4110]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140292920
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.140292920
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140112d30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
jne 0x140112d73
cmp qword [rcx + 0x678], 0
je 0x140112e50
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140116d80
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140112da1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x140112de8
cmp byte [rdi + 0x1528], 0
jne 0x140112de8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140112dd0
mov byte [rdi + 0x1528], 1
cmp byte [rdi + 0xea6], 0
je 0x140112e48
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140112ea1
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140112e69
mov dl, 1
mov rcx, rdi
call fcn.140101ad0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140101ad0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x1402c4110]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140292920
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140292920
jmp 0x140112e48
call fcn.140279a98
int3
Function at 0x140112eb0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140113014
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14039f5e8]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
je 0x140112ffc
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140116d80
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140112f71
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140112f30
cmp byte [rax + rcx - 1], 0xa
jne 0x140112f58
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x140112f6c
lea r8, [0x14035c284]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140116c70
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140112f76
cmp qword [rdi + 0x718], 0
je 0x140112fbe
mov dl, 1
mov rcx, rdi
call fcn.140101ad0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.140101ad0
jmp 0x140112ff4
mov r9, qword [rdi + 0x668]
lea rcx, [0x1402c4110]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.140292920
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140292920
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0x860
pop rdi
ret
Function at 0x140115670
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1402a11f0
cdqe
add rsp, 0x28
ret

Function at 0x140116540
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 [0x1406521a0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1401165ef
test rdi, rdi
je 0x1401165ef
mov eax, dword [0x1406521a4]
test eax, eax
jne 0x1401165e7
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.140116290
mov ecx, 2
call fcn.14028938c
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.140116c40
mov rcx, qword [0x140652198]
call fcn.140289748
call fcn.140292a5c
mov dword [rax], ntohs
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1406521a4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x140116617
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.140116290
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140116690
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 [0x1406521a0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14011673f
test rdi, rdi
je 0x14011673f
mov eax, dword [0x1406521a4]
test eax, eax
jne 0x140116737
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.140116290
mov ecx, 2
call fcn.14028938c
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.140116c40
mov rcx, qword [0x140652198]
call fcn.140289748
call fcn.140292a5c
mov dword [rax], ntohs
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1406521a4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x140116767
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.140116290
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140125c80
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 [0x14039f5e8]
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 0x140106cfc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.140125900
jmp 0x140106dda
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 0x140106d2c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.140125900
jmp 0x140106dda
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140106d50
cmp ecx, 1
je 0x140106d3f
mov ebx, r14d
call fcn.1401077c0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140106d55
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14035c644]
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.140116c70
lea rcx, [rsp + 0x58]
call fcn.140106b20
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.140107420
test al, al
je 0x140106dc9
mov dword [r15], 1
jmp 0x140106dd8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140112d30
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402796f0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140106c90