joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ec300
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140183940
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x30], rax
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400fa810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400ec38a
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400ec3a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140183940
mov r9, rax
mov eax, dword [rbx]
mov dword [r9], eax
mov eax, dword [rdi]
mov dword [r9 + 4], eax
mov qword [r9 + 8], rsi
mov qword [rsp + 0x30], r9
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1400fa880]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x1400ec441
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400ec7a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor ebp, ebp
lea ecx, [rbp + 0x30]
call fcn.140183940
mov r9, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], bpl
mov eax, dword [rdi]
mov dword [r9 + 0x20], eax
mov qword [r9 + 0x28], rsi
mov qword [rsp + 0x30], r9
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
lea r8, [0x1400fa7b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x1400ec85d
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [rbx], ebp
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400ec870
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
mov ecx, gethostbyname
call fcn.140183940
mov rsi, rax
mov qword [rsp + 0x30], rax
mov rdx, rbx
mov rcx, rax
call fcn.1400081e0
mov eax, dword [rdi]
mov dword [rsi + 0x20], eax
mov qword [rsi + 0x28], rbp
mov qword [rsp + 0x30], rsi
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x1400fa7b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x1400ec918
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400ec930
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140183940
mov r9, rax
mov rax, qword [rbx]
mov qword [r9], rax
mov qword [r9 + 8], rdi
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1400fa8c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400ec9bd
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400ecbc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140183940
mov r9, rax
mov eax, dword [rbx]
mov dword [r9], eax
mov eax, dword [rdi]
mov dword [r9 + 4], eax
mov qword [r9 + 8], rsi
mov qword [rsp + 0x30], r9
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1400fa6b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x1400ecc61
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400ecd10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140183940
mov r9, rax
mov eax, dword [rbx]
mov dword [r9], eax
mov eax, dword [rdi]
mov dword [r9 + 4], eax
lea rax, [0x140028e60]
mov qword [r9 + 8], rax
mov qword [rsp + 0x30], r9
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1400fa6b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400ecda9
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400ecdc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r9
mov rdi, r8
mov r14, rcx
mov ecx, gethostbyname
call fcn.140183940
mov rsi, rax
mov qword [rsp + 0x30], rax
mov eax, dword [rbx]
mov dword [rsi], eax
lea rcx, [rsi + 8]
mov rdx, rdi
call fcn.1400081e0
lea rax, [0x140059eb0]
mov qword [rsi + 0x28], rax
mov qword [rsp + 0x30], rsi
lea rbx, [r14 + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x1400fa8f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14], rax
test rax, rax
je 0x1400ece62
mov rax, r14
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400ecf30
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
mov r11, rdx
movabs rax, 0xcbf29ce484222325
xor r9, rax
movzx eax, byte [r8 + 1]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x1400ecfbc
mov ecx, dword [r8]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x1400ecfbe
cmp rax, rdx
je 0x1400ecfbc
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400ecfa0
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
xor eax, eax
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
Function at 0x1400fb180
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov r14, rdx
mov rsi, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 2]
xor r13, rax
imul r13, rcx
movzx eax, byte [r8 + 3]
xor r13, rax
imul r13, rcx
mov rcx, qword [rsi + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rsi + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x1400fb207
mov rbx, r15
mov rbp, r15
jmp 0x1400fb24a
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1400fb221
cmp rbx, rcx
je 0x1400fb244
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1400fb213
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov rbp, rbx
movabs rax, 0x666666666666666
cmp qword [rsi + 0x10], rax
jne 0x1400fb268
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, Ordinal_41
call fcn.140183940
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
mov eax, dword [r12 + 0x10]
mov dword [rdi + 0x20], eax
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400fb2ad
cvtsi2ss xmm0, rcx
jmp 0x1400fb2c2
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400fb2d5
cvtsi2ss xmm1, rcx
jmp 0x1400fb2ea
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x1400fb354
mov rcx, rsi
call fcn.1400f26b0
mov rcx, r13
and rcx, qword [rsi + 0x30]
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rsi + 8]
cmp rax, rbx
jne 0x1400fb327
mov qword [rsp + 0x28], 0
jmp 0x1400fb347
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1400fb344
mov rbx, rax
cmp rax, rdx
je 0x1400fb388
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1400fb333
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rsi + 8]
jne 0x1400fb398
mov qword [rcx + rax*8], rdi
jmp 0x1400fb3aa
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1400fb34c
cmp r8, rbp
jne 0x1400fb3a3
mov qword [rcx + rax*8], rdi
jmp 0x1400fb3af
cmp qword [rcx + rax*8 + 8], rdx
jne 0x1400fb3af
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
jmp 0x1400fb229
Function at 0x140100980
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140100a4c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140100a4c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140100a65
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140100a3c
cmp byte [rax], 0x5c
jne 0x140100a36
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140100a36
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140100a22
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140100a33
test r8b, 0x10
jne 0x140100a36
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140100a36
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400f9e30
test edi, edi
jne 0x1401009a0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400f9e20
int3
Function at 0x140104170
Capabilities:
Get socket status

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, 0x270
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
mov rbp, rdx
lea rcx, [rsp + 0x30]
call fcn.14000ee30
mov rbx, qword [rsp + 0x30]
xor r14d, r14d
movabs r13, 0x431bde82d7b634db
movabs r12, 0x7ffffffffff0bdbf
movabs r15, 0x7fffffffffffffff
nop word [rax + rax]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x4c], 0x2710
nop word [rax + rax]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x140104231
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140104200
xor al, al
jmp 0x1401042a9
jne 0x1401042a7
lea rcx, [rsp + 0x38]
call fcn.14000ee30
mov rcx, qword [rsp + 0x38]
mov rax, r13
sub rcx, rbx
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rbp, 0x3e8
cmp rdx, rax
jg 0x14010422d
lea rcx, [rsp + 0x40]
call fcn.14000ee30
mov rax, qword [rsp + 0x40]
cmp rax, r12
jge 0x140104293
add rax, 0xf4240
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.1400f3820
jmp 0x1401041e0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r15
call fcn.1400f3820
jmp 0x1401041e0
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140183920
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14010a1c0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rcx
mov sil, 1
mov eax, 1
xchg byte [rcx + 0xb0], al
mov rcx, qword [rcx + 0x40]
test rcx, rcx
jne 0x14010a20c
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x90], rax
mov rax, qword [rdi + 0x48]
cmp rax, 0xffffffffffffffff
je 0x14010a3d0
movabs rbp, 0x7fffffffffffffff
movabs r14, 0x7ffffffffff0bdbf
movabs r15, 0x20c49ba5e353f7cf
lea r12, vtable.std::_Func_impl_no_alloc_class__private:_bool___cdecl_httplib::Server::listen_internal_void____ptr64::_5::_lambda_1___void___.0
nop dword [rax]
mov r8, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x80]
mov rcx, qword [rdi + 0x48]
call fcn.140017be0
test rax, rax
jne 0x14010a27f
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
jmp 0x14010a3a9
mov rcx, qword [rdi + 0x48]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14010a2e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x18
jne 0x14010a3b9
lea rcx, [rsp + 0x38]
call fcn.14000ee30
mov rax, qword [rsp + 0x38]
cmp rax, r14
jge 0x14010a2d4
add rax, 0xf4240
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1400f3820
jmp 0x14010a3a9
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.1400f3820
jmp 0x14010a3a9
mov rax, r15
imul qword [rdi + 0x68]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, dword [rdi + 0x60], 0x3e8
add edx, eax
mov dword [rsp + 0x88], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x88]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, r15
imul qword [rdi + 0x78]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, dword [rdi + 0x70], 0x3e8
add edx, eax
mov dword [rsp + 0x8c], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x8c]
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x48]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi + 0x48]
cmp rax, 0xffffffffffffffff
jne 0x14010a250
jmp 0x14010a3d0
mov rax, qword [rdi + 0x48]
cmp rax, 0xffffffffffffffff
je 0x14010a3d0
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.WS2_32.dll_closesocket]
xor sil, sil
mov rbx, qword [rsp + 0x90]
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + reloc.WS2_32.dll_recv]
nop
test rbx, rbx
je 0x14010a3f6
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
xor ecx, ecx
xchg byte [rdi + 0xb0], cl
movzx eax, sil
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140183920
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14010dda0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, qword [rbp + 0x77]
mov qword [rbp - 0x49], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp - 9], 1
xor r15d, r15d
mov dword [rbp - 0xd], r9d
mov dword [rbp - 0x11], r15d
mov edx, 0x1bb
lea rcx, [rbp - 0x31]
call fcn.1400068d0
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rdx, qword [rbp - 0x31]
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x11]
lea rcx, str.127.0.0.1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14010df48
mov rbx, qword [rbp - 0x41]
test rbx, rbx
je 0x14010df3e
movzx r14d, byte [rbp + 0x6f]
nop word [rax + rax]
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14010de96
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14010df2d
test r14b, r14b
je 0x14010dec0
mov dword [rbp - 0x39], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x39]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14010ded7
mov qword [rbp - 0x39], rdi
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + reloc.WS2_32.dll_recv]
cmp dword [rbx + 4], 0x17
jne 0x14010deff
mov dword [rbp - 0x39], r15d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x39]
mov edx, reloc.WLDAP32.dll_Ordinal_41
lea r8d, [rdx - 0xe]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x14010df24
lea edx, [rax + 5]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x14010df9b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14010de50
mov rbx, qword [rbp - 0x41]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
lea rcx, [rbp - 0x31]
call fcn.140008300
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14010df6b
cmp rcx, rsi
mov rax, qword [rcx]
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsi + 0x38], r15
mov rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140183920
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
lea rcx, [rbp - 0x31]
call fcn.140008300
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14010dfc9
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsi + 0x38], r15
mov rax, rdi
jmp 0x14010df72
Function at 0x14010ffa0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140204480]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.140183940
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140110dc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140110019
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183920
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3