joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013fdbf
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1401a9100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, WSACleanup
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1406e8136]
call fcn.140143037
nop
mov rax, qword [rbp + 0x2a0]
mov byte [rax], 0
lea rdx, [rbp + 0x10]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1401a9170
mov rax, qword [rbp + 0x2a0]
mov byte [rax], 1
mov rax, qword [rbp + 0x2a0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1403da1b0]
call fcn.1401414cb
mov rax, rdi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret

Function at 0x14013fe3c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1402a7600
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1402a7620
xor al, al
jmp 0x1402a76a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1402a7633
xor al, al
jmp 0x1402a76a1
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 0x1402a765d
xor al, al
jmp 0x1402a76a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1402a7671
xor al, al
jmp 0x1402a76a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1402a7683
xor al, al
jmp 0x1402a76a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1402a769f
xor al, al
jmp 0x1402a76a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14013ffa4
Capabilities:
Query service status

Disassembly:
jmp 0x1401c9c20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x1b0], rax
lea rcx, [0x1406e815a]
call fcn.140143037
nop
mov r8d, 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1401c9cdf
lea rdx, str.Failed_to_open_service_manager._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x198]
call fcn.14013ca20
mov qword [rbp + 0x1a8], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x1a8]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c9e41
mov rdx, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x168]
call fcn.140141ba6
mov qword [rbp + 0x198], rax
mov rcx, qword [rbp + 0x198]
call fcn.140139e1f
mov r8d, 4
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x168]
call fcn.14013ad65
nop
cmp qword [rbp + 0x28], 0
jne 0x1401c9d95
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rdx, str.Failed_to_open_service._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x198]
call fcn.14013ca20
mov qword [rbp + 0x1a8], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x1a8]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c9e41
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp + 0x48]
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1401c9e28
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
lea rdx, str.Failed_to_query_service_status._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x198], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a0], eax
mov edx, dword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x198]
call fcn.14013ca20
mov qword [rbp + 0x1a8], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x1a8]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c9e41
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, dword [rbp + 0x64]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401414cb
mov rax, rdi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x1401401f2
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x1401c9770
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x40]
lea rcx, [0x1406e815f]
call fcn.140143037
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1401c97de
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x1401c98a6
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
jne 0x1401c9805
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x1401c98a6
mov eax, dword [rbp + 0x24]
mov qword [rbp + 0x138], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x138]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
jne 0x1401c984f
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x1401c98a6
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jne 0x1401c9897
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rbp + 0x48], 0
je 0x1401c9893
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
jmp 0x1401c98a6
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x48]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140140e3b
Capabilities:
Terminate process

Disassembly:
jmp 0x1402c9f70
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1402c9f9e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1401424b1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1401411bf
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x1401c8250
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x140], rax
lea rcx, [0x1406e815a]
call fcn.140143037
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 8]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1401c8304
lea rdx, str.Failed_to_open_process_token._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x128], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x130], eax
mov edx, dword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call fcn.14013ca20
mov qword [rbp + 0x138], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x138]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c8448
lea r8, [rbp + 0x58]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x1401c8380
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, str.Failed_to_lookup_privilege_value._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x128], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x130], eax
mov edx, dword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call fcn.14013ca20
mov qword [rbp + 0x138], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x138]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c8448
mov dword [rbp + 0x28], 1
mov eax, listen
imul rax, rax, 0
mov rcx, qword [rbp + 0x58]
mov qword [rbp + rax + 0x2c], rcx
mov eax, listen
imul rax, rax, 0
mov dword [rbp + rax + 0x34], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x1401c8438
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, str.Failed_to_adjust_token_privileges._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x128], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x130], eax
mov edx, dword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
call fcn.14013ca20
mov qword [rbp + 0x138], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x138]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c8448
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1401414cb
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x140142565
Capabilities:
Print debug messages

Disassembly:
jmp 0x140381b70
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1401427ea
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1402c8fe0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1402c8930
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1402c9029
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1406ea020]
jmp 0x1402c9038
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140142b5f
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x1402126d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1406e8136]
call fcn.140143037
nop
mov dword [rbp + 0xa4], 0x80
lea r8, [rbp + 0xa4]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140212768
mov r9, qword [rbp + 0x1b0]
mov r8, qword [rbp + 0x1a8]
mov edx, dword [rbp + 0xa4]
lea rcx, [rbp + 0x10]
call fcn.14013c697
nop
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401414cb
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140142dcb
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1401c8500
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x1406af1c0]
xor rax, rbp
mov qword [rbp + 0x2a0], rax
lea rcx, [0x1406e815a]
call fcn.140143037
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.14013db46
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x1401c85c2
lea rdx, str.Failed_to_create_snapshot._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x290], eax
mov edx, dword [rbp + 0x290]
mov rcx, qword [rbp + 0x288]
call fcn.14013ca20
mov qword [rbp + 0x298], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x298]
call fcn.14013e0fa
nop
xor eax, eax
jmp 0x1401c86c6
mov dword [rbp + 0x50], 0x130
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140141408
test eax, eax
je 0x1401c8665
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x198]
call fcn.14013db64
nop
mov rcx, qword [rbp + 0x2d0]
call fcn.14013c61a
mov qword [rbp + 0x288], rax
lea rcx, [rbp + 0x198]
call fcn.14013c61a
mov qword [rbp + 0x290], rax
mov rdx, qword [rbp + 0x288]
mov rcx, qword [rbp + 0x290]
call fcn.140142ca4
test eax, eax
jne 0x1401c8641
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x198]
call fcn.1401418c2
nop
jmp 0x1401c8663
lea rcx, [rbp + 0x198]
call fcn.1401418c2
nop
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1401430dc
test eax, eax
jne 0x1401c85de
jmp 0x1401c86b8
lea rdx, str.Failed_to_get_process_entry._Error:
lea rcx, [0x1406bc450]
call fcn.14013a0f9
mov qword [rbp + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x290], eax
mov edx, dword [rbp + 0x290]
mov rcx, qword [rbp + 0x288]
call fcn.14013ca20
mov qword [rbp + 0x298], rax
lea rdx, [0x1401395e1]
mov rcx, qword [rbp + 0x298]
call fcn.14013e0fa
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401414cb
mov rax, rdi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rbp
call fcn.14013dc90
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret
Function at 0x140142f2e
Capabilities:
Create thread

Disassembly:
jmp 0x14033b810
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x14033b83c
mov dword [rsp + 0x30], 1
jmp 0x14033b844
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14033b88d
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x1403f2e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.14013a1df
cmp eax, 1
jne 0x14033b88d
int3
cmp dword [rsp + 0x34], 0
jne 0x14033b8cf
call fcn.14013c8ef
mov dword [rax], reloc.WS2_32.dll_shutdown
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.1401419c6
xor eax, eax
jmp 0x14033b9d7
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.14033b300
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14033b100
lea rcx, [rsp + 0x40]
call fcn.14033b170
movzx eax, al
test eax, eax
jne 0x14033b91f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.14033b150
mov rax, qword [rsp + 0x50]
jmp 0x14033b9d7
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
call fcn.14033b4b0
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x14033aed0]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14033b99b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14013be9a
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.14033b150
mov rax, qword [rsp + 0x58]
jmp 0x14033b9d7
cmp qword [rsp + 0xa8], 0
je 0x14033b9b4
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.14033b470
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.14033b150
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x140143735
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x1401bf190
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1406e8136]
call fcn.140143037
nop
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 8]
mov r8, qword [rbp + 0xf0]
mov r8, qword [r8]
mov qword [rbp + 0xc0], r8
mov r9d, dword [rax]
mov r8d, dword [rcx]
mov rdx, qword [rdx]
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1401437cb
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140257980
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x140143bc2
Capabilities:
Move file

Disassembly:
jmp 0x14025c460
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14025c48c
xor eax, eax
jmp 0x14025c492
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x140350570
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x140350598
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.140350710
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14036c000
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14013acd9
sub rsp, rax
mov rax, qword [0x1406af1c0]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1406be3f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, listen
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14036c1fa
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14036c146
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14036c146
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14036c12b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], reloc.WS2_32.dll_listen
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14036c0c8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14036c1ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14036c219
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x14036c1f5
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14036c219
jmp 0x14036c09e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14013dc90
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14036c2c0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14013acd9
sub rsp, rax
mov rax, qword [0x1406af1c0]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1406be3f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, listen
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14036c4d5
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14036c419
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14036c419
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14036c3f9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14036c388
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14036c495
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14036c4f4
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jae 0x14036c4d0
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14036c4f4
jmp 0x14036c35e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, listen
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14013dc90
add rsp, 0x1498
pop rdi
pop rsi
ret