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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xc
ja case.0x14003d1fd.2
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x3d6b0]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x88], 7
je 0x14003d22a
cmp dword [rsp + 0x88], 0xb
jne 0x14003d234
mov dword [rsp + 0x28], 8
jmp 0x14003d246
cmp dword [rsp + 0x88], 0xd
jne 0x14003d246
mov dword [rsp + 0x28], 5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.140040770
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call fcn.140040770
mov dword [rax], 0
cmp dword [rsp + 0x98], 3
jne 0x14003d2a7
mov rcx, qword [rsp + 0xa8]
call fcn.14003fbb0
mov byte [rsp + 0x20], al
jmp 0x14003d2b8
mov rcx, qword [rsp + 0xa8]
call fcn.14003faa0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14003d2fe
mov rcx, qword [rsp + 0xa0]
call fcn.14003cbb0
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.14003cb50
xor eax, eax
test eax, eax
jne 0x14003d2ca
mov eax, 1
jmp 0x14003d6a9
mov rcx, qword [rsp + 0xa0]
call fcn.14003d170
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
mov r9b, 1
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.14003dd50
mov rcx, qword [rsp + 0x80]
call fcn.14003cb90
movzx eax, al
test eax, eax
je 0x14003d357
mov eax, 1
jmp 0x14003d6a9
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
mov rcx, qword [rsp + 0xa0]
call fcn.14003d170
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.14003cf90
mov rcx, qword [rsp + 0x80]
call fcn.14003cb90
movzx eax, al
test eax, eax
je 0x14003d3b7
mov eax, 1
jmp 0x14003d6a9
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.14003cf90
mov rcx, qword [rsp + 0x80]
call fcn.14003cb90
movzx eax, al
test eax, eax
je 0x14003d3fe
mov eax, 1
jmp 0x14003d6a9
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
mov rcx, qword [rsp + 0xa0]
call fcn.14003d170
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400407b0
mov eax, dword [rax]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.1400407b0
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov eax, dword [rsp + 0x98]
jmp 0x14003d6a9
xor eax, eax
cmp eax, 1
je 0x14003d494
cmp dword [rsp + 0x88], 0xc
jne 0x14003d494
mov rcx, qword [rsp + 0xa0]
call fcn.14003cbb0
mov r8, rax
mov edx, 4
mov rcx, qword [rsp + 0x80]
call fcn.14003cb50
xor eax, eax
test eax, eax
jne 0x14003d462
mov eax, 1
jmp 0x14003d6a9
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400407d0
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x88], 5
jne 0x14003d4ca
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1400407d0
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 2
jne 0x14003d4fb
mov dword [rsp + 0x30], 0
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xa8]
call fcn.14003faf0
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x14003d54d
mov rcx, qword [rsp + 0xa0]
call fcn.14003cbb0
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.14003cb50
xor eax, eax
test eax, eax
jne 0x14003d519
mov eax, 1
jmp 0x14003d6a9
mov rcx, qword [rsp + 0xa0]
call fcn.14003d170
mov eax, dword [rsp + 0x30]
jmp 0x14003d6a9
xor eax, eax
cmp eax, 1
je 0x14003d5a6
cmp dword [rsp + 0x88], 0xb
jne 0x14003d5a6
mov rcx, qword [rsp + 0xa0]
call fcn.14003cbb0
mov r8, rax
mov edx, 3
mov rcx, qword [rsp + 0x80]
call fcn.14003cb50
xor eax, eax
test eax, eax
jne 0x14003d574
mov eax, 1
jmp 0x14003d6a9
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov edx, 1
mov rcx, qword [rsp + 0x60]
call fcn.1400407d0
mov eax, dword [rax]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x88], 8
jne 0x14003d5dc
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.1400407d0
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 2
jne 0x14003d60d
mov dword [rsp + 0x38], 0
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xa8]
call fcn.14003fa20
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14003d65c
mov rcx, qword [rsp + 0xa0]
call fcn.14003cbb0
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x80]
call fcn.14003cb50
xor eax, eax
test eax, eax
jne 0x14003d62b
mov eax, 1
jmp 0x14003d6a9
mov rcx, qword [rsp + 0xa0]
call fcn.14003d170
mov eax, dword [rsp + 0x38]
jmp 0x14003d6a9
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
call fcn.14003cf90
mov rcx, qword [rsp + 0x80]
call fcn.14003cb90
movzx eax, al
test eax, eax
je 0x14003d6a7
mov eax, 1
jmp 0x14003d6a9
xor eax, eax
add rsp, 0x78
ret