Function at 0x1400f0e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 3
mov r8d, 4
mov edx, ntohs
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x2c], eax
mov r8d, 4
mov edx, reloc.WS2_32.dll_recv
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x28], eax
mov r8d, 4
xor edx, edx
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x38], eax
mov r8d, 1
mov edx, socket
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x34], eax
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x68], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_socket
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
not eax
and eax, 1
shl eax, 8
mov dword [rsp + 0x40], eax
mov r8d, 4
mov edx, 0x1c
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x6c], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_setsockopt
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x58], eax
mov r8d, 1
mov edx, 0x18
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x58], 1
jne 0x1400f0f42
mov dword [rsp + 0x60], 1
jmp 0x1400f0f4a
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x4c], 0
jne 0x1400f0f5b
mov dword [rsp + 0x5c], 1
jmp 0x1400f0f63
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x60]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x1400f0f7d
mov dword [rsp + 0x64], 0
jmp 0x1400f0f85
mov dword [rsp + 0x64], 1
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xa4
jb 0x1400f0fdc
cmp dword [rsp + 0x48], 0xa6
jbe 0x1400f0fc9
cmp dword [rsp + 0x48], 0x1ae
jbe 0x1400f0fdc
cmp dword [rsp + 0x48], 0x1b1
jbe 0x1400f0fc9
jmp 0x1400f0fdc
mov eax, dword [rsp + 0x2c]
and eax, 1
test eax, eax
je 0x1400f0fdc
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xb8
ja 0x1400f1034
cmp dword [rsp + 0x30], 0xb6
jae case.0x1400f1032.179
mov eax, dword [rsp + 0x30]
sub eax, 0xa4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xf
ja case.0x1400f1032.167
mov eax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xf163c]
add rax, rcx
jmp rax
cmp dword [rsp + 0x30], 0x1b6
ja 0x1400f1085
cmp dword [rsp + 0x30], 0x1b6
je 0x1400f113c
cmp dword [rsp + 0x30], 0xbb
jb case.0x1400f1032.167
cmp dword [rsp + 0x30], 0xbc
jbe case.0x1400f1032.179
cmp dword [rsp + 0x30], 0x1ae
jbe case.0x1400f1032.167
cmp dword [rsp + 0x30], 0x1b1
jbe 0x1400f10a6
jmp case.0x1400f1032.167
cmp dword [rsp + 0x30], 0x1b9
jb case.0x1400f1032.167
cmp dword [rsp + 0x30], 0x1ba
jbe 0x1400f113c
jmp case.0x1400f1032.167
cmp dword [rsp + 0x4c], 0
jne 0x1400f10bc
cmp dword [rsp + 0x58], 1
jne 0x1400f10bc
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f10e8
cmp dword [rsp + 0x28], 0xf
je 0x1400f10e0
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x1400f10e0
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x1400f10e8
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
je 0x1400f10fe
cmp dword [rsp + 0x38], 0xf
jne 0x1400f10fe
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x3c], 0xf
jne 0x1400f110d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f1137
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.1401155e0
test eax, eax
je 0x1400f1137
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x2c], 0xf
jne 0x1400f114b
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f116d
cmp dword [rsp + 0x28], 0xf
je 0x1400f1165
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1400f116d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f1183
cmp dword [rsp + 0x38], 0xf
jne 0x1400f1183
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x34], 0
je 0x1400f11aa
cmp dword [rsp + 0x28], 0xf
jne 0x1400f11aa
cmp dword [rsp + 0x3c], 0xf
jne 0x1400f11a5
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x4c], 0
jne 0x1400f11c0
cmp dword [rsp + 0x58], 1
jne 0x1400f11c0
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f11f1
cmp dword [rsp + 0x3c], 0xf
je 0x1400f11e9
cmp dword [rsp + 0x38], 0xf
je 0x1400f11e9
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x38], eax
je 0x1400f11e9
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x1400f11f1
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f1210
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f1210
cmp dword [rsp + 0x28], 0xf
jne 0x1400f1210
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f1235
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x1400f122d
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x1400f1235
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x34], 0
je 0x1400f125c
cmp dword [rsp + 0x28], 0xf
jne 0x1400f125c
cmp dword [rsp + 0x2c], 0xf
jne 0x1400f1257
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x2c], 0xf
jne 0x1400f126b
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f1281
cmp dword [rsp + 0x38], 0xf
jne 0x1400f1281
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f12aa
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f12aa
cmp dword [rsp + 0x28], 0xf
je 0x1400f12a2
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1400f12aa
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x34], 0
je 0x1400f12ce
cmp dword [rsp + 0x28], 0xf
jne 0x1400f12ce
cmp dword [rsp + 0x2c], 0xf
jne 0x1400f12cc
mov dword [rsp + 0x24], 1
jmp case.0x1400f1032.167
cmp dword [rsp + 0x34], 0
je 0x1400f12f7
cmp dword [rsp + 0x2c], 0xf
je 0x1400f12ef
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f12f7
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1400f12f7
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1400f1314
cmp dword [rsp + 0x2c], 0xf
je 0x1400f130c
cmp dword [rsp + 0x38], 0xf
jne 0x1400f1314
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne case.0x1400f1032.167
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x1400f1032.167
cmp dword [rsp + 0x28], 0xf
je 0x1400f1335
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne case.0x1400f1032.167
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400f13fa
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x32e], 1
cmp dword [rsp + 0x4c], 0
je 0x1400f136e
mov eax, dword [rsp + 0x40]
bts eax, 9
mov dword [rsp + 0x40], eax
jmp 0x1400f137a
mov eax, dword [rsp + 0x40]
bts eax, 0xa
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1af
jb 0x1400f13fa
cmp dword [rsp + 0x44], 0x1b1
jbe 0x1400f13bf
cmp dword [rsp + 0x44], 0x1b6
je 0x1400f13bf
cmp dword [rsp + 0x44], 0x1b8
jbe 0x1400f13fa
cmp dword [rsp + 0x44], 0x1ba
jbe 0x1400f13bf
jmp 0x1400f13fa
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f13fa
xor eax, eax
jmp 0x1400f1635
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f1435
xor eax, eax
jmp 0x1400f1635
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xa4
jb 0x1400f14af
cmp dword [rsp + 0x50], 0xa6
jbe 0x1400f1470
cmp dword [rsp + 0x50], 0x1ae
jbe 0x1400f14af
cmp dword [rsp + 0x50], 0x1b1
jbe 0x1400f1470
jmp 0x1400f14af
mov eax, dword [rsp + 0x2c]
inc eax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f14af
xor eax, eax
jmp 0x1400f1635
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x1400f14fa.167
mov rcx, qword [rsp + 0x80]
call fcn.1400a5900
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
sub eax, 0xa4
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x18
ja case.0x1400f14fa.167
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xf1684]
mov eax, dword [rcx + rax*4 + 0xf167c]
add rax, rcx
jmp rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne case.0x1400f14fa.167
xor eax, eax
jmp 0x1400f1635
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f1572
xor eax, eax
jmp 0x1400f1635
cmp dword [rsp + 0x34], 0
je 0x1400f15ae
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400a55f0
mov eax, dword [rsp + 0x68]
shl eax, 4
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x38]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400a56a0
jmp 0x1400f15f9
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1400ef680
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f15e6
xor eax, eax
jmp 0x1400f1635
mov eax, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1400a56a0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x80]
call fcn.1400efc70
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1400ef620
movzx eax, al
test eax, eax
jne 0x1400f1631
xor eax, eax
jmp 0x1400f1635
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret