joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140013120
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 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014460
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014480
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014493
xor al, al
jmp 0x140014501
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 0x1400144bd
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144d1
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144e3
xor al, al
jmp 0x140014501
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144ff
xor al, al
jmp 0x140014501
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc54f670
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc550750
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc550072
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc572108]
test eax, eax
je 0x2fc55010a
lea rax, [0x2fc5720e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc572110]
mov qword [rbp - 8], rax
jmp 0x2fc5500ee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc5500e2
cmp qword [rbp - 0x10], 0
je 0x2fc5500e2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc5500a8
lea rax, [0x2fc5720e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc55010b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc550210
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc550238
mov eax, 0
jmp 0x2fc550286
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc550261
mov eax, 0
jmp 0x2fc550286
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc550281
mov eax, 0
jmp 0x2fc550286
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc55028c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc55030a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc550301
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc550301
mov rax, qword [rbp - 8]
jmp 0x2fc55031f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc5502d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001ce0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007a50
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007a50
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000d0a4]
mov rbx, rcx
test esi, esi
jle 0x140001e80
mov rax, qword [0x14000d0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001e25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001d80
mov rcx, rbx
call fcn.1400027a0
mov rdi, rax
test rax, rax
je 0x140001ea2
mov rax, qword [0x14000d0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400028e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000d0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001e1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001e30
add dword [0x14000d0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000d0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001e1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001ce0
nop dword [rax]
xor esi, esi
jmp 0x140001da8
mov rax, qword [0x14000d0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001ce0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001ce0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002410
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000d100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d0e0]
test rbx, rbx
je 0x14000246c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002463
test rsi, rsi
je 0x140002463
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002448
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400027a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a940]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400027c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400027c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400027c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000281d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002814
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400027c0
add rax, 0x28
cmp rax, r9
jne 0x140002800
xor eax, eax
ret

Function at 0x140002820
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a940]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000283f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002848
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000283f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400028e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a940]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400028ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002908
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x2fc4caae0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cb4e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cb57a
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cb55e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cb552
cmp qword [rbp - 0x10], 0
je 0x2fc4cb552
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cb518
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cb57b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cb680
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cb6a8
mov eax, 0
jmp 0x2fc4cb6f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cb6d1
mov eax, 0
jmp 0x2fc4cb6f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cb6f1
mov eax, 0
jmp 0x2fc4cb6f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cb6fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cb77a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cb771
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cb771
mov rax, qword [rbp - 8]
jmp 0x2fc4cb78f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cb744
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001046
Capabilities:
Terminate process

Disassembly:
jmp 0x1400165a0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x40]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400012ad
mov eax, 1
mov word [0x140029f54], ax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call fcn.14000105f
movsxd rax, dword [0x140029838]
mov edx, 2
mov rcx, rax
call sub.WS2_32.dll_shutdown
movsxd rax, dword [0x140029838]
mov rcx, rax
call sub.WS2_32.dll_closesocket
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14000117c
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b170
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 0x140001195
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x140019f00
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400298a8]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400012ad
mov eax, 0x101
mov word [rbp + 4], ax
lea rdx, [rbp + 0x30]
movzx ecx, word [rbp + 4]
call sub.WS2_32.dll_WSAStartup
mov dword [rbp + 0x1e4], eax
cmp dword [rbp + 0x1e4], 0
je 0x140019f64
jmp 0x140019f91
movzx eax, word [rbp + 0x30]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x140019f8c
movzx eax, word [rbp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x140019f91
call sub.WS2_32.dll_WSACleanup
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.14000124e
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.140001154
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret
Function at 0x1400011d6
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cf40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cf60
xor al, al
jmp 0x14001cfe1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cf73
xor al, al
jmp 0x14001cfe1
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 0x14001cf9d
xor al, al
jmp 0x14001cfe1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cfb1
xor al, al
jmp 0x14001cfe1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cfc3
xor al, al
jmp 0x14001cfe1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cfdf
xor al, al
jmp 0x14001cfe1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001294
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14001a0a0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400012ad
movsxd rax, dword [rbp + 0x100]
xor r9d, r9d
mov r8d, 1
mov rdx, qword [0x14002a770]
mov rcx, rax
call sub.WS2_32.dll_send
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 1
je 0x14001a0ff
call qword [sym.imp.ucrtbased.dll__errno]
mov edx, dword [rax]
lea rcx, str.udptest_first_write_failed___errno__d
call fcn.14000105f
cmp dword [0x140029f58], 0
je 0x14001a116
mov ecx, dword [0x140029f58]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001a184
xor eax, eax
mov word [0x140029f50], ax
mov dword [0x140029f58], 5
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7a69
mov rcx, qword [rbp + 0x108]
call fcn.1400011ae
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jle 0x14001a15d
movsxd rax, dword [rbp + 0x100]
mov edx, 2
mov rcx, rax
call sub.WS2_32.dll_shutdown
movsxd rax, dword [rbp + 4]
mov rcx, rax
call sub.WS2_32.dll_closesocket
mov dword [0x140029f58], 0
movzx eax, word [0x140029f50]
inc ax
mov word [0x140029f50], ax
call qword [sym.imp.ucrtbased.dll__errno]
mov dword [rax], 0
movsxd rax, dword [rbp + 0x100]
xor r9d, r9d
mov r8d, 1
mov rdx, qword [0x14002a770]
mov rcx, rax
call sub.WS2_32.dll_send
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 1
jne 0x14001a1c0
mov eax, dword [rbp + 0x100]
jmp 0x14001a1e8
movsxd rax, dword [rbp + 0x100]
mov edx, 2
mov rcx, rax
call sub.WS2_32.dll_shutdown
movsxd rax, dword [rbp + 0x100]
mov rcx, rax
call sub.WS2_32.dll_closesocket
mov eax, 0xffffffff
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400165a0
Capabilities:
Terminate process

Disassembly:
jmp 0x1400165a0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x40]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400012ad
mov eax, 1
mov word [0x140029f54], ax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call fcn.14000105f
movsxd rax, dword [0x140029838]
mov edx, 2
mov rcx, rax
call sub.WS2_32.dll_shutdown
movsxd rax, dword [0x140029838]
mov rcx, rax
call sub.WS2_32.dll_closesocket
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140019f00
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x140019f00
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x82
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400298a8]
xor rax, rbp
mov qword [rbp + 0x2b8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400012ad
mov eax, 0x101
mov word [rbp + 4], ax
lea rdx, [rbp + 0x30]
movzx ecx, word [rbp + 4]
call sub.WS2_32.dll_WSAStartup
mov dword [rbp + 0x1e4], eax
cmp dword [rbp + 0x1e4], 0
je 0x140019f64
jmp 0x140019f91
movzx eax, word [rbp + 0x30]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x140019f8c
movzx eax, word [rbp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x140019f91
call sub.WS2_32.dll_WSACleanup
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_accept
call fcn.14000124e
mov rcx, qword [rbp + 0x2b8]
xor rcx, rbp
call fcn.140001154
lea rsp, [rbp + 0x2c8]
pop rdi
pop rbp
ret

Function at 0x14001a0a0
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x14001a0a0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400012ad
movsxd rax, dword [rbp + 0x100]
xor r9d, r9d
mov r8d, 1
mov rdx, qword [0x14002a770]
mov rcx, rax
call sub.WS2_32.dll_send
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 1
je 0x14001a0ff
call qword [sym.imp.ucrtbased.dll__errno]
mov edx, dword [rax]
lea rcx, str.udptest_first_write_failed___errno__d
call fcn.14000105f
cmp dword [0x140029f58], 0
je 0x14001a116
mov ecx, dword [0x140029f58]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001a184
xor eax, eax
mov word [0x140029f50], ax
mov dword [0x140029f58], 5
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7a69
mov rcx, qword [rbp + 0x108]
call fcn.1400011ae
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jle 0x14001a15d
movsxd rax, dword [rbp + 0x100]
mov edx, 2
mov rcx, rax
call sub.WS2_32.dll_shutdown
movsxd rax, dword [rbp + 4]
mov rcx, rax
call sub.WS2_32.dll_closesocket
mov dword [0x140029f58], 0
movzx eax, word [0x140029f50]
inc ax
mov word [0x140029f50], ax
call qword [sym.imp.ucrtbased.dll__errno]
mov dword [rax], 0
movsxd rax, dword [rbp + 0x100]
xor r9d, r9d
mov r8d, 1
mov rdx, qword [0x14002a770]
mov rcx, rax
call sub.WS2_32.dll_send
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 1
jne 0x14001a1c0
mov eax, dword [rbp + 0x100]
jmp 0x14001a1e8
movsxd rax, dword [rbp + 0x100]
mov edx, 2
mov rcx, rax
call sub.WS2_32.dll_shutdown
movsxd rax, dword [rbp + 0x100]
mov rcx, rax
call sub.WS2_32.dll_closesocket
mov eax, 0xffffffff
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14004f89b
Capabilities:
Encode data using xor

Disassembly:
lea rdi, [rdi + 0x5ad970ea]
mov rbx, rdi
je 0x1401bbd0b
mov rdi, qword [rsp + 0x10]
sub bl, bh
mov bl, 0x55
neg bx
fbstp tbyte [rbx - 0x240899ab]
movsx ebx, bx
call fcn.140072ced
in al, dx
xor eax, 0xd2c3aba2
xchg ecx, eax
jge 0x14004f8b1
add dword [rbx + rcx*4 + 0x5ba5a9e8], esp
ja 0x14004f8a5
cmp al, al
xor bh, dl
lodsd eax, dword [rsi]
sub dword ds:[rcx], edx
mov word [rcx - 0x5c], ss
fcomp st(2)
xchg dword [rdi], ebx
cld
or cl, byte [0x1014b83ed]
and bl, byte [rax + 0x66ed0d05]
mov ch, 0x42
test dword [rdx - 0x478f47dc], 0xebbda1e7
mov edi, 0x34826e1d
invalid
call fcn.14005c79c
or dl, byte [rdx - 0x18]
scasb al, byte [rdi]
sub dh, 0xff
mov ebx, 0xee2624e8
jmp [rsi - 0x46b763af]

Function at 0x140075e65
Capabilities:
Encode data using xor

Disassembly:
push qword [rsp + 0x50]
popfq
lea rsp, [rsp + 0x68]
call fcn.140127f43
cld
xor bl, byte [rbx + rax - 0x73]
loope 0x140075e75
out 0xbf, eax
push 0x403f2114
lahf
loopne 0x140075e7d
call 0xd244af49
stosb byte [rdi], al
mov edi, 0x1ba2f814
lodsd eax, dword [rsi]
fnstcw word [rax]
sar byte [rdi - 0x6ba8332e], 0xbf
imul edx, dword [rsi - 0x65], 0xfffffff4
mov edi, 0x2621d03f
sub eax, 0x40330ec8
mov dh, 0xd2
out dx, al
mov edi, 0x1c6bffb3
test byte [rdx - 0x50], 0xc4
mov edi, 0x1369b691
push rbx
add edx, dword [rcx + 0x40]
retf 0x33ae