joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140110d20
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, 0x98
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 + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14010f910
test eax, eax
je 0x140110ea6
movsxd rax, dword [rsp + 0x88]
imul rax, rax, 0xe
mov rcx, rax
call fcn.1400ef3f0
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x20]
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.14010f910
test eax, eax
je 0x140110ea6
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x50], eax
je 0x140110e9a
mov r8d, 0x8c6
lea rdx, [0x1404396f0]
lea rcx, str.output_ctx.num_vertices__count_ctx.num_vertices
call fcn.140335864
xor eax, eax
xor eax, eax
test eax, eax
jne 0x140110e72
mov eax, dword [rsp + 0x50]
jmp 0x140110eb7
mov rax, qword [rsp + 0xb0]
mov qword [rax], 0
xor eax, eax
add rsp, 0x98
ret
Function at 0x140127fa0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1404bc640]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1400ef6e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0xa0]
call fcn.1401272e0
movzx eax, al
test eax, eax
je 0x140127fe1
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 0x140127ffc
mov r8d, 0x10c
lea rdx, [0x1404421e0]
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.140335864
xor eax, eax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140737770]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x48]
call fcn.140087060
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x140737778]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x140737780]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x40]
mov qword [0x140737778], rax
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401280d4
mov dword [rsp + 0x28], 1
jmp 0x1401280dc
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 0x14012810b
mov dword [rsp + 0x2c], 1
jmp 0x140128113
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 0x140128142
mov dword [rsp + 0x30], 1
jmp 0x14012814a
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.1401277c0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x140128185
mov dword [rsp + 0x34], 0xffffffff
jmp 0x14012818e
call fcn.1400f41b0
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 0x1401281b1
mov eax, dword [rsp + 0x38]
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140127690
call fcn.140127900
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14031cf30
add rsp, 0x78
ret
Function at 0x140133c70
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 [0x1406ff4b8]
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.140087060
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 0x140133db6
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 0x140133d78
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.14010a210
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 0x140133d73
jmp 0x140133db6
jmp 0x140133cf1
cmp dword [rsp + 0x28], 0xd
jne 0x140133d84
jmp 0x140133cf1
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
call fcn.14012a510
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 0x140133cf1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x140133dd5
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x140133e11
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.140087060
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140489b58]
ja 0x140133e35
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140489b58]
jp 0x140133e4f
jne 0x140133e4f
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 0x140133e6a
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 0x140155700
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 rcx, qword [rsp + 0x88]
call fcn.140072200
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 + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140155766
xor al, al
jmp 0x1401557ce
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x48], 0
je 0x1401557c1
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x40], eax
jne 0x1401557c1
mov dword [rsp + 0x44], 1
jmp 0x1401557c9
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
add rsp, 0x68
ret
Function at 0x14015b0b0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x1406ff4d8]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x1406ff4a8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1406ff4dc], eax
movsxd rax, dword [0x1406ff4dc]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x1406f43e0]
mov rdx, rax
mov rcx, qword [0x1406ff4a8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x1406ff414]
cmp eax, 1
jne 0x14015b134
mov eax, dword [0x1406ff4dc]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.14015dd00
jmp 0x14015b152
movzx eax, byte [0x1406ff416]
cmp eax, 1
jne 0x14015b152
mov eax, dword [0x1406ff4dc]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.14015dd00
movzx eax, byte [0x1406ff415]
cmp eax, 1
jne 0x14015b172
mov eax, dword [0x1406ff4dc]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.14015dd00
jmp 0x14015b190
movzx eax, byte [0x1406ff417]
cmp eax, 1
jne 0x14015b190
mov eax, dword [0x1406ff4dc]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.14015dd00
mov eax, dword [0x1406ff4dc]
add eax, 0x5e
mov ecx, dword [0x1406ff4dc]
add ecx, 9
mov edx, eax
call fcn.14015dd40
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1406ff4e0]
mov rdx, rax
mov rcx, qword [0x1406ff4a8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x1406ff4dc]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1406ff4e0]
mov rdx, rax
mov rcx, qword [0x1406ff4a8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret
Function at 0x14015f410
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x1404bc640]
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 0x14015f45e
xor eax, eax
jmp 0x14015f4d1
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 0x14015f4be
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.14033a524
test eax, eax
jne 0x14015f4aa
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x14015f4aa
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 0x14015f47a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x14015f4d1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14031cf30
add rsp, 0x288
ret

Function at 0x140161490
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea r8, [0x140486524]
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.1400c3ec0
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 + 0xb0]
call fcn.140072200
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 0x140161548
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [rsp + 0xb0]
call fcn.140072380
mov eax, dword [rsp + 0x20]
jmp 0x140161595
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x24]
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 + 0x24]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0xb0]
call fcn.140072380
mov eax, dword [rsp + 0x28]
add rsp, 0xa0
pop rdi
ret
Function at 0x140161860
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
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 + 0x38], rax
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rsp + 0x50]
call fcn.1400b6730
nop
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x70]
call fcn.140160ca0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.140160df0
lea r8, [0x140402e08]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x70]
call fcn.140160fc0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_IStream_Size]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_IStream_Reset]
mov eax, dword [rsp + 0x28]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140161f30
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x50]
call fcn.140161f00
mov r8d, dword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_IStream_Read]
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.140161da0
nop
mov r9d, 0x40
mov r8d, Ordinal_35
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0xc0]
call fcn.140161cd0
lea rcx, [rsp + 0x50]
call fcn.1400bae20
mov qword [rsp + 0x48], rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x50]
call fcn.140161f00
lea rcx, [rsp + 0xd0]
mov rdx, qword [rsp + 0x48]
mov r8, rdx
mov rdx, rax
call fcn.1400b8820
lea rcx, [rsp + 0xc0]
call fcn.140161c80
mov dword [rsp + 0x2c], Ordinal_45
lea rdx, [rsp + 0x2c]
lea rcx, [rsp + 0x68]
call fcn.140062bc0
mov rcx, rax
call fcn.140062be0
nop
lea rcx, [rsp + 0xc0]
call fcn.140161a60
nop
lea rcx, [rsp + 0x70]
call fcn.140160db0
nop
lea rcx, [rsp + 0x50]
call fcn.1400b7dc0
add rsp, 0x1e8
ret
Function at 0x140189870
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 [0x1404bc640]
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 0x1401898dc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1401a84f0
jmp 0x1401899ba
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 0x14018990c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1401a84f0
jmp 0x1401899ba
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140189930
cmp ecx, 1
je 0x14018991f
mov ebx, r14d
call fcn.14018a3a0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140189935
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140489960]
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.140199860
lea rcx, [rsp + 0x58]
call fcn.140189700
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.14018a000
test al, al
je 0x1401899a9
mov dword [r15], 1
jmp 0x1401899b8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140195910
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14031cf30
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140189870
Function at 0x140199130
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 [0x1406f9660], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1401991df
test rdi, rdi
je 0x1401991df
mov eax, dword [0x1406f9664]
test eax, eax
jne 0x1401991d7
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.140198e80
mov ecx, 2
call fcn.140333b78
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.140199830
mov rcx, qword [0x1406f9658]
call fcn.14032cf78
call fcn.14033cbb4
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 [0x1406f9664], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x140199207
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.140198e80
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140199280
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 [0x1406f9660], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14019932f
test rdi, rdi
je 0x14019932f
mov eax, dword [0x1406f9664]
test eax, eax
jne 0x140199327
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.140198e80
mov ecx, 2
call fcn.140333b78
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.140199830
mov rcx, qword [0x1406f9658]
call fcn.14032cf78
call fcn.14033cbb4
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 [0x1406f9664], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x140199357
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.140198e80
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401a8870
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 [0x1404bc640]
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 0x1401898dc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1401a84f0
jmp 0x1401899ba
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 0x14018990c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1401a84f0
jmp 0x1401899ba
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x140189930
cmp ecx, 1
je 0x14018991f
mov ebx, r14d
call fcn.14018a3a0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x140189935
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140489960]
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.140199860
lea rcx, [rsp + 0x58]
call fcn.140189700
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.14018a000
test al, al
je 0x1401899a9
mov dword [r15], 1
jmp 0x1401899b8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.140195910
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14031cf30
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x140189870
Function at 0x1401ac6b0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x1404bc640]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x1406f9920], 0
mov r14, rcx
jne 0x1401ac6e9
call fcn.1401e5730
test eax, eax
je 0x1401ac707
mov byte [0x1406f9920], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14031cf30
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1401ac726
mov edx, 0x400
call fcn.1401e67d0
call fcn.1401e5730
test eax, eax
jne 0x1401ac6e9
mov qword [rsp + 0x218], rbx
xor r15d, r15d
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x1f0], rdi
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
movsd xmm7, qword [0x140380398]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.140189700
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.140195800
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.140189700
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.140189700
mov rdx, rbx
lea rcx, [rdi - 2]
add rdx, qword [rax]
movq rax, xmm6
imul rdx, rdi
imul rcx, rax
shl rdx, 8
xor rdx, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
call fcn.140189700
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.140189700
mov ecx, dword [rbx + 8]
lea rbp, [rbp + 0x10]
add ecx, dword [rax]
lea eax, [rsi + 4]
imul ecx, eax
lea eax, [rsi + 2]
imul eax, dword [rsp + 0x28]
inc rsi
shl ecx, 0x10
xor ecx, eax
mov dword [rsp + 0x28], ecx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x10], xmm0
cmp rsi, 4
jb 0x1401ac780
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.1401e5460
call fcn.1401e5730
test eax, eax
je 0x1401ac770
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.1401e6560
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x218]
cmp byte [rsp + 0xc0], r15b
je 0x1401ac8bd
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.1401e67d0
call fcn.1401e5730
test eax, eax
jne 0x1401ac6e9
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.140195a90
call fcn.1401e5730
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1401ac6eb