joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400248c0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400249c4
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_41
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x1400249d0
cmp rbx, rbp
jne 0x140024970
cmp qword [rsp + 0x20], r14
jne 0x14002499d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x1400249df
mov qword [r15], r12
mov rax, r12
jmp 0x1400249e2
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14002499d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_41
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140024a76
cmp rbx, rbp
jne 0x140024a50
jmp 0x14002499a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1400249f0
jmp 0x14002499d
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400268ec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14002687a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x1400248c0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400268ba
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_41
call fcn.14011ba14
mov rcx, rbx
test rbx, rbx
jne 0x1400268a0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140016e00
add rsp, 0x30
pop rdi
ret
Function at 0x140024a90
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140024b94
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, gethostname
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140024ba0
cmp rbx, rbp
jne 0x140024b40
cmp qword [rsp + 0x20], r14
jne 0x140024b6d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x140024baf
mov qword [r15], r12
mov rax, r12
jmp 0x140024bb2
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140024b6d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, gethostname
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140024c46
cmp rbx, rbp
jne 0x140024c20
jmp 0x140024b6a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140024bc0
jmp 0x140024b6d
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400269ac
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14002693a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140024a90
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14002697a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, gethostname
call fcn.14011ba14
mov rcx, rbx
test rbx, rbx
jne 0x140026960
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140016e00
add rsp, 0x30
pop rdi
ret
Function at 0x140026840
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1400249c4
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_41
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x1400249d0
cmp rbx, rbp
jne 0x140024970
cmp qword [rsp + 0x20], r14
jne 0x14002499d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x1400249df
mov qword [r15], r12
mov rax, r12
jmp 0x1400249e2
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x14002499d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, Ordinal_41
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140024a76
cmp rbx, rbp
jne 0x140024a50
jmp 0x14002499a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1400249f0
jmp 0x14002499d
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400268ec
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14002687a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x1400248c0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400268ba
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, Ordinal_41
call fcn.14011ba14
mov rcx, rbx
test rbx, rbx
jne 0x1400268a0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140016e00
add rsp, 0x30
pop rdi
ret
Function at 0x140026900
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140024b94
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, gethostname
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140024ba0
cmp rbx, rbp
jne 0x140024b40
cmp qword [rsp + 0x20], r14
jne 0x140024b6d
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x140024baf
mov qword [r15], r12
mov rax, r12
jmp 0x140024bb2
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140024b6d
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, gethostname
call fcn.14011ba14
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140024c46
cmp rbx, rbp
jne 0x140024c20
jmp 0x140024b6a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140024bc0
jmp 0x140024b6d
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400269ac
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14002693a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140024a90
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14002697a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, gethostname
call fcn.14011ba14
mov rcx, rbx
test rbx, rbx
jne 0x140026960
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140016e00
add rsp, 0x30
pop rdi
ret
Function at 0x14002b240
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x140181f80]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ecx, dword [0x1401bfc40]
mov rax, qword gs:[0x58]
mov esi, 4
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rsi]
cmp dword [0x140186a90], eax
jg 0x14002b3fe
mov eax, dword [rbx + rsi]
cmp dword [0x140186aa0], eax
jg 0x14002b434
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
sub rcx, qword [0x140186a98]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x14014a988]
comisd xmm0, xmmword [0x14014a950]
jb 0x14002b38e
mov qword [0x140186a98], rax
mov rcx, qword [0x140188410]
movss xmm0, dword [rcx + 0x5fd8]
mulss xmm0, dword [0x14014a944]
cvttss2si eax, xmm0
mov dword [rsp + 0x44], eax
movss xmm0, dword [rcx + 0x5fdc]
mulss xmm0, dword [0x14014a944]
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
cmp byte [0x140186aa4], 0
jne 0x14002b38e
mov byte [0x140186aa4], 1
lea rax, [rsp + 0x44]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14011b9d8
test rax, rax
je 0x14002b339
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140015420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b3eb
cmp dword [rsp + 0x38], 0
je 0x14002b3e0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14002b3e0
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
sub rcx, qword [0x140186a88]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x14014a988]
comisd xmm0, xmmword [0x14014a968]
jb 0x14002b3c5
mov qword [0x140186a88], rax
mov byte [0x140186aa4], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14011bb30
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rsi
ret
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [0x140186a90]
call fcn.14011bfb4
cmp dword [0x140186a90], 0xffffffff
jne 0x14002b280
call sub.MSVCP140.dll__Xtime_get_ticks
mov qword [0x140186a88], rax
lea rcx, [0x140186a90]
call fcn.14011bf48
jmp 0x14002b280
lea rcx, [0x140186aa0]
call fcn.14011bfb4
cmp dword [0x140186aa0], 0xffffffff
jne 0x14002b28f
call sub.MSVCP140.dll__Xtime_get_ticks
mov qword [0x140186a98], rax
lea rcx, [0x140186aa0]
call fcn.14011bf48
jmp 0x14002b28f
Function at 0x14004cc80
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x14004cc8a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.14004cc80

Function at 0x14004dd60
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
imul r8d, dword [rcx + 0x30], 0x64
mov r10, rcx
mov rbx, qword [0x140188410]
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
xor r9d, r9d
add r8d, dword [rcx + 0x2c]
mov eax, r8d
mov r11d, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, rsi
imul rax, rdi
xor rdx, rax
mov eax, r8d
imul rdx, rdi
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
mov eax, r8d
mov rcx, qword [rbx + 0x6090]
imul rdx, rdi
shr rax, 0x18
xor rdx, rax
imul rdx, rdi
and rcx, rdx
mov rdx, qword [rbx + 0x6068]
shl rcx, 4
add rcx, qword [rbx + 0x6078]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x14004de14
mov rcx, qword [rcx]
cmp r11d, dword [rax + 0x10]
je 0x14004de17
cmp rax, rcx
je 0x14004de14
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x14004de03
jmp 0x14004de17
mov rax, r9
mov ecx, dword [r10 + 0x14]
test rax, rax
cmove rax, rdx
cmp ecx, 0x12
jne 0x14004de5c
cmp word [rax + 0x16], r9w
je 0x14004de45
mov word [rax + 0x16], r9w
xor al, al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov word [rax + 0x18], r9w
xor al, al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov r11, rcx
shr ecx, 8
movzx r8d, cl
movzx ecx, r11b
xor rcx, rsi
imul rcx, rdi
xor r8, rcx
mov ecx, r11d
imul r8, rdi
shr ecx, 0x10
movzx edx, cl
mov rcx, r11
xor r8, rdx
shr rcx, 0x18
mov rdx, qword [rbx + 0x61d0]
imul r8, rdi
xor r8, rcx
imul r8, rdi
and rdx, r8
mov r8, qword [rbx + 0x61a8]
shl rdx, 4
add rdx, qword [rbx + 0x61b8]
mov rcx, qword [rdx + 8]
cmp rcx, r8
je 0x14004ded6
mov rdx, qword [rdx]
cmp r11d, dword [rcx + 0x10]
je 0x14004ded3
cmp rcx, rdx
je 0x14004ded6
mov rcx, qword [rcx + 8]
cmp r11d, dword [rcx + 0x10]
jne 0x14004dec4
mov r9, rcx
movzx ecx, word [r10 + 0x14]
test r9, r9
cmove r9, r8
cmp byte [r9 + 0x1e], 0x12
jne 0x14004deef
mov word [rax + 0x18], cx
jmp 0x14004def3
mov word [rax + 0x16], cx
mov rcx, qword [0x140188410]
mov eax, dword [rcx + 0x5fd0]
cmp dword [r10 + 4], eax
jne 0x14004df3f
mov r9, qword [rcx + 0x28]
mov rax, qword [rcx + 0x20]
cmp rax, r9
je 0x14004df3f
movzx ecx, word [rax]
mov r8d, dword [r10 + 0x14]
cmp ecx, r8d
jne 0x14004df36
movzx edx, byte [rax + 2]
cmp dl, 1
jbe 0x14004df2f
dec dl
mov byte [rax + 2], dl
jmp 0x14004df36
sub cx, r8w
mov word [rax], cx
add rax, 4
cmp rax, r9
jne 0x14004df13
mov rbx, qword [rsp + 8]
xor al, al
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14004e140
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140181f80]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14004e16d
xor eax, eax
jmp 0x14004e2d6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14004e1ad
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14004e1ad
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x14004e2ce
cmp qword [rdi + 0x80], 0
je 0x14004e2c9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x14004e1e7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x14004e212
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14004e2ce
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14004e281
sub eax, 1
je 0x14004e281
cmp eax, 2
jne 0x14004e2c9
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14004e2ce
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x14004e2af
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14004e2c9
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x14004e2ce
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14011bb30
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140053d10
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140181f80]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rcx]
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [rsp + 0x58], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x5c], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140053dea
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x140053df0
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x140053dc0
test ebx, ebx
je 0x140053e1a
jmp 0x140053df7
cmp ebx, 0xffffffff
je 0x140053e3d
jmp 0x140053dea
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14011bb30
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x30]
call fcn.14001bd70
lea rdx, [0x1401796f0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14005b420
mov r8, rax
lea r9, str.Failed_to_select_socket
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14001d360
lea rdx, [0x140179530]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3