joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ff8a0
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, 0x1b8
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1c0]
mov byte [rax], 0
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x30], rax
lea rdx, [0x140557f43]
mov rcx, qword [rsp + 0x30]
call fcn.14006cb90
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x28
mov qword [rsp + 0x38], rax
lea rdx, [0x140557f43]
mov rcx, qword [rsp + 0x38]
call fcn.14006cb90
nop
mov rax, qword [rsp + 0x1c0]
add rax, 0x48
mov qword [rsp + 0x40], rax
lea rdx, [0x140557f43]
mov rcx, qword [rsp + 0x40]
call fcn.14006cb90
nop
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x68], 0
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x78], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x79], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x7a], 0
mov rax, qword [rsp + 0x1c0]
mov byte [rax + 0x7b], 0
mov rax, qword [rsp + 0x1c0]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, qword [rsp + 0x1c8]
mov rcx, rax
call fcn.14006c9e0
xor r8d, r8d
mov dl, 0x3a
mov rcx, qword [rsp + 0x1c8]
call fcn.1400833b0
cmp rax, 0xffffffffffffffff
jne 0x1401ffa5d
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14006cb90
nop
lea rdx, [0x14056573c]
lea rcx, [rsp + 0x70]
call fcn.1401737a0
mov r8, qword [rsp + 0x1c8]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140204dd0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400834c0
lea rcx, [rsp + 0x50]
call fcn.14006ca40
nop
lea rcx, [rsp + 0x70]
call fcn.14006ca40
mov rax, qword [rsp + 0x1c0]
add rax, 0x28
mov rdx, qword [rsp + 0x1d0]
mov rcx, rax
call fcn.14006c9e0
mov rax, qword [rsp + 0x1c0]
add rax, 0x48
mov rdx, qword [rsp + 0x1d8]
mov rcx, rax
call fcn.14006c9e0
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1e0]
mov qword [rax + 0x68], rcx
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1e8]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov rdx, rax
mov rcx, qword [rsp + 0x1c0]
call fcn.1401ff830
movzx eax, al
test eax, eax
je 0x1401ffae2
jmp 0x1401ffb1e
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov dword [rsp + 0x20], 1
mov r9, rax
mov rax, qword [rsp + 0x1c0]
mov r8d, dword [rax + 0x70]
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x68]
mov rcx, qword [rsp + 0x1c0]
call fcn.1401ff740
mov rcx, qword [rsp + 0x1c0]
call fcn.1401ffe10
nop
mov rax, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x1b8
ret
Function at 0x140203210
Capabilities:
Get graphical window text

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x168
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14052f788]
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov qword [rsp + 0x20], rax
mov r8d, 0x100
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14006cb90
xor r8d, r8d
lea rdx, [0x140557b48]
lea rcx, [rsp + 0x30]
call fcn.14006c880
cmp rax, 0xffffffffffffffff
je 0x1402032ac
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
call fcn.14006ca40
mov rax, qword [rsp + 0x28]
jmp 0x1402032c4
lea rcx, [rsp + 0x30]
call fcn.14006ca40
cmp qword [rsp + 0x20], 0
jne 0x140203236
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x168
ret
Function at 0x1402054e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140068290
mov rcx, qword [rsp + 0x68]
call fcn.140068b00
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1402055c0
nop
lea rax, [0x140205640]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.1400679a0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call fcn.1403ec79c
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14020558a
lea rcx, [rsp + 0x40]
call fcn.140096e40
jmp 0x1402055a1
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1403b3d84
nop
lea rcx, [rsp + 0x40]
call fcn.1400a79d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x58
ret

Function at 0x140205df0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x48
mov eax, dword [0x1406b0b80]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1f4
xor edx, edx
mov rcx, qword [0x1406b0b40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1406b0b84], eax
movsxd rax, dword [0x1406b0b84]
mov qword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_60
lea r8, [0x1405e5b78]
mov rdx, rax
mov rcx, qword [0x1406b0b40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, byte [0x1406b0b36]
cmp eax, 1
jne 0x140205e74
mov eax, dword [0x1406b0b84]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.14020a1b0
jmp 0x140205e92
movzx eax, byte [0x1406b0b34]
cmp eax, 1
jne 0x140205e92
mov eax, dword [0x1406b0b84]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.14020a1b0
movzx eax, byte [0x1406b0b35]
cmp eax, 1
jne 0x140205eb2
mov eax, dword [0x1406b0b84]
add eax, 0x13
mov dl, 0x40
mov ecx, eax
call fcn.14020a1b0
jmp 0x140205ed0
movzx eax, byte [0x1406b0af7]
cmp eax, 1
jne 0x140205ed0
mov eax, dword [0x1406b0b84]
add eax, 0x13
mov dl, 0x50
mov ecx, eax
call fcn.14020a1b0
mov eax, dword [0x1406b0b84]
add eax, 0x5e
mov ecx, dword [0x1406b0b84]
add ecx, 9
mov edx, eax
call fcn.140163ff0
mov eax, dword [rsp + 0x30]
add eax, 8
cdqe
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1406b0b70]
mov rdx, rax
mov rcx, qword [0x1406b0b40]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x1406b0b84]
mov qword [rsp + 0x20], 0
mov r9d, 7
lea r8, [0x1406b0b70]
mov rdx, rax
mov rcx, qword [0x1406b0b40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rsp, 0x48
ret
Function at 0x140208a70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [0x1406b0b4c]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8, qword [rsp + 0x70]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x70]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x58
ret
Function at 0x140210cc0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x180
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rcx, [0x1406e53a0]
call fcn.14006c8f0
mov qword [rsp + 0x70], rax
lea rcx, [0x1406e5430]
call fcn.14006c8f0
mov r8, rax
lea rdx, [0x1406e5410]
lea rcx, [rsp + 0xa8]
call fcn.140161e70
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, [0x14051a154]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x88]
call fcn.1400a2b60
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xc8]
call fcn.1400a2b60
nop
lea rcx, [rsp + 0x88]
call fcn.14006ca40
nop
lea rcx, [rsp + 0xa8]
call fcn.14006ca40
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x100], WSAGetLastError
lea rax, [rsp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_27
rep stosb byte [rdi], al
lea rcx, [rsp + 0xc8]
call fcn.14006c8f0
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rcx, [0x14051a014]
call fcn.1403eaa3c
lea rcx, [rsp + 0xc8]
call fcn.14006ca40
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x180
pop rdi
ret
Function at 0x140210f90
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.14020ffa0
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x68], rax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x50], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x60], rax
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x54]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, Ordinal_27
lea rcx, [rsp + 0xb0]
call fcn.140068290
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.140210220
nop
mov rcx, qword [rsp + 0x110]
call fcn.14006c8f0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x1402110da
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x78], rax
mov eax, 2
mul qword [rsp + 0x78]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1403d5fd8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.1403f7634
lea rdx, [rsp + 0xc8]
lea rcx, [0x140565740]
call fcn.140210e50
xor r9d, r9d
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xb0]
call fcn.140210180
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop
lea rcx, [rsp + 0xb0]
call fcn.140210370
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x108
ret
Function at 0x140213a80
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14059a600]
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 0x140213ace
xor eax, eax
jmp 0x140213b41
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 0x140213b2e
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call fcn.1403ed8f8
test eax, eax
jne 0x140213b1a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jbe 0x140213b1a
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 0x140213aea
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
jmp 0x140213b41
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x288
ret

Function at 0x1402146a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140214770
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8, qword [rsp + 0x80]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x80]
mov r8, qword [rsp + 0x78]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x58
ret
Function at 0x14023be60
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 [0x14059a600]
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 0x14023becc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.14025b4a0
jmp 0x14023bfaa
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 0x14023befc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.14025b4a0
jmp 0x14023bfaa
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x14023bf20
cmp ecx, 1
je 0x14023bf0f
mov ebx, r14d
call fcn.14023c990
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x14023bf25
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x14055dba4]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, listen
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14024c810
lea rcx, [rsp + 0x58]
call fcn.14023bcf0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.14023c5f0
test al, al
je 0x14023bf99
mov dword [r15], 1
jmp 0x14023bfa8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1402487f0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x14023be60
Function at 0x140248730
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 0x14024878e
mov dl, 1
call fcn.140236bb0
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.140236bb0
mov eax, ebx
jmp 0x1402487d0
cmp ebx, 2
ja 0x1402487ce
mov r9, qword [rdi + 0x668]
lea rdx, [0x140432cc0]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1403eb494
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.1403eb494
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 0x1402487f0
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 [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
jne 0x140248833
cmp qword [rcx + 0x678], 0
je 0x140248910
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.14024c920
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140248861
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1402488a8
cmp byte [rdi + 0x1528], 0
jne 0x1402488a8
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 0x140248890
mov byte [rdi + 0x1528], 1
cmp byte [rdi + 0xea6], 0
je 0x140248908
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140248961
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x140248929
mov dl, 1
mov rcx, rdi
call fcn.140236bb0
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.140236bb0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x140432cc0]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1403eb494
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1403eb494
jmp 0x140248908
call fcn.1403d60e8
int3
Function at 0x140248970
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x140248ad4
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 [0x14059a600]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
je 0x140248abc
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.14024c920
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140248a31
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1402489f0
cmp byte [rax + rcx - 1], 0xa
jne 0x140248a18
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x140248a2c
lea r8, [0x140432d44]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.14024c810
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140248a36
cmp qword [rdi + 0x718], 0
je 0x140248a7e
mov dl, 1
mov rcx, rdi
call fcn.140236bb0
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.140236bb0
jmp 0x140248ab4
mov r9, qword [rdi + 0x668]
lea rcx, [0x140432cc0]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1403eb494
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1403eb494
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1403d5a60
add rsp, 0x860
pop rdi
ret
Function at 0x14024b200
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.1404023c0
cdqe
add rsp, 0x28
ret

Function at 0x14024c0e0
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 [0x1406aa6a0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14024c18f
test rdi, rdi
je 0x14024c18f
mov eax, dword [0x1406aa6a4]
test eax, eax
jne 0x14024c187
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.14024be30
mov ecx, 2
call fcn.1403e97fc
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.14024c7e0
mov rcx, qword [0x1406aa698]
call fcn.1403eafa0
call fcn.1403ea720
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1406aa6a4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x14024c1b7
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.14024be30
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14024c230
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 [0x1406aa6a0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x14024c2df
test rdi, rdi
je 0x14024c2df
mov eax, dword [0x1406aa6a4]
test eax, eax
jne 0x14024c2d7
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.14024be30
mov ecx, 2
call fcn.1403e97fc
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.14024c7e0
mov rcx, qword [0x1406aa698]
call fcn.1403eafa0
call fcn.1403ea720
mov dword [rax], listen
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1406aa6a4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x14024c307
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.14024be30
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret