joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14019e930
Capabilities:
Manipulate console buffer

Disassembly:
push rsi
sub rsp, 0xa0
mov word [rsp + 0x2c], dx
mov word [rsp + 0x2e], r8w
test dx, dx
js 0x14019e974
test r8w, r8w
js 0x14019e9c2
mov rcx, qword [rcx + 0x10]
shl r8d, 0x10
movzx edx, dx
or edx, r8d
call sub.KERNEL32.dll_SetConsoleCursorPosition
test eax, eax
je 0x14019ea32
xor eax, eax
add rsp, 0xa0
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [fcn.1402278d0]
mov qword [rsp + 0x38], rax
lea rax, str.Argument_Out_of_Range_Exception_when_setting_cursor_position_to_X:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x70]
jmp 0x14019ea11
lea rax, [rsp + 0x2e]
mov qword [rsp + 0x30], rax
lea rax, [fcn.1402278d0]
mov qword [rsp + 0x38], rax
lea rax, [0x1402bfa58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rsi, [rsp + 0x88]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140219310
mov cl, 0x27
mov rdx, rsi
call fcn.14019e0a0
nop
add rsp, 0xa0
pop rsi
ret
call fcn.14020e220
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.1400c4e20
call fcn.14020e220
shl rax, 0x20
or rax, 2
add rsp, 0xa0
pop rsi
ret
Function at 0x1401a8510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
test rdx, rdx
je 0x1401a86e1
add rdx, rcx
xor eax, eax
xor r9d, r9d
jmp 0x1401a854a
xor r11b, 1
movzx r8d, r11b
add rax, r8
mov r8d, r9d
mov r9d, r8d
cmp rcx, rdx
je 0x1401a86e3
movzx r10d, byte [rcx]
test r10b, r10b
js 0x1401a8570
inc rcx
mov r8b, 1
cmp r10d, 0x20
jae 0x1401a8600
jmp 0x1401a853e
mov r8d, r10d
and r8d, 0x1f
movzx esi, byte [rcx + 1]
and esi, 0x3f
cmp r10b, 0xe0
jb 0x1401a85c6
movzx r11d, byte [rcx + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r10b, 0xf0
jb 0x1401a85e2
movzx r10d, byte [rcx + 3]
add rcx, 4
and r8d, 7
shl r8d, 0x12
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
or r10d, r8d
mov r8b, 1
cmp r10d, 0x20
jae 0x1401a8600
jmp 0x1401a853e
add rcx, 2
shl r8d, 6
or r8d, esi
mov r10d, r8d
mov r8b, 1
cmp r10d, 0x20
jae 0x1401a8600
jmp 0x1401a853e
add rcx, 3
shl r8d, 0xc
or r11d, r8d
mov r10d, r11d
mov r8b, 1
cmp r10d, 0x20
jb 0x1401a853e
nop dword [rax]
cmp r10d, 0x7f
je 0x1401a853e
mov r11d, r9d
and r11b, 1
je 0x1401a8530
cmp r10d, 0x6d
jne 0x1401a8530
cmp rcx, rdx
je 0x1401a86e3
movzx r10d, byte [rcx]
test r10b, r10b
js 0x1401a8645
inc rcx
cmp r10d, 0x20
jae 0x1401a86c9
jmp 0x1401a853e
mov r9d, r10d
and r9d, 0x1f
movzx esi, byte [rcx + 1]
and esi, 0x3f
cmp r10b, 0xdf
jbe 0x1401a8698
movzx r11d, byte [rcx + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r10b, 0xf0
jb 0x1401a86b1
movzx r10d, byte [rcx + 3]
add rcx, 4
and r9d, 7
shl r9d, 0x12
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
or r10d, r9d
cmp r10d, 0x20
jae 0x1401a86c9
jmp 0x1401a853e
add rcx, 2
shl r9d, 6
or r9d, esi
mov r10d, r9d
cmp r10d, 0x20
jae 0x1401a86c9
jmp 0x1401a853e
add rcx, 3
shl r9d, 0xc
or r11d, r9d
mov r10d, r11d
cmp r10d, 0x20
jb 0x1401a853e
xor r11d, r11d
mov r9d, 0
cmp r10d, 0x7f
jne 0x1401a8530
jmp 0x1401a853e
xor eax, eax
pop rsi
ret
Function at 0x1401facb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
cmp byte [rsp + 0x118], 0x6d
jne 0x1401fb80e
cmp byte [rsp + 0x110], 0
jne 0x1401fb80e
mov esi, dword [rcx + 0x18]
mov r13d, dword [rcx + 0x1c]
mov dword [rsp + 0x6c], r13d
mov r8d, esi
shr r8d, 8
mov dword [rsp + 0x68], r8d
mov r8d, esi
shr r8d, 0x10
mov dword [rsp + 0x78], r8d
mov r12d, esi
shr r12d, 0x18
mov r8d, r13d
shr r8d, 8
mov dword [rsp + 0x64], r8d
mov r15d, r13d
shr r15d, 0x10
shr r13d, 0x18
mov ebx, dword [rcx + 0x20]
mov edi, ebx
shr edi, 8
mov r14d, ebx
shr r14d, 0x10
mov ebp, ebx
shr ebp, 0x18
mov qword [rsp + 0x90], rcx
movzx eax, word [rcx + 0x24]
mov word [rsp + 0x5a], ax
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x98]
call fcn.1401fc7b0
mov dword [rsp + 0x8c], r12d
mov dword [rsp + 0x38], r12d
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x3c], ecx
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x74], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x84], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x88], r15d
mov dword [rsp + 0x34], r15d
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rsp + 0x6c]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x7c], ebp
mov dword [rsp + 0x4c], ebp
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x48], ebx
movzx ecx, word [rsp + 0x5a]
mov ebx, ecx
test rax, rax
je 0x1401fb69e
lea r14, [0x1402c8e30]
lea rbp, [0x1402c8e5c]
lea r12, [0x1402c8e44]
xor esi, esi
xor r13d, r13d
mov dword [rsp + 0x5c], ecx
xor r15d, r15d
mov dword [rsp + 0x44], ecx
xor edi, edi
movzx ecx, word [rsp + 0x5a]
mov ebx, ecx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x54], ecx
mov ecx, dword [rsp + 0x80]

Function at 0x140201160
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x140201fd0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140202070
jmp 0x14020205f
jae 0x14020212f
cmp r8, 0x201
jae 0x140202070
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1402020c7
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14020209f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14023bbd0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1402020f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14020219b
mov r8d, r13d
cmp r12, r8
jne 0x140202050
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1402021cf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14020205f
jmp 0x140202070
cmp r14, r8
jb 0x1402021e9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140206be0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140202184
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1400b32e0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14020216f
jmp 0x140202184
lea rcx, str.internal_error:_entered_unreachable_code_rustc_eeb90cda1969383f56a2637cbd3037bdf598841clibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14023ded0
jmp 0x1402021fe
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14023e360
ud2
Function at 0x140206a60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140206a95
movsxd rdx, eax
xor ecx, ecx
jmp 0x140206ab9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x140206ab9
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x140206b09
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2

Function at 0x14020d780
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402cbdf8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14020d7b8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14020d80f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14020d81c
xor edx, edx
xor eax, eax
jmp 0x14020d846
cmp eax, 0x103
je 0x14020d850
test eax, eax
js 0x14020d82f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14020d846
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1402cbe60]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1402062c0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401fed10
mov ecx, 7
int 0x29
ud2
Function at 0x14020d8a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402cbdf8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14020d8d8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14020d936
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14020d963
test eax, eax
js 0x14020d942
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14020d959
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1402cbe60]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1402062c0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401fed10
mov ecx, 7
int 0x29
ud2

Function at 0x14020df10
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov r14d, 0x17
cmove r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14020dff1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14020df78
mov esi, eax
cmp eax, 0x2726
jne 0x14020dfe4
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14020dfdc
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14020dff1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x14020dff1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x14020e010
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov r10, r8
mov rsi, rcx
mov eax, dword [rbp + 0x80]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp + 0x3c], 0x80
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
lea rcx, [rbp + 0x3c]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, rdx
mov rdx, r10
mov r9d, eax
call qword [sym.imp.ws2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x14020e0c5
mov ecx, dword [rbp + 0x3c]
movzx edx, word [rbp - 0x50]
cmp edx, 0x17
je 0x14020e11a
cmp edx, 2
jne 0x14020e111
cmp ecx, 0xf
jbe 0x14020e1e0
mov ecx, dword [rbp - 0x4c]
movzx edx, word [rbp - 0x4e]
rol dx, 8
movzx edx, dx
shl rdx, 0x20
or rdx, rcx
xor edi, edi
jmp 0x14020e146
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x14020e170
mov eax, dword [rbp + 0x3c]
movzx ecx, word [rbp - 0x50]
cmp ecx, 0x17
je 0x14020e183
cmp ecx, 2
jne 0x14020e111
cmp eax, 0xf
jbe 0x14020e1e0
mov eax, dword [rbp - 0x4c]
movzx ecx, word [rbp - 0x4e]
rol cx, 8
movzx ecx, cx
shl rcx, 0x20
or rcx, rax
xor r11d, r11d
jmp 0x14020e1ab
lea rax, str.invalid_argument
jmp 0x14020e178
cmp ecx, 0x1b
jbe 0x14020e1f8
movzx ecx, word [rbp - 0x4e]
rol cx, 8
mov r9d, dword [rbp - 0x4c]
mov r8d, dword [rbp - 0x38]
mov edx, dword [rbp - 0x48]
shl rdx, 0x10
mov r11, qword [rbp - 0x44]
mov di, 1
mov r10d, dword [rbp - 0x3c]
cdqe
mov qword [rsi], rax
mov word [rsi + 8], di
mov dword [rsi + 0xa], edx
shr rdx, 0x20
mov word [rsi + 0xe], dx
mov qword [rsi + 0x10], r11
mov dword [rsi + 0x18], r10d
mov dword [rsi + 0x1c], r9d
mov dword [rsi + 0x20], r8d
mov word [rsi + 0x24], cx
jmp 0x14020e1d5
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov word [rsi + 8], 2
jmp 0x14020e1d5
cmp eax, 0x1b
jbe 0x14020e1f8
movzx eax, word [rbp - 0x4e]
rol ax, 8
mov r8d, dword [rbp - 0x4c]
mov edx, dword [rbp - 0x38]
mov ecx, dword [rbp - 0x48]
shl rcx, 0x10
mov r10, qword [rbp - 0x44]
mov r11w, 1
mov r9d, dword [rbp - 0x3c]
mov qword [rsi], 0
mov word [rsi + 8], r11w
mov dword [rsi + 0xa], ecx
shr rcx, 0x20
mov word [rsi + 0xe], cx
mov qword [rsi + 0x10], r10
mov dword [rsi + 0x18], r9d
mov dword [rsi + 0x1c], r8d
mov dword [rsi + 0x20], edx
mov word [rsi + 0x24], ax
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x1402cc848]
mov edx, 0x39
call fcn.14023ded0
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1402cc8a0]
mov edx, 0x3a
call fcn.14023ded0
int3
Function at 0x140211460
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov eax, dword [0x14033c668]
cmp eax, 4
jne 0x140211590
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1402115b6
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.14021df70
cmp qword [rbp + 0x158], 0
je 0x1402114ff
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140211581
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140211562
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14021157a
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.14023c120
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1402114b5
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call case.0x140208e17.445
jmp 0x140211581

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

Disassembly:
push rbp
push rsi
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov rax, r8
cmp r8, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
cmp word [r9], 0
je 0x140211704
movups xmm0, xmmword [r9 + 4]
mov eax, dword [r9 + 0x14]
mov r11d, dword [r9 + 0x18]
movzx r10d, word [r9 + 0x1c]
mov r9d, 0x1c
mov si, 0x17
jmp 0x14021171a
mov eax, dword [r9 + 2]
movzx r10d, word [r9 + 6]
xorps xmm0, xmm0
mov r9d, 0x10
mov si, 2
rol r10w, 8
mov word [rbp - 0x14], si
mov word [rbp - 0x12], r10w
mov dword [rbp - 0x10], eax
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 4], r11d
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r9d
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x140211759
movsxd rdx, eax
xor eax, eax
jmp 0x14021176e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140225ab0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x140225b3a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140225b30
cmp r10, r11
jb 0x140225bb6
cmp r10, rdx
ja 0x140225bc8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x140225b32
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140225b10
jmp 0x140225b97
ja 0x140225b3a
mov r11, r10
cmp rax, r8
jne 0x140225ad7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140225b9b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140225b70
mov r8, r10
sub ecx, r9d
jns 0x140225b8e
jmp 0x140225b9d
cmp r10, rdx
je 0x140225baa
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140225b9d
xor al, 1
cmp r8, rdx
jne 0x140225b50
jmp 0x140225b9d
xor eax, eax
jmp 0x140225b9d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14023ddb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14023e3d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14023e360
int3

Function at 0x1402295e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14022962e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14022962e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14022962e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14022962e
cmp dword [rcx + 0x84], 0xe
jbe 0x14022962e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140229630
xor al, al
add rsp, 0x28
ret
Function at 0x14023b0f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
lea rcx, [0x1402c0795]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14023b153
mov rdi, rax
lea rdx, [0x1402c07b6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14023b153
mov rsi, rax
lea rdx, [0x1402c07c4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14023b153
mov r14, rax
xor ebx, ebx
jmp 0x14023b1d9
lea rcx, [0x1402c0750]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14023b24a
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14023b24a
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14023b24a
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14023b24a
mov rsi, rax
lea rcx, [rbp - 0x48]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x14023b24a
mov r14, qword [rbp - 0x48]
movzx eax, byte [0x14033c4a1]
mov ecx, 0x18
mov edx, 8
call fcn.1400b32d0
test rax, rax
je 0x14023b27c
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x14033c558], rdi
je 0x14023b23c
mov rsi, rax
cmp qword [rdi], 0
je 0x14023b226
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.1400b32e0
mov rdi, rsi
mov rax, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp - 0x38], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
lea rdx, str.H_b__
lea rcx, [rbp - 0x48]
call fcn.14023de30
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rbx
mov ecx, 8
mov edx, 0x18
call fcn.14023db70
ud2