Function at 0x1803910c0
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, [0x1805f5808]
call fcn.1802647b0
cmp qword [rsp + 0x80], 0
jne 0x180391108
mov r8d, 0x1f
lea rdx, [0x180585510]
lea rcx, [0x180585588]
call fcn.18038fcd0
xor eax, eax
test eax, eax
jne 0x1803910e4
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 0x180391145
jmp 0x1803911cf
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.0x1803911b2
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x3913dc]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp case.default.0x1803911b2
mov eax, reloc.WS2_32.dll_recv
jmp 0x1803913d3
jmp 0x180391116
cmp dword [rsp + 0x3c], 0
jne 0x1803911e0
mov eax, 2
jmp 0x1803913d3
mov eax, dword [rsp + 0x3c]
mov edx, eax
mov ecx, 0x50
call fcn.1802e53b0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180391207
mov eax, recv
jmp 0x1803913d3
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 0x180391286
jmp 0x180391398
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.0x1803912b9
movsxd rax, dword [rsp + 0x64]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x39142c]
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.0x1803912b9.1
jmp 0x18039120f
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.180393b10
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.180285310
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret