Function at 0x180117e40
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, 0x68
mov dword [rsp + 0x34], 3
mov r8d, 4
mov edx, listen
mov ecx, dword [rsp + 0x78]
call fcn.180134b80
mov dword [rsp + 0x48], eax
mov r8d, 4
mov edx, reloc.WS2_32.dll_recv
mov ecx, dword [rsp + 0x78]
call fcn.180134b80
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x320]
mov ecx, dword [rax + 4]
call fcn.18010e8c0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x8000
test rax, rax
je 0x180117ec2
mov dword [rsp + 0x38], 1
jmp 0x180117eca
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
jne 0x180117edb
mov dword [rsp + 0x3c], 0
jmp 0x180117ee3
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x21], al
movabs rax, 0x10000000000
mov rcx, qword [rsp + 0x50]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x180117f10
mov dword [rsp + 0x40], 1
jmp 0x180117f18
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
jne 0x180117f29
mov dword [rsp + 0x44], 0
jmp 0x180117f31
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x20], al
cmp dword [rsp + 0x4c], 0xf
jne 0x18011802b
mov rcx, qword [rsp + 0x70]
call fcn.1800c4ea0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
sub eax, 0x951
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x6d
ja case.0x180117f88.2386
mov eax, dword [rsp + 0x28]
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x1181d8]
mov eax, dword [rcx + rax*4 + 0x1181b8]
add rax, rcx
jmp rax
mov edx, 0x94f
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
mov edx, 0x95e
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
mov edx, 0x96e
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
mov edx, 0x966
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
mov edx, 0x976
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
mov edx, 0x9b9
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
mov edx, 0x9bd
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118008
xor eax, eax
jmp 0x1801181b0
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.180118c00
jmp 0x1801181b0
cmp dword [rsp + 0x48], 0xf
jne 0x180118087
mov rcx, qword [rsp + 0x70]
call fcn.1800c4ea0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x960
je 0x180118067
cmp dword [rsp + 0x2c], 0x968
je 0x180118078
cmp dword [rsp + 0x2c], 0x970
je 0x180118060
jmp 0x180118087
xor eax, eax
jmp 0x1801181b0
mov edx, 0x9b6
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
jmp 0x180118087
mov edx, 0x9be
mov rcx, qword [rsp + 0x70]
call fcn.1800c4e80
mov rcx, qword [rsp + 0x70]
call fcn.1800c4ea0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x9b6
je 0x1801180c9
cmp dword [rsp + 0x30], 0x9ba
je 0x1801180b5
cmp dword [rsp + 0x30], 0x9be
je 0x1801180b7
jmp 0x1801180e4
jmp 0x18011811c
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1801180c7
xor eax, eax
jmp 0x1801181b0
jmp 0x18011811c
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1801180db
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1801180e2
xor eax, eax
jmp 0x1801181b0
jmp 0x18011811c
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.18010ec20
mov edx, eax
lea rcx, [rsp + 0x34]
call fcn.18010ebc0
movzx eax, al
test eax, eax
jne 0x18011811c
xor eax, eax
jmp 0x1801181b0
mov r8d, 2
mov edx, 4
mov ecx, dword [rsp + 0x78]
call fcn.180134b80
mov dword [rsp + 0x24], eax
mov r8d, 4
xor edx, edx
mov ecx, dword [rsp + 0x78]
call fcn.180134b80
shl eax, 2
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov r8d, 4
mov edx, reloc.WS2_32.dll_recv
mov ecx, dword [rsp + 0x78]
call fcn.180134b80
shl eax, 6
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
call fcn.180117d20
mov edx, eax
lea rcx, [rsp + 0x34]
call fcn.18010ebc0
movzx eax, al
test eax, eax
jne 0x1801181ac
xor eax, eax
jmp 0x1801181b0
mov eax, dword [rsp + 0x34]
add rsp, 0x68
ret