Function at 0x1803a5420
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, [0x180608856]
call fcn.180278fb0
nop
cmp qword [rsp + 0x80], 0
jne 0x1803a546a
mov r8d, 0x1f
lea rdx, [0x1805982d0]
lea rcx, [0x180598338]
call fcn.1803a4020
nop
xor eax, eax
test eax, eax
jne 0x1803a5445
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 0x1803a54a7
jmp 0x1803a5531
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.0x1803a5514
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x3a573c]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp case.default.0x1803a5514
mov eax, reloc.WS2_32.dll_recv
jmp 0x1803a5735
jmp 0x1803a5478
cmp dword [rsp + 0x3c], 0
jne 0x1803a5542
mov eax, 2
jmp 0x1803a5735
mov eax, dword [rsp + 0x3c]
mov edx, eax
mov ecx, 0x50
call fcn.1802f8fb0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1803a5569
mov eax, recv
jmp 0x1803a5735
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 0x1803a55e8
jmp 0x1803a56fa
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.0x1803a561b
movsxd rax, dword [rsp + 0x64]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x3a578c]
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.0x1803a561b.1
jmp 0x1803a5571
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.1803a7e90
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.180298f10
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret