Function at 0x180394530
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
push rdi
sub rsp, 0x70
lea rcx, [0x1805f17fe]
call fcn.1802680d0
nop
cmp qword [rsp + 0x80], 0
jne 0x18039457a
mov r8d, 0x1f
lea rdx, [0x1805845e0]
lea rcx, [0x180584648]
call fcn.180393130
nop
xor eax, eax
test eax, eax
jne 0x180394555
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax - 8]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1803945b7
jmp 0x180394641
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax - 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax - 8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x13
ja case.default.0x180394624
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x39484c]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp case.default.0x180394624
mov eax, reloc.WS2_32.dll_recv
jmp 0x180394845
jmp 0x180394588
cmp dword [rsp + 0x3c], 0
jne 0x180394652
mov eax, 2
jmp 0x180394845
mov eax, dword [rsp + 0x3c]
mov edx, eax
mov ecx, 0x50
call fcn.1802e80d0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180394679
mov eax, recv
jmp 0x180394845
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax - 8]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x34], 0
jne 0x1803946f8
jmp 0x18039480a
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
dec eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x11
ja case.default.0x18039472b
movsxd rax, dword [rsp + 0x64]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x39489c]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax], edx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x14], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x18], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x1c], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x20], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov qword [rcx + rax + 0x28], 0
xor eax, eax
test eax, eax
jne case.0x18039472b.1
jmp 0x180394681
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.180396fa0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.180288030
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret