joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b5020
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
mov rsi, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov eax, 0x10624dd3
mul r9d
shr edx, 6
mov dword [rsp + 0x30], edx
imul r8d, edx, 0x3e8
mov rdx, qword [rdi + 0x7d0]
sub r9d, r8d
imul eax, r9d, 0x3e8
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x30]
call fcn.1400b9310
movsd qword [rdi + 0x798], xmm0
mov rax, qword [rbx + 0x320]
test byte [rax + 0x78], 0x10
je 0x1400b50a3
mov dword [rsi], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x38], rbp
xor ebp, ebp
mov dword [rsi], ebp
mov dword [rbx + 0x300], ebp
cmp qword [rdi + 0x618], rbp
je 0x1400b50fd
mov rcx, qword [rbx + 0x350]
test rcx, rcx
je 0x1400b50d4
call qword [sub.MSVCR120.dll_free]
mov qword [rbx + 0x350], rbp
mov rdx, qword [rdi + 0x618]
lea rcx, str.User_Agent:__s_r_n
call fcn.1400bd5e0
mov qword [rbx + 0x350], rax
test rax, rax
jne 0x1400b50fd
mov eax, 0x1b
jmp 0x1400b524f
mov dword [rdi + 0xc0], ebp
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rsp + 0x30], edx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x194], rax
cmp qword [rbx + 0x1a8], 0xffffffffffffffff
jne 0x1400b5164
mov dword [rbx + 0x2cc], ebp
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.1400b6be0
test eax, eax
je 0x1400b5215
jmp 0x1400b524f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rsp + 0x30], edx
imul ecx, edx, 0x3e8
mov rdx, qword [rdi + 0x7d0]
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x30]
call fcn.1400b9310
movsd qword [rdi + 0x7a0], xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rsp + 0x30], edx
imul ecx, edx, 0x3e8
mov rdx, qword [rdi + 0x7d0]
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x30]
call fcn.1400b9310
mov rcx, rbx
movsd qword [rdi + 0x7a8], xmm0
mov dword [rbx + 0x2cc], 1
mov dword [rsi], 1
mov rdx, qword [rbx + 0x1a8]
call fcn.1400b6020
mov rcx, rbx
call fcn.1400b24d0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rsp + 0x30], edx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x194], rax
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b54c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
xor edi, edi
mov dword [rcx + 0x2f8], edi
mov dword [rcx + 0x2c8], edi
mov dword [rbx + 0x8ac8], edi
cmp dword [rbx + 0x4e4], edi
je 0x1400b54f5
mov dword [rbx + 0x3f0], 5
jmp 0x1400b5508
cmp dword [rbx + 0x3f0], 5
jne 0x1400b5508
mov dword [rbx + 0x3f0], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xd8], 1
mov qword [rbx + 0xb0], rdi
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
shr edx, 6
mov dword [rsp + 0x30], edx
imul ecx, edx, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0xc8], rax
mov qword [rbx + 0xd0], rax
lea rax, [rbx + 0x880]
mov qword [rbx + 0x1b0], rax
lea rax, [rbx + 0x4881]
mov qword [rbx + 0x1b8], rax
mov rax, qword [rbx + 0x870]
mov dword [rbx + 0x1d0], edi
mov qword [rbx + 0xe8], rax
xor eax, eax
mov qword [rbx + 0x85c], rax
mov qword [rbx + 0x760], rdi
mov qword [rbx + 0x758], rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b5640
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor esi, esi
mov rdi, rdx
mov rbx, rcx
mov eax, esi
lea r9, [rsp + 0x50]
lea r8d, [rsi + 8]
cmp dword [rcx + 0x6e4], eax
mov edx, 0xffff
mov rcx, rdi
setne al
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x50], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400b56af
lea rdx, str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
mov r8, rdi
mov rcx, rbx
call fcn.1400b89e0
jmp 0x1400b5738
mov eax, dword [rbx + 0x6e8]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
btr eax, 0x1f
lea r8, [rsp + 0x58]
mov r9d, reloc.WS2_32.dll_inet_ntoa
mov edx, 0x98000004
mov dword [rsp + 0x58], 1
imul eax, eax, 0x3e8
mov dword [rsp + 0x5c], eax
mov eax, dword [rbx + 0x6ec]
btr eax, 0x1f
imul ecx, eax, 0x3e8
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x60], ecx
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1400b5738
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
mov r8d, edi
mov r9d, eax
mov rcx, rbx
call fcn.1400b89e0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401bddc0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400b6020
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp dword [rcx + 0xa4], 2
mov rsi, qword [rcx]
mov rbx, rdx
mov rdi, rcx
je 0x1400b61ce
cmp dword [rcx + 0x2ac], 0
jne 0x1400b61c6
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1400b60b2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400ca7f0
lea rdx, str.getpeername___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.1400b8ac0
jmp 0x1400b61ce
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0xb0]
mov rcx, rbx
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400b6100
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400ca7f0
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.1400b8ac0
jmp 0x1400b61ce
lea rbx, [rdi + 0xf0]
lea r8, [rdi + 0x120]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.1400b5f70
test eax, eax
jne 0x1400b614b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400ca7f0
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.1400b8ac0
jmp 0x1400b61ce
movups xmm0, xmmword [rbx]
mov eax, dword [rbx + 0x28]
movups xmm1, xmmword [rbx + 0x10]
lea r8, [rdi + 0x154]
lea rdx, [rdi + 0x124]
lea rcx, [rsp + 0xb0]
movups xmmword [rdi + 0x70], xmm0
movsd xmm0, qword [rbx + 0x20]
movups xmmword [rdi + 0x80], xmm1
movsd qword [rdi + 0x90], xmm0
mov dword [rdi + 0x98], eax
movzx eax, word [rbx + 0x2c]
mov word [rdi + 0x9c], ax
call fcn.1400b5f70
test eax, eax
jne 0x1400b61c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
mov ebx, eax
call fcn.1400ca7f0
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r8d, ebx
mov r9, rax
mov rcx, rsi
call fcn.1400b8ac0
jmp 0x1400b61ce
mov rcx, rdi
call fcn.1400b5eb0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401bddc0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400b66d0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx]
mov r10, rdx
mov edx, 6
mov eax, dword [rbx + 0x524]
mov rdi, rcx
lea r9, [rsp + 0x40]
lea r8d, [rdx - 5]
mov rcx, r10
mov dword [rsp + 0x20], 4
mov dword [rsp + 0x40], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x1400b673d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rdi
mov edx, eax
call fcn.1400ca7f0
lea rdx, str.Could_not_set_TCP_NODELAY:__s_n
mov rcx, rbx
mov r8, rax
call fcn.1400b89e0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rdx, str.TCP_NODELAY_set_n
mov rcx, rbx
call fcn.1400b89e0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b6760
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov eax, dword [0x1402ddb00]
mov rbx, rcx
mov dword [rsp + 0x30], 0x4020
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x38], 4
test eax, eax
jne 0x1400b6801
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x9c
call sub.MSVCR120.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x40], 0x9c
mov dword [rsp + 0x44], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x40]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x1400b67f5
mov dword [0x1402ddb00], 2
jmp 0x1400b6858
mov dword [0x1402ddb00], 1
jmp 0x1400b6806
cmp eax, 2
je 0x1400b6858
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400b6837
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jg 0x1400b6858
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401bddc0
add rsp, 0xf0
pop rbx
ret

Function at 0x1400b6dc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x868]
mov rdi, rcx
test rbx, rbx
je 0x1400b6e1e
mov rcx, qword [rcx + 0x80]
test rcx, rcx
je 0x1400b6e1e
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x60]
lea r8, [0x1400b6da0]
lea rdx, [rsp + 0x20]
call fcn.1400c1050
cmp dword [rsp + 0x28], 0
jne 0x1400b6e2d
mov qword [rdi + 0x868], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
cmp dword [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x1400b6e58
mov rcx, rbx
call fcn.1400cbd80
test eax, eax
jne 0x1400b6e74
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r9d, 2
lea rdx, [rsp + 0x48]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400b6e1e
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b7c60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov edx, reloc.WS2_32.dll_WSASetLastError
mov rbx, rcx
lea ecx, [rdx - 0x6f]
mov r12, r9
mov r15d, r8d
call qword [sub.MSVCR120.dll_calloc]
mov esi, 8
mov r14, rax
mov qword [rbx + 0x680], rax
test rax, rax
je 0x1400b7d49
xor edi, edi
mov dword [rbx + 0x668], r15d
mov r9, r12
mov qword [rbx + 0x678], rdi
mov qword [rbx + 0x670], rdi
mov r8d, r15d
mov rdx, rbp
mov rcx, rax
mov qword [rax], rdi
call fcn.1400b7a20
test eax, eax
je 0x1400b7d49
mov rcx, qword [rbx + 0x660]
test rcx, rcx
je 0x1400b7cf8
call qword [sub.MSVCR120.dll_free]
mov qword [rbx + 0x660], rdi
mov rcx, rbp
call qword [case.0x1400ba044.0]
mov qword [rbx + 0x660], rax
test rax, rax
je 0x1400b7d49
lea r9, [r14 + 0x10]
lea r8, [0x1400b7ae0]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCR120.dll__beginthreadex]
mov rcx, rax
dec rax
cmp rax, 0xfffffffffffffffd
cmovbe rdi, rcx
mov qword [r14], rdi
test rdi, rdi
jne 0x1400b7d7e
call qword [sym.imp.MSVCR120.dll__errno]
mov esi, dword [rax]
lea rcx, [rbx + 0x660]
call fcn.1400b7bc0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov eax, 1
jmp 0x1400b7d5f
Function at 0x1400b8bc0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
movsxd rax, edx
mov r10, r9
mov r11, r8
mov rdi, rcx
mov rcx, qword [rcx + rax*8 + 0x1a8]
xor r9d, r9d
mov r8d, r10d
mov rdx, r11
call qword [sym.imp.WS2_32.dll_send]
mov r14, qword [rsp + 0x50]
movsxd rsi, eax
mov dword [r14], 0
cmp rsi, 0xffffffffffffffff
jne 0x1400b8c6c
mov qword [rsp + 0x30], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x1400b8c3b
mov dword [r14], 0x51
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov edx, eax
mov rcx, rdi
call fcn.1400ca7f0
mov rcx, qword [rdi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b8ac0
mov rcx, qword [rdi]
mov rax, rsi
mov dword [rcx + 0x88d4], ebx
mov dword [r14], 0x37
jmp 0x1400b8c25
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x1400b90d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x2c8]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x1400b9113
mov rax, qword [rcx + 0x218]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x1400b9158
mov r9, qword [rbx + 0x210]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x1402184b8]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.MSVCR120.dll_fwrite]
mov r9, qword [rbx + 0x210]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400b9170
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp dword [rcx + 0x4a8], 0
mov rax, qword [rsp + 0x130]
mov r14, r9
mov rbp, r8
mov esi, edx
mov rdi, rcx
je 0x1400b929f
test rax, rax
je 0x1400b929f
mov rdx, qword [rax + 0xc0]
test rdx, rdx
je 0x1400b929f
mov ecx, esi
lea r9, str.Data
dec ecx
je 0x1400b91f7
dec ecx
je 0x1400b91e7
dec ecx
je 0x1400b91fe
dec ecx
je 0x1400b91ee
jmp 0x1400b929f
lea r9, str.Header
lea rax, [0x140259234]
jmp 0x1400b9205
lea r9, [0x140259484]
lea rax, str.from
mov qword [rsp + 0x28], rdx
lea r8, str.__s__s__s_
lea rcx, [rsp + 0x30]
mov edx, 0xa0
mov qword [rsp + 0x20], rax
call fcn.1400bd4d0
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400b9230
mov r10, qword [rdi + 0x2c8]
test r10, r10
je 0x1400b9267
mov rax, qword [rdi + 0x218]
lea r8, [rsp + 0x30]
mov r9, rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
test eax, eax
je 0x1400b929f
jmp 0x1400b92af
mov r9, qword [rdi + 0x210]
mov edx, 2
lea rcx, [0x1402184b8]
lea r8d, [rdx - 1]
call qword [sym.imp.MSVCR120.dll_fwrite]
mov r9, qword [rdi + 0x210]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.MSVCR120.dll_fwrite]
mov r9, r14
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.1400b90d0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401bddc0
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c6ec0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, qword [rsp + 0x70]
xor r14d, r14d
mov rdi, r9
mov rbp, r8
mov r15, rdx
mov r12, rcx
mov qword [r13], r14
mov rsi, qword [r12]
xor eax, eax
mov ecx, 1
mov r8d, dword [rsi + 0x338]
mov edx, dword [rsi + 0x33c]
mov ebx, 0x493e0
test r8d, r8d
cmovg eax, ecx
test edx, edx
jle 0x1400c6f1e
or eax, 2
dec eax
je 0x1400c6f39
dec eax
je 0x1400c6f35
dec eax
jne 0x1400c6f3c
mov ebx, edx
cmp r8d, edx
cmovl ebx, r8d
jmp 0x1400c6f3c
mov ebx, edx
jmp 0x1400c6f3c
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov r10d, edx
shr r10d, 6
mov dword [rsp + 0x70], r10d
imul eax, r10d, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov rcx, qword [rsi + 0x7d0]
mov dword [rsp + 0x74], eax
mov r8, qword [rsp + 0x70]
mov rax, rcx
shr rax, 0x20
shr r8, 0x20
sub ecx, r10d
sub r8d, eax
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, ecx, 0x3e8
sub eax, edx
add ebx, eax
je 0x1400c7016
test ebx, ebx
js 0x1400c7016
mov r9d, ebx
or r8, 0xffffffffffffffff
mov rcx, r15
call fcn.1400b8290
test eax, eax
jle 0x1400c7011
xor r9d, r9d
mov r8d, edi
mov rdx, rbp
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1400c6fef
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1400c6ef4
mov eax, 0x38
jmp 0x1400c701b
cmp rdi, rcx
je 0x1400c7006
test eax, eax
je 0x1400c7011
sub rdi, rcx
add rbp, rcx
add r14, rcx
jmp 0x1400c6ef4
add rcx, r14
xor eax, eax
mov qword [r13], rcx
jmp 0x1400c701b
or eax, 0xffffffff
jmp 0x1400c701b
mov eax, 0x1c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c8530
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400c854f
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0xc85a4]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
movzx eax, cl
ret

Function at 0x1400c8610
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
movzx r9d, byte [rcx]
mov r11, rdx
mov r10, rcx
test r9b, r9b
je 0x1400c8703
mov qword [rsp + 0x20], rbx
lea rbx, [0x140000000]
movzx edx, byte [r11]
test dl, dl
je 0x1400c86fe
movsx eax, r9b
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400c865b
cdqe
mov ecx, dword [rbx + rax*4 + 0xc8728]
add rcx, rbx
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400c865b
mov r9b, 0x42
jmp case.default.0x1400c865b
mov r9b, 0x43
jmp case.default.0x1400c865b
mov r9b, 0x44
jmp case.default.0x1400c865b
mov r9b, 0x45
jmp case.default.0x1400c865b
mov r9b, 0x46
jmp case.default.0x1400c865b
mov r9b, 0x47
jmp case.default.0x1400c865b
mov r9b, 0x48
jmp case.default.0x1400c865b
mov r9b, 0x49
jmp case.default.0x1400c865b
mov r9b, 0x4a
jmp case.default.0x1400c865b
mov r9b, 0x4b
jmp case.default.0x1400c865b
mov r9b, 0x4c
jmp case.default.0x1400c865b
mov r9b, 0x4d
jmp case.default.0x1400c865b
mov r9b, 0x4e
jmp case.default.0x1400c865b
mov r9b, 0x4f
jmp case.default.0x1400c865b
mov r9b, 0x50
jmp case.default.0x1400c865b
mov r9b, 0x51
jmp case.default.0x1400c865b
mov r9b, 0x52
jmp case.default.0x1400c865b
mov r9b, 0x53
jmp case.default.0x1400c865b
mov r9b, 0x54
jmp case.default.0x1400c865b
mov r9b, 0x55
jmp case.default.0x1400c865b
mov r9b, 0x56
jmp case.default.0x1400c865b
mov r9b, 0x57
jmp case.default.0x1400c865b
mov r9b, 0x58
jmp case.default.0x1400c865b
mov r9b, 0x59
jmp case.default.0x1400c865b
mov r9b, 0x5a
movzx ecx, dl
call fcn.1400c8530
cmp r9b, al
jne 0x1400c86fe
movzx r9d, byte [r10 + 1]
inc r10
inc r11
test r9b, r9b
jne 0x1400c8633
mov rbx, qword [rsp + 0x20]
movzx ecx, byte [r10]
call fcn.1400c8530
movzx ecx, byte [r11]
movzx r9d, al
call fcn.1400c8530
xor ecx, ecx
cmp r9b, al
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400c8790
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [rcx]
mov r11, r8
mov rbx, rdx
mov r10, rcx
test r9b, r9b
je 0x1400c8896
lea rdi, [0x140000000]
nop word [rax + rax]
movzx edx, byte [rbx]
test dl, dl
je 0x1400c8896
test r11, r11
je 0x1400c889b
movsx eax, r9b
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x1400c87f0
cdqe
mov ecx, dword [rdi + rax*4 + 0xc88d8]
add rcx, rdi
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400c87f0
mov r9b, 0x42
jmp case.default.0x1400c87f0
mov r9b, 0x43
jmp case.default.0x1400c87f0
mov r9b, 0x44
jmp case.default.0x1400c87f0
mov r9b, 0x45
jmp case.default.0x1400c87f0
mov r9b, 0x46
jmp case.default.0x1400c87f0
mov r9b, 0x47
jmp case.default.0x1400c87f0
mov r9b, 0x48
jmp case.default.0x1400c87f0
mov r9b, 0x49
jmp case.default.0x1400c87f0
mov r9b, 0x4a
jmp case.default.0x1400c87f0
mov r9b, 0x4b
jmp case.default.0x1400c87f0
mov r9b, 0x4c
jmp case.default.0x1400c87f0
mov r9b, 0x4d
jmp case.default.0x1400c87f0
mov r9b, 0x4e
jmp case.default.0x1400c87f0
mov r9b, 0x4f
jmp case.default.0x1400c87f0
mov r9b, 0x50
jmp case.default.0x1400c87f0
mov r9b, 0x51
jmp case.default.0x1400c87f0
mov r9b, 0x52
jmp case.default.0x1400c87f0
mov r9b, 0x53
jmp case.default.0x1400c87f0
mov r9b, 0x54
jmp case.default.0x1400c87f0
mov r9b, 0x55
jmp case.default.0x1400c87f0
mov r9b, 0x56
jmp case.default.0x1400c87f0
mov r9b, 0x57
jmp case.default.0x1400c87f0
mov r9b, 0x58
jmp case.default.0x1400c87f0
mov r9b, 0x59
jmp case.default.0x1400c87f0
mov r9b, 0x5a
movzx ecx, dl
call fcn.1400c8530
cmp r9b, al
jne 0x1400c8896
movzx r9d, byte [r10 + 1]
inc r10
dec r11
inc rbx
test r9b, r9b
jne 0x1400c87c0
test r11, r11
jne 0x1400c88ab
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx ecx, byte [r10]
call fcn.1400c8530
movzx ecx, byte [rbx]
movzx r9d, al
call fcn.1400c8530
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
cmp r9b, al
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400c8940
Capabilities:
Parse pe header

Disassembly:
mov r10, rcx
lea r11, [0x140000000]
sub r10, rdx
nop dword [rax]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x1400c896e
cdqe
mov ecx, dword [r11 + rax*4 + 0xc8a08]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x1400c896e
mov r9b, 0x42
jmp case.default.0x1400c896e
mov r9b, 0x43
jmp case.default.0x1400c896e
mov r9b, 0x44
jmp case.default.0x1400c896e
mov r9b, 0x45
jmp case.default.0x1400c896e
mov r9b, 0x46
jmp case.default.0x1400c896e
mov r9b, 0x47
jmp case.default.0x1400c896e
mov r9b, 0x48
jmp case.default.0x1400c896e
mov r9b, 0x49
jmp case.default.0x1400c896e
mov r9b, 0x4a
jmp case.default.0x1400c896e
mov r9b, 0x4b
jmp case.default.0x1400c896e
mov r9b, 0x4c
jmp case.default.0x1400c896e
mov r9b, 0x4d
jmp case.default.0x1400c896e
mov r9b, 0x4e
jmp case.default.0x1400c896e
mov r9b, 0x4f
jmp case.default.0x1400c896e
mov r9b, 0x50
jmp case.default.0x1400c896e
mov r9b, 0x51
jmp case.default.0x1400c896e
mov r9b, 0x52
jmp case.default.0x1400c896e
mov r9b, 0x53
jmp case.default.0x1400c896e
mov r9b, 0x54
jmp case.default.0x1400c896e
mov r9b, 0x55
jmp case.default.0x1400c896e
mov r9b, 0x56
jmp case.default.0x1400c896e
mov r9b, 0x57
jmp case.default.0x1400c896e
mov r9b, 0x58
jmp case.default.0x1400c896e
mov r9b, 0x59
jmp case.default.0x1400c896e
mov r9b, 0x5a
mov byte [r10 + rdx], r9b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1400c8a07
dec r8
jne 0x1400c8950
ret