joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b8120
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, 0x78
mov rax, qword [0x14063b600]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [0x140ad5048]
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
lea rcx, [rsp + 0x58]
call fcn.1400a8fe0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x30], rax
jae 0x1401b8264
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 0x1401b8229
movss xmm1, dword [rsp + 0x20]
movss xmm0, dword [rsp + 0x58]
call fcn.14018d4f0
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x5c]
addss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x5c], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1401b8227
jmp 0x1401b8264
jmp 0x1401b81b3
cmp dword [rsp + 0x28], 0xd
jne 0x1401b8232
jmp 0x1401b81b3
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.1401adfc0
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 0x1401b81b3
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rsp + 0x58]
jbe 0x1401b827d
movss xmm0, dword [rsp + 0x20]
movss dword [rsp + 0x58], xmm0
cmp qword [rsp + 0xa0], 0
je 0x1401b82b5
movss xmm0, dword [rsp + 0x5c]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400a8fe0
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140604ce0]
ja 0x1401b82d5
movss xmm0, dword [rsp + 0x5c]
ucomiss xmm0, dword [0x140604ce0]
jp 0x1401b82e7
jne 0x1401b82e7
movss xmm0, dword [rsp + 0x5c]
addss xmm0, dword [rsp + 0x24]
movss dword [rsp + 0x5c], xmm0
cmp qword [rsp + 0x98], 0
je 0x1401b8302
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x78
ret
Function at 0x1401d9f90
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 [0x14063b600]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x88]
call fcn.14006b650
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 0x1401da005
xor al, al
jmp 0x1401da06d
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 0x1401da060
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x50], eax
jne 0x1401da060
mov dword [rsp + 0x40], 1
jmp 0x1401da068
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x68
ret
Function at 0x1401da080
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 [0x14063b600]
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, [0x1405fec8b]
mov rcx, rax
call fcn.14007fdd0
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
lea rdx, [0x1405fec8b]
mov rcx, rax
call fcn.14007fdd0
nop
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
lea rdx, [0x1405fec8b]
mov rcx, rax
call fcn.14007fdd0
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.14007fc70
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1a8]
call fcn.14007fb20
cmp rax, 0xffffffffffffffff
jne 0x1401da21e
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14007fdd0
nop
lea rdx, [0x1406024b4]
lea rcx, [rsp + 0x48]
call fcn.14014b000
mov r8, qword [rsp + 0x1a8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.14013f360
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x1a0]
add rax, 8
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.14007fcd0
lea rcx, [rsp + 0x28]
call fcn.14006b6e0
nop
lea rcx, [rsp + 0x48]
call fcn.14006b6e0
mov rax, qword [rsp + 0x1a0]
add rax, 0x28
mov rdx, qword [rsp + 0x1b0]
mov rcx, rax
call fcn.14007fc70
mov rax, qword [rsp + 0x1a0]
add rax, 0x48
mov rdx, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.14007fc70
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.1401da350
nop
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x198
ret

Function at 0x1401da2b0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14063b600]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x28], rax
mov r8d, 0x10022
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x68
ret
Function at 0x1401e1a60
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x140ad5064]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x140ad5040]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x140ad5068], eax
movsxd rax, dword [0x140ad5068]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x14079c378]
mov rdx, rax
mov rcx, qword [0x140ad5040]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x140ad5034]
cmp eax, 1
jne 0x1401e1ae4
mov eax, dword [0x140ad5068]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1401e6d60
jmp 0x1401e1b02
movzx eax, byte [0x140ad5036]
cmp eax, 1
jne 0x1401e1b02
mov eax, dword [0x140ad5068]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1401e6d60
movzx eax, byte [0x140ad5035]
cmp eax, 1
jne 0x1401e1b22
mov eax, dword [0x140ad5068]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.1401e6d60
jmp 0x1401e1b40
movzx eax, byte [0x140ad5037]
cmp eax, 1
jne 0x1401e1b40
mov eax, dword [0x140ad5068]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.1401e6d60
mov eax, dword [0x140ad5068]
add eax, 0x5e
mov ecx, dword [0x140ad5068]
add ecx, 9
mov edx, eax
call fcn.1401e6da0
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x140ad5070]
mov rdx, rax
mov rcx, qword [0x140ad5040]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x140ad5068]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x140ad5070]
mov rdx, rax
mov rcx, qword [0x140ad5040]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret

Function at 0x1401e8420
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14063b600]
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 0x1401e846e
xor eax, eax
jmp 0x1401e84e1
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 0x1401e84ce
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.1403c2294
test eax, eax
jne 0x1401e84ba
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x1401e84ba
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 0x1401e848a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x1401e84e1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x288
ret
Function at 0x1401eac70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword [0x14063b600]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea r8, [0x1404b1254]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.140147640
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, [0x1404e10a8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14006b650
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 0x1401ead3a
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0xc0]
call fcn.14006b6e0
mov eax, dword [rsp + 0x20]
jmp 0x1401ead8d
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]
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xc0]
call fcn.14006b6e0
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0xb0
pop rdi
ret
Function at 0x1401eb070
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov rax, qword [0x14063b600]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, Ordinal_45
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov cl, Ordinal_45
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov cl, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov edx, Ordinal_27
lea rcx, [rsp + 0x50]
call fcn.140063d60
lea rcx, [rsp + 0x50]
call fcn.1401370c0
nop
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x28], eax
mov edx, 0x50
lea rcx, [rsp + 0x70]
call fcn.140063d60
lea rcx, [rsp + 0x70]
call fcn.1401ea450
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1401ea5a0
lea r8, [0x14048fc68]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1401ea770
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov eax, dword [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1401ebcb0
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x50]
call fcn.1401ebc50
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x48]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 0x118
lea rcx, [rsp + 0xc0]
call fcn.140063d60
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.1401ebaf0
nop
mov r9d, 0x40
mov r8d, Ordinal_35
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0xc0]
call fcn.1401eba20
lea rcx, [rsp + 0x50]
call fcn.1401ebc80
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x50]
call fcn.1401ebc50
lea rcx, [rsp + 0xd0]
mov rdx, qword [rsp + 0x38]
mov r8, rdx
mov rdx, rax
call fcn.14013a060
lea rcx, [rsp + 0xc0]
call fcn.1401eb9d0
mov dword [rsp + 0x24], Ordinal_45
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x40]
call fcn.140064670
mov rcx, rax
call fcn.140064690
nop
lea rcx, [rsp + 0xc0]
call fcn.1401eb2d0
nop
lea rcx, [rsp + 0x70]
call fcn.1401ea560
nop
lea rcx, [rsp + 0x50]
call fcn.1401475c0
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x1f8
ret
Function at 0x140212b20
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 [0x14063b600]
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 0x140212b8c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1402317a0
jmp 0x140212c6a
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 0x140212bbc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1402317a0
jmp 0x140212c6a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140212be0
cmp ecx, 1
je 0x140212bcf
mov ebx, r14d
call fcn.140213650
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140212be5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140604a40]
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, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.140222b10
lea rcx, [rsp + 0x58]
call fcn.1402129b0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1402132b0
test al, al
je 0x140212c59
mov dword [r15], 1
jmp 0x140212c68
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.14021ebc0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140212b20
Function at 0x14021eb00
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 0x14021eb5e
mov dl, 1
call fcn.14020d960
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.14020d960
mov eax, ebx
jmp 0x14021eba0
cmp ebx, 2
ja 0x14021eb9e
mov r9, qword [rdi + 0x668]
lea rdx, [0x1404073a0]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1403bc714
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.1403bc714
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 0x14021ebc0
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 [0x14063b600]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
jne 0x14021ec03
cmp qword [rcx + 0x678], 0
je 0x14021ece0
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.140222c20
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14021ec31
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x14021ec78
cmp byte [rdi + 0x1528], 0
jne 0x14021ec78
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 0x14021ec60
mov byte [rdi + 0x1528], 1
cmp byte [rdi + 0xea6], 0
je 0x14021ecd8
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x14021ed31
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x14021ecf9
mov dl, 1
mov rcx, rdi
call fcn.14020d960
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.14020d960
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x1404073a0]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1403bc714
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1403bc714
jmp 0x14021ecd8
call fcn.1403a8408
int3
Function at 0x14021ed40
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14021eea4
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 [0x14063b600]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
je 0x14021ee8c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140222c20
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x14021ee01
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14021edc0
cmp byte [rax + rcx - 1], 0xa
jne 0x14021ede8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x14021edfc
lea r8, [0x140407424]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.140222b10
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14021ee06
cmp qword [rdi + 0x718], 0
je 0x14021ee4e
mov dl, 1
mov rcx, rdi
call fcn.14020d960
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.14020d960
jmp 0x14021ee84
mov r9, qword [rdi + 0x668]
lea rcx, [0x1404073a0]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1403bc714
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1403bc714
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1403a7f50
add rsp, 0x860
pop rdi
ret
Function at 0x140221500
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1403d3e98
cdqe
add rsp, 0x28
ret

Function at 0x1402223e0
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 [0x140ace760], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14022248f
test rdi, rdi
je 0x14022248f
mov eax, dword [0x140ace764]
test eax, eax
jne 0x140222487
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.140222130
mov ecx, 2
call fcn.1403bc3c0
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.140222ae0
mov rcx, qword [0x140ace758]
call fcn.1403b7780
call fcn.1403c4918
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x140ace764], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1402224b7
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.140222130
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140222530
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 [0x140ace760], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1402225df
test rdi, rdi
je 0x1402225df
mov eax, dword [0x140ace764]
test eax, eax
jne 0x1402225d7
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.140222130
mov ecx, 2
call fcn.1403bc3c0
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.140222ae0
mov rcx, qword [0x140ace758]
call fcn.1403b7780
call fcn.1403c4918
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x140ace764], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x140222607
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.140222130
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret