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

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x328
mov rax, qword [0x1400cd080]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rax, qword [rsp + 0x340]
add rax, 0x20
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0xc8]
call fcn.14002bd50
mov qword [rsp + 0xd0], rax
mov r8d, 1
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0xd0]
call fcn.1400365b0
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x2a0]
call fcn.140037170
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rax]
and eax, ecx
test eax, eax
je 0x14003d772
mov dword [rsp + 0x30], 1
jmp 0x14003d77a
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14003d7f3
mov byte [rsp + 0x22], 0
mov qword [rsp + 0xf0], 0
lea rax, [rsp + 0x22]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0xe8]
movzx ecx, byte [rcx]
mov byte [rax], cl
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x348]
jmp 0x14003e094
mov rax, qword [rsp + 0x350]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x300]
call fcn.1400431a0
nop
movzx eax, byte [rsp + 0x358]
test eax, eax
jne 0x14003d897
mov rax, qword [rsp + 0x340]
add rax, 0x70
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x340]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 3
mov qword [rsp + 0x108], rax
lea r9, [rsp + 0x300]
mov r8b, 5
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140036ab0
movzx eax, al
test eax, eax
jne 0x14003d897
mov byte [rsp + 0x20], 0
jmp 0x14003d89c
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x23]
test eax, eax
jne 0x14003d94d
mov byte [rsp + 0x24], 0
mov qword [rsp + 0x120], 0
lea rax, [rsp + 0x24]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x118]
movzx ecx, byte [rcx]
mov byte [rax], cl
lea rax, [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x70]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x130]
call fcn.140021810
nop
mov rax, qword [rsp + 0x348]
jmp 0x14003e094
mov rax, qword [rsp + 0x340]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
cmp qword [rax], rcx
jne 0x14003d97b
mov dword [rsp + 0x34], 1
jmp 0x14003d983
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x14003daea
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x138], rax
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x138]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov byte [rax], 0
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x140]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rdx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax]
call fcn.1400292e0
mov byte [rsp + 0x26], 1
mov rax, qword [rsp + 0x340]
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x26]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x158]
movzx ecx, byte [rcx]
mov byte [rax], cl
lea rax, [rsp + 0x160]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 8
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x88]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x170]
call fcn.140021810
nop
mov rax, qword [rsp + 0x348]
jmp 0x14003e094
mov rax, qword [rsp + 0x340]
add rax, 8
mov qword [rsp + 0x178], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x178]
add rax, qword [rcx + 8]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
cmp qword [rax], 0
jne 0x14003dbd1
mov byte [rsp + 0x27], 0
mov qword [rsp + 0x190], 0
lea rax, [rsp + 0x27]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x188]
movzx ecx, byte [rcx]
mov byte [rax], cl
lea rax, [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x90]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x1a0]
call fcn.140021810
nop
mov rax, qword [rsp + 0x348]
jmp 0x14003e094
mov rax, qword [rsp + 0x340]
add rax, 8
mov qword [rsp + 0x1a8], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1a8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
cmp byte [rax], 2
jne 0x14003dc2c
mov dword [rsp + 0x38], 1
jmp 0x14003dc34
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x14003ddfc
mov rax, qword [rsp + 0x340]
add rax, 8
mov qword [rsp + 0x1c0], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1c0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x1d0], rax
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d8]
call fcn.140026f00
mov qword [rsp + 0x298], rax
mov byte [rsp + 0x29], 1
mov rax, qword [rsp + 0x340]
add rax, 8
mov qword [rsp + 0x1e0], rax
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1e0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov eax, reloc.WS2_32.dll_recv
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1f8]
add rax, qword [rcx + 8]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x29]
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x208]
movzx ecx, byte [rcx]
mov byte [rax], cl
lea rax, [rsp + 0x210]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x218]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0xa0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x220]
call fcn.140021810
nop
mov rax, qword [rsp + 0x348]
jmp 0x14003e094
mov rax, qword [rsp + 0x340]
add rax, 0x40
mov qword [rsp + 0x228], rax
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x228]
call fcn.140036330
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 8]
mov ecx, 1
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x230]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rax]
and eax, ecx
test eax, eax
je 0x14003de80
mov dword [rsp + 0x3c], 1
jmp 0x14003de88
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x2a], al
mov rax, qword [rsp + 0x340]
add rax, 0x40
mov rcx, rax
call fcn.140036270
movzx eax, byte [rsp + 0x2a]
test eax, eax
jne 0x14003df56
mov byte [rsp + 0x2b], 0
mov qword [rsp + 0x240], 0
lea rax, [rsp + 0x2b]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x238]
movzx ecx, byte [rcx]
mov byte [rax], cl
lea rax, [rsp + 0x240]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x248]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
add rax, 8
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0xb0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x250]
call fcn.140021810
nop
mov rax, qword [rsp + 0x348]
jmp 0x14003e094
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x258], rax
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0x258]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov byte [rax], 0
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x260]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax + 0x60]
call fcn.1400292e0
mov byte [rsp + 0x2c], 1
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x278]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x340]
add rax, 0x60
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx]
mov qword [rax + 8], rcx
lea rax, [rsp + 0x300]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0xc0]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x288]
call fcn.140021810
nop
mov rax, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400a9190
add rsp, 0x328
pop rdi
pop rsi
ret