joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x80]
call fcn.140058b70
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x140064af9
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_sendto
call fcn.140064ce0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_send
call fcn.140064ce0
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_select
call fcn.140064ce0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.140064ce0
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x2c], xmm0
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [rsp + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.140058b70
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140059420
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x140064ba7
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.140064ce0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.140064ce0
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 5
call fcn.140064ce0
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.140064ce0
movss xmm1, dword [rsp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x3c], xmm0
movss xmm2, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.140058b70
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140059420
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x140064c55
mov edx, dword [rsp + 0x90]
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.140064ce0
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.140064ce0
movss xmm1, dword [rsp + 0x40]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 9
call fcn.140064ce0
movss dword [rsp + 0x44], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.140064ce0
movss xmm1, dword [rsp + 0x44]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movss xmm2, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.140058b70
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140059420
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x1401eea14]
jp 0x140064c69
je 0x140064c90
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.140068350
movzx eax, al
test eax, eax
je 0x140064c90
movss xmm1, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.1400593d0
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x1401eea14]
jp 0x140064ca4
je 0x140064ccb
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.140068350
movzx eax, al
test eax, eax
je 0x140064ccb
movss xmm1, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.1400593d0
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret
Function at 0x140065f20
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401ee030]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x140065fae
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x140065f52
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x140065fc0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401ee030]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1400660c4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400660bf
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x140066094
cmp qword [rsp + 0x38], 2
jb 0x140066094
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140066094
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140066094
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x140066007
jmp 0x140066156
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x140066156
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14006612c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14006612c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14006612c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400660c4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14007b370
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x1402b1cc1]
test eax, eax
jne 0x14007b3be
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax]
lea rcx, [0x14027f120]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax*8]
call fcn.1400aa770
movzx eax, al
test eax, eax
je 0x14007b3b9
mov byte [0x1402b1cc1], 1
jmp 0x14007b45f
movzx eax, byte [0x1402b1cc1]
cmp eax, 1
jne 0x14007b45f
mov rdx, qword [rsp + 0x60]
lea rcx, [0x1401ef23c]
call fcn.1400aa770
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [0x1401eefa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x14007b420
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x14007b45f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14007b45d
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x1402b1cc1], 0
jmp 0x14007b412
add rsp, 0x48
ret

Function at 0x14007b470
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x1402b1cc2]
test eax, eax
jne 0x14007b4be
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax]
lea rcx, [0x14027f120]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax*8]
call fcn.1400aa770
movzx eax, al
test eax, eax
je 0x14007b4b9
mov byte [0x1402b1cc2], 1
jmp 0x14007b55f
movzx eax, byte [0x1402b1cc2]
cmp eax, 1
jne 0x14007b55f
mov rdx, qword [rsp + 0x60]
lea rcx, str.....
call fcn.1400aa770
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [0x1401eefa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x14007b520
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x14007b55f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14007b55d
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x1402b1cc2], 0
jmp 0x14007b512
add rsp, 0x48
ret
Function at 0x14007b570
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, byte [0x1402b1cc0]
test eax, eax
jne 0x14007b5be
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax]
lea rcx, [0x14027f120]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rcx + rax*8]
call fcn.1400aa770
movzx eax, al
test eax, eax
je 0x14007b5b9
mov byte [0x1402b1cc0], 1
jmp 0x14007b65f
movzx eax, byte [0x1402b1cc0]
cmp eax, 1
jne 0x14007b65f
mov rdx, qword [rsp + 0x60]
lea rcx, [0x1401ef238]
call fcn.1400aa770
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [0x1401eefa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x298
mov qword [rsp + 0x38], rax
jmp 0x14007b620
mov rax, qword [rsp + 0x20]
add rax, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x20], rax
je 0x14007b65f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14007b65d
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov byte [0x1402b1cc0], 0
jmp 0x14007b612
add rsp, 0x48
ret
Function at 0x1400b4aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1402b1bd0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x1978]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x1980]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140058b70
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x1400b4bee
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x1400b4bb0
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140055f40
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1400b4bab
jmp 0x1400b4bee
jmp 0x1400b4b21
cmp dword [rsp + 0x28], 0xd
jne 0x1400b4bbc
jmp 0x1400b4b21
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400b4120
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x1400b4b21
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x1400b4c0d
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x1400b4c49
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140058b70
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1401eea14]
ja 0x1400b4c6d
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x1401eea14]
jp 0x1400b4c87
jne 0x1400b4c87
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x1400b4ca2
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x1400c0dc0
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov eax, 0x101
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x40]
movzx ecx, word [rsp + 0x34]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400c0e17
mov eax, 0xffffdcd8
jmp 0x1400c0fc3
movzx eax, word [rsp + 0x40]
and rax, 0xff
movzx eax, al
cmp eax, 1
jne 0x1400c0e41
movzx eax, word [rsp + 0x40]
shr rax, 8
and rax, 0xff
movzx eax, al
cmp eax, 1
je 0x1400c0e5c
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [0x1402b45e0], 0xffffffffffffffff
mov eax, 0xffffdcd9
jmp 0x1400c0fc3
xor ecx, ecx
call fcn.1400c19a0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1402b45e0], rax
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1402b4e14], eax
mov eax, 2
mov word [0x1402b4e10], ax
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402b4e12], ax
mov edx, 4
mov rcx, qword [rsp + 0x210]
call fcn.1400c0b00
mov dword [0x1402b45f0], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x1402b45f4], eax
mov dword [0x1402b45f8], 0
mov dword [0x1402b45fc], 0xaf3c2828
mov r8d, Ordinal_60
xor edx, edx
lea rcx, [0x1402b4e20]
call sub.VCRUNTIME140.dll_memset
mov r8d, ntohs
xor edx, edx
lea rcx, [0x1402b4e58]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1402b4e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x1402b45f0]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x30], eax
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [0x1402b4e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x1402b4a00]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1400c0fb0
mov eax, 0xffffdcdb
jmp 0x1400c0fc3
lea rdx, [0x1402b45f0]
lea rcx, [0x1402b4a00]
call fcn.1400c0ac0
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x1f8
ret
Function at 0x1400c15a0
Capabilities:
Create thread
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov word [rsp + 8], cx
sub rsp, 0x68
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1402b45e0], 0
ja 0x1400c15cc
mov eax, 0xffffdcd8
jmp 0x1400c1706
mov eax, dword [0x1402b45f8]
inc eax
mov dword [0x1402b45f8], eax
mov dword [0x1402b45fc], 0x27388020
movsx eax, word [rsp + 0x70]
test eax, eax
je 0x1400c160b
movzx eax, word [rsp + 0x70]
mov word [0x1402b4e84], ax
movsx eax, word [rsp + 0x70]
or eax, 0xaa550000
mov dword [0x1402b45f4], eax
jmp 0x1400c1615
mov dword [0x1402b45f4], 0
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1402b4e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1402b45f0]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x1402b4a00]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x34], eax
cmp qword [0x1402b45e8], 0
jbe 0x1400c16ac
mov rcx, qword [0x1402b45e8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x1402b45e8], 0
movsx eax, word [rsp + 0x70]
test eax, eax
je 0x1400c16da
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400c0c50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x34], 0
jge 0x1400c16f3
mov eax, 0xffffdcdb
jmp 0x1400c1706
lea rdx, [0x1402b45f0]
lea rcx, [0x1402b4a00]
call fcn.1400c0ac0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x68
ret
Function at 0x1400c1720
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x68
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1402b45e0], 0
ja 0x1400c174b
mov eax, 0xffffdcd8
jmp 0x1400c184b
mov eax, dword [0x1402b45f8]
inc eax
mov dword [0x1402b45f8], eax
mov dword [0x1402b45fc], 0x9823ae8d
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x1402b45f4], eax
cmp dword [rsp + 0x70], 0
je 0x1400c1785
mov eax, dword [0x1402b4e20]
or eax, 1
mov dword [rsp + 0x30], eax
jmp 0x1400c1792
mov eax, dword [0x1402b4e20]
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [0x1402b4e20], eax
mov r8d, Ordinal_60
lea rdx, [0x1402b4e20]
lea rcx, [0x1402b4600]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x34], Ordinal_79
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1402b4e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x34]
lea rdx, [0x1402b45f0]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x1402b4a00]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x1400c1838
mov eax, 0xffffdcdb
jmp 0x1400c184b
lea rdx, [0x1402b45f0]
lea rcx, [0x1402b4a00]
call fcn.1400c0ac0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x68
ret
Function at 0x1400c1860
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov word [rsp + 0x10], dx
mov word [rsp + 8], cx
sub rsp, 0x68
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1402b45e0], 0
ja 0x1400c1891
mov eax, 0xffffdcd8
jmp 0x1400c198e
mov eax, dword [0x1402b45f8]
inc eax
mov dword [0x1402b45f8], eax
mov dword [0x1402b45fc], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x1402b45f4], eax
movsx eax, word [rsp + 0x70]
mov dword [0x1402b4e24], eax
movsx eax, word [rsp + 0x78]
mov dword [0x1402b4e28], eax
mov r8d, Ordinal_60
lea rdx, [0x1402b4e20]
lea rcx, [0x1402b4600]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsp + 0x30], Ordinal_79
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1402b4e10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
lea rdx, [0x1402b45f0]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [0x1402b4e24], 0
mov dword [0x1402b4e28], 0
mov dword [rsp + 0x38], reloc.WS2_32.dll_recv
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x1402b4a00]
mov rcx, qword [0x1402b45e0]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x1400c197b
mov eax, 0xffffdcdb
jmp 0x1400c198e
lea rdx, [0x1402b45f0]
lea rcx, [0x1402b4a00]
call fcn.1400c0ac0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x68
ret

Function at 0x1400c1f10
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x1400c1f39
mov dword [rsp], 1
jmp 0x1400c1f40
mov dword [rsp], 0
mov eax, dword [rsp]
add rsp, 0x18
ret

Function at 0x1400c1f50
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x38
ret
Function at 0x1400c21b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x140298e80]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x44]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400c2229
xor eax, eax
jmp 0x1400c2297
mov r8d, 1
mov edx, 0xc3
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x70]
mov r8d, pe_nt_image_headers64
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400c2262
xor eax, eax
jmp 0x1400c2297
call qword [rsp + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x1400c227f
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401dae20
add rsp, 0x80
pop rdi
ret

Function at 0x1400c2480
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov rax, qword gs:[0x60]
add rax, 0xbc
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x1400c24c9
mov rax, qword [rsp + 0x10]
mov eax, dword [rax]
and eax, 0x70
test eax, eax
je 0x1400c24c9
mov dword [rsp], 1
jmp 0x1400c24d0
mov dword [rsp], 0
mov eax, dword [rsp]
mov dword [rsp + 8], eax
cmp qword [rsp + 0x18], 0
je 0x1400c24f7
mov rax, qword [rsp + 0x18]
mov eax, dword [rax]
and eax, 0x70
test eax, eax
je 0x1400c24f7
mov dword [rsp + 4], 1
jmp 0x1400c24ff
mov dword [rsp + 4], 0
mov eax, dword [rsp + 4]
mov dword [rsp + 0xc], eax
cmp dword [rsp + 8], 0
jne 0x1400c2515
cmp dword [rsp + 0xc], 0
je 0x1400c251e
mov eax, 1
jmp 0x1400c2520
xor eax, eax
add rsp, 0x28
ret