joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c537
Capabilities:
Create thread

Disassembly:
jmp 0x140027e00
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14007c270]
call fcn.14001daef
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001c7da
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.14001cd4d
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.14001c591
nop
lea rcx, [rbp + 0x108]
call fcn.14001caf0
lea rax, [0x14001d202]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14001d298
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140027f00
lea rcx, [rbp + 8]
call fcn.14001cb63
jmp 0x140027f19
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001c5cd
nop
lea rcx, [rbp + 8]
call fcn.14001caf0
lea rcx, [rbp - 0x30]
lea rdx, [0x1400615b0]
call fcn.14001d6e4
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x14001c53c
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140029260
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14007c1a7]
call fcn.14001daef
mov eax, dword [rbp + 0x108]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x100]
mov r8d, dword [rbp + 0xf8]
mov edx, dword [rbp + 0xf0]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001caeb
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14004ef20
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14007c0f2]
call fcn.14001daef
mov dword [rbp + 4], 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x14004efae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x44], eax
mov edx, select
lea rcx, [rbp + 0x68]
call fcn.14001ce24
call fcn.14001d77f
mov r8, rax
mov edx, dword [rbp + 0x44]
lea rcx, [rbp + 0x68]
call fcn.14001d9be
lea rdx, [0x14006259c]
lea rcx, [rbp + 0x68]
call fcn.14001cac3
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005d750]
call fcn.14001d6e4
mov eax, edi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x14001cc26
Capabilities:
Terminate thread

Disassembly:
jmp 0x140047e70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_ntohl
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x138]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0xe8], rax
lea rcx, [0x14007c157]
call fcn.14001daef
mov rax, qword [rbp + 0x110]
mov rax, qword [rax + 0x10]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
mov rax, qword [rax + 8]
mov qword [rbp + 0x10], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp + 8]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rax, qword [rbp + 0x110]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14001c235
movzx eax, al
test eax, eax
je 0x140047f21
xor edx, edx
mov rax, qword [rbp + 0x110]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140047f52
xor r8d, r8d
mov rax, qword [rbp + 0x110]
mov rdx, qword [rax + 8]
lea rcx, [0x14001c190]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov edx, 0xffffffff
mov rax, qword [rbp + 0x110]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rbp - 0x20]
lea rdx, [0x14005de10]
call fcn.14001d6e4
mov rcx, qword [rbp + 0xe8]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret
Function at 0x14001cdd4
Capabilities:
Get socket status

Disassembly:
jmp 0x140049930
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14007c1a7]
call fcn.14001daef
cmp qword [rbp + 0x450], 0xffffffffffffffff
jne 0x1400499ac
mov edx, 0x2719
mov rcx, qword [rbp + 0x468]
call fcn.14001cd98
mov eax, 0xffffffff
jmp 0x140049b2e
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x234], 0
jmp 0x1400499cd
mov eax, dword [rbp + 0x234]
inc eax
mov dword [rbp + 0x234], eax
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x234], eax
jae 0x1400499f0
mov eax, dword [rbp + 0x234]
mov rcx, qword [rbp + 0x450]
cmp qword [rbp + rax*8 + 0x18], rcx
jne 0x1400499ee
jmp 0x1400499f0
jmp 0x1400499bf
mov eax, dword [rbp + 0x10]
cmp dword [rbp + 0x234], eax
jne 0x140049a1b
cmp dword [rbp + 0x10], 0x40
jae 0x140049a1b
mov eax, dword [rbp + 0x234]
mov rcx, qword [rbp + 0x450]
mov qword [rbp + rax*8 + 0x18], rcx
mov eax, dword [rbp + 0x10]
inc eax
mov dword [rbp + 0x10], eax
xor eax, eax
test eax, eax
jne 0x1400499b3
movzx eax, byte [rbp + 0x458]
and eax, 1
test eax, eax
je 0x140049a53
mov dword [rbp + 0x258], 0
mov dword [rbp + 0x25c], 0
lea rax, [rbp + 0x258]
mov qword [rbp + 0x278], rax
jmp 0x140049aa7
cmp dword [rbp + 0x460], 0
jl 0x140049a9c
mov eax, dword [rbp + 0x460]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rbp + 0x258], eax
mov eax, dword [rbp + 0x460]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rbp + 0x25c], eax
lea rax, [rbp + 0x258]
mov qword [rbp + 0x278], rax
jmp 0x140049aa7
mov qword [rbp + 0x278], 0
mov rax, qword [rbp + 0x450]
inc rax
mov rcx, qword [rbp + 0x278]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rbp + 0x10]
xor edx, edx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rbp + 0x294], eax
cmp dword [rbp + 0x294], 0
jge 0x140049ae6
mov byte [rbp + 0x424], 1
jmp 0x140049aed
mov byte [rbp + 0x424], 0
movzx edx, byte [rbp + 0x424]
mov rcx, qword [rbp + 0x468]
call fcn.14001d9e6
cmp dword [rbp + 0x294], 0
jne 0x140049b28
movzx eax, byte [rbp + 0x458]
and eax, 1
test eax, eax
je 0x140049b28
mov edx, 0x2733
mov rcx, qword [rbp + 0x468]
call fcn.14001cd98
mov eax, dword [rbp + 0x294]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14005f2a0]
call fcn.14001d6e4
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x14001ce6a
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x14004d2f0
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2e8]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x14007c17c]
call fcn.14001daef
mov rax, qword [rbp + 0x2c0]
mov ecx, 1
lock xadd dword [rax], ecx
inc ecx
mov eax, ecx
cmp eax, 1
jne 0x14004d3a7
movzx eax, byte [rbp + 0x2c8]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rbp + 0x2d0]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
lea rdx, [rbp + 0x10]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbp + 0x1c4], eax
mov rax, qword [rbp + 0x2c0]
add rax, 4
mov ecx, dword [rbp + 0x1c4]
xchg dword [rax], ecx
lea rcx, [rbp - 0x20]
lea rdx, [0x14005e080]
call fcn.14001d6e4
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret

Function at 0x14001cf23
Capabilities:
Terminate process

Disassembly:
jmp 0x140052ae0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001d1b2
Capabilities:
Get geographical location

Disassembly:
jmp 0x14004f730
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14004f76d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001dae0
add rsp, 0x58
ret
Function at 0x14001d2e3
Capabilities:
Set socket configuration

Disassembly:
jmp 0x14004cad0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_select
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x158]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14007c1a7]
call fcn.14001daef
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x130]
mov edx, dword [rbp + 0x128]
mov ecx, dword [rbp + 0x120]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14004cb65
mov byte [rbp + 0xf4], 1
jmp 0x14004cb6c
mov byte [rbp + 0xf4], 0
movzx edx, byte [rbp + 0xf4]
mov rcx, qword [rbp + 0x138]
call fcn.14001d9e6
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14004cb8c
mov rax, qword [rbp + 8]
jmp 0x14004cbc1
cmp dword [rbp + 0x120], 0x17
jne 0x14004cbbd
mov dword [rbp + 0x24], 0
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x24]
mov r8d, 0x1b
mov edx, 0x29
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14005f1d0]
call fcn.14001d6e4
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14001d30b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140051e90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140051eb0
xor al, al
jmp 0x140051f31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140051ec3
xor al, al
jmp 0x140051f31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140051eed
xor al, al
jmp 0x140051f31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140051f01
xor al, al
jmp 0x140051f31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140051f13
xor al, al
jmp 0x140051f31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140051f2f
xor al, al
jmp 0x140051f31
mov al, 1
add rsp, 0x38
ret
Function at 0x14001d3bf
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14004bcd0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007c1a7]
call fcn.14001daef
mov eax, dword [rbp + 0x170]
mov dword [rbp + 4], eax
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x178]
mov dword [rbp + 0x44], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x24]
mov r8d, dword [rbp + 4]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rbp + 0x64], eax
mov dl, 1
mov rcx, qword [rbp + 0x180]
call fcn.14001d9e6
mov rcx, qword [rbp + 0x180]
call fcn.14001db35
cmp eax, 0x40
jne 0x14004bdab
mov edx, 0x2746
mov rcx, qword [rbp + 0x180]
call fcn.14001cd98
jmp 0x14004bdcf
mov rcx, qword [rbp + 0x180]
call fcn.14001db35
cmp eax, 0x4d2
jne 0x14004bdcf
mov edx, 0x274d
mov rcx, qword [rbp + 0x180]
call fcn.14001cd98
cmp dword [rbp + 0x64], 0
je 0x14004bddc
mov eax, 0xffffffff
jmp 0x14004bdeb
mov rcx, qword [rbp + 0x180]
call fcn.14001c35c
mov eax, dword [rbp + 0x24]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14005f150]
call fcn.14001d6e4
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001d833
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400431a0
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140071258]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x14007c1a7]
call fcn.14001daef
mov dword [rbp + 4], 0
cmp qword [rbp + 0x1d0], 0xffffffffffffffff
je 0x14004338b
movzx eax, byte [rbp + 0x1e0]
test eax, eax
je 0x140043286
mov rax, qword [rbp + 0x1d8]
movzx eax, byte [rax]
and eax, 8
test eax, eax
je 0x140043286
xor eax, eax
mov word [rbp + 0x24], ax
xor eax, eax
mov word [rbp + 0x26], ax
mov edx, select
lea rcx, [rbp + 0x48]
call fcn.14001ce24
lea rcx, [rbp + 0x48]
call fcn.14001dd92
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
mov r8d, 0xffff
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1d0]
call fcn.14001d559
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400432a5
mov byte [rbp + 0x1a4], 1
jmp 0x1400432ac
mov byte [rbp + 0x1a4], 0
movzx edx, byte [rbp + 0x1a4]
mov rcx, qword [rbp + 0x1e8]
call fcn.14001d9e6
cmp dword [rbp + 4], 0
je 0x14004338b
mov edx, 0x2733
lea rcx, [rbp + 0x158]
call fcn.14001d45a
lea rdx, [rbp + 0x158]
mov rcx, qword [rbp + 0x1e8]
call fcn.14001c302
movzx eax, al
test eax, eax
jne 0x14004331f
mov edx, 0x4d5
lea rcx, [rbp + 0x188]
call fcn.14001d45a
lea rdx, [rbp + 0x188]
mov rcx, qword [rbp + 0x1e8]
call fcn.14001c302
movzx eax, al
test eax, eax
je 0x14004338b
mov dword [rbp + 0x74], 0
lea r8, [rbp + 0x74]
mov edx, 0x8004667e
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rbp + 0x1d8]
movzx eax, byte [rax]
and eax, 0xfffffffc
mov rcx, qword [rbp + 0x1d8]
mov byte [rcx], al
mov rcx, qword [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140043371
mov byte [rbp + 0x1a4], 1
jmp 0x140043378
mov byte [rbp + 0x1a4], 0
movzx edx, byte [rbp + 0x1a4]
mov rcx, qword [rbp + 0x1e8]
call fcn.14001d9e6
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14001d6e4
mov eax, edi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.14001cd02
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret

Function at 0x14001dc89
Capabilities:
Connect socket

Disassembly:
jmp 0x1400290f0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14007c1a7]
call fcn.14001daef
mov r8d, dword [rbp + 0xf8]
mov rdx, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.WS2_32.dll_connect]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400030d0
Capabilities:
Create process on windows
Self delete

Disassembly:
sub rsp, 0x418
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x400], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0xe0]
xor eax, eax
mov r8d, 0x104
xor ecx, ecx
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r9, [rsp + 0xe0]
mov edx, 0x208
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
lea rcx, [rsp + 0x1f0]
call fcn.1400023b0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x1f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.140005bf0
add rsp, 0x418
ret
Function at 0x140003850
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x140003881
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140003922
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400038f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400038ef
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400039ce
mov rcx, r8
call fcn.140005f6c
mov al, 1
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005bf0
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x14000393c
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400039b0
lea rdx, [rdx*2 + 2]
jmp 0x140003987
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x29200
mov qword [rsp + 0x20], rbp
lea rdx, [0x14000c050]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1400039b7
cmp rax, 8
jb 0x1400039b0
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400039ab
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400039ce
mov rcx, r8
call fcn.140005f6c
xor al, al
jmp 0x1400038f6
cmp rax, 8
jb 0x1400038f4
lea rdx, [rax*2 + 2]
jmp 0x1400038c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4153c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x415566
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004314a0
xorps xmm15, xmm15
mov r14, qword [0x006119d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41542b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415440
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x415465
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415479
cmp rbx, 0x1000
jae 0x415435
nop dword [rax]
jmp 0x4154e9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x41548d
xor edx, edx
jmp 0x4154e0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004314a0
xorps xmm15, xmm15
mov r14, qword [0x006119d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x41546f
jmp 0x415454
call fcn.00460cc0
xorps xmm15, xmm15
mov r14, qword [0x006119d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435a40
lea rax, [0x004ee20e]
mov ebx, 0x18
call fcn.00436340
mov rax, qword [rsp + 0x38]
call fcn.00436040
lea rax, [0x004ee2ce]
mov ebx, 0x19
call fcn.00436340
mov rax, qword [rsp + 0x30]
nop
call fcn.00436040
call fcn.00435ca0
call fcn.00435ac0
lea rax, [0x004f0771]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00434100
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d120
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004153c0