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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1f8
mov rcx, qword [rsp + 0x210]
call fcn.1402e69d0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x50], 0
mov rax, qword [rsp + 0x210]
cmp dword [rax + 0x34], 0
jne 0x1402e9a40
cmp qword [rsp + 0x220], 0x400
ja 0x1402e927c
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x50], 1
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x58]
cmp dword [rax + 0x808], 2
jne 0x1402e9636
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x50], 0
cmp dword [rsp + 0x34], 0
je 0x1402e937c
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x30], 0
mov dword [rsp + 0x20], 0
jmp 0x1402e92d2
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
ja 0x1402e937c
mov dword [rsp + 0x58], reloc.WS2_32.dll_inet_addr
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x58]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call fcn.1402c15c0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1402e932f
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
shl eax, cl
mov dword [rsp + 0x3c], eax
jmp 0x1402e9337
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x210]
mov edx, dword [rdx + 0x30]
add edx, dword [rcx + rax*4]
mov eax, edx
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x30], eax
jmp 0x1402e92c8
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x58]
add rax, 0x10c0
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.1402bd8d0
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x34], 0
mov dword [rsp + 0x24], 0
jmp 0x1402e93c1
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x23
ja 0x1402e9463
mov dword [rsp + 0x60], 0xa
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x1a0]
call fcn.1402e4c80
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1402e9414
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x60]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x64], ecx
movzx ecx, al
mov eax, dword [rsp + 0x64]
shl eax, cl
mov dword [rsp + 0x44], eax
jmp 0x1402e941c
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x44]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x210]
mov edx, dword [rdx + 0x34]
add edx, dword [rcx + rax*4]
mov eax, edx
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x34], eax
jmp 0x1402e93b7
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x58]
add rax, 0xb14
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.1402bd8d0
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x38], 0
mov dword [rsp + 0x28], 0
jmp 0x1402e94a8
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x34
ja 0x1402e954a
mov dword [rsp + 0x68], 0xa
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1c0]
call fcn.1402e4c80
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1402e94fb
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x6c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
mov dword [rsp + 0x4c], eax
jmp 0x1402e9503
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x4c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x210]
mov edx, dword [rdx + 0x38]
add edx, dword [rcx + rax*4]
mov eax, edx
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x38], eax
jmp 0x1402e949e
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x58]
add rax, 0x810
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.1402bd8d0
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x2c], 0
jmp 0x1402e958f
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x1f
ja 0x1402e9631
mov dword [rsp + 0x70], 0xa
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x1e0]
call fcn.1402e4c80
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1402e95e2
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
mov ecx, 1
mov dword [rsp + 0x74], ecx
movzx ecx, al
mov eax, dword [rsp + 0x74]
shl eax, cl
mov dword [rsp + 0x54], eax
jmp 0x1402e95ea
mov dword [rsp + 0x54], 1
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 0x18]
mov edx, dword [rsp + 0x54]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x210]
mov edx, dword [rdx + 0x3c]
add edx, dword [rcx + rax*4]
mov eax, edx
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x3c], eax
jmp 0x1402e9585
jmp 0x1402e9a3b
cmp dword [rsp + 0x34], 0
je 0x1402e9690
mov dword [rsp + 0x78], 0xff
mov r9, qword [rsp + 0x220]
mov r8, qword [rsp + 0x218]
lea rdx, [rsp + 0x78]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
call fcn.1402bf080
mov r8d, 8
mov edx, 0xff
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
call fcn.1402e6a00
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x30], eax
mov dword [rsp + 0x100], 4
mov dword [rsp + 0x104], 2
mov dword [rsp + 0x108], 1
mov dword [rsp + 0x10c], 1
mov dword [rsp + 0x110], 1
mov dword [rsp + 0x114], 1
mov dword [rsp + 0x118], 1
mov dword [rsp + 0x11c], 1
mov dword [rsp + 0x120], 1
mov dword [rsp + 0x124], 1
mov dword [rsp + 0x128], 1
mov dword [rsp + 0x12c], 1
mov dword [rsp + 0x130], 1
mov dword [rsp + 0x134], 1
mov dword [rsp + 0x138], 1
mov dword [rsp + 0x13c], 1
mov dword [rsp + 0x140], 1
mov dword [rsp + 0x144], 1
mov dword [rsp + 0x148], 1
mov dword [rsp + 0x14c], 1
mov dword [rsp + 0x150], 1
mov dword [rsp + 0x154], 1
mov dword [rsp + 0x158], 1
mov dword [rsp + 0x15c], 1
mov dword [rsp + 0x160], 1
mov dword [rsp + 0x164], 1
mov dword [rsp + 0x168], 1
mov dword [rsp + 0x16c], 1
mov dword [rsp + 0x170], 1
mov dword [rsp + 0x174], 1
mov dword [rsp + 0x178], 1
mov dword [rsp + 0x17c], 1
mov dword [rsp + 0x180], 1
mov dword [rsp + 0x184], 1
mov dword [rsp + 0x188], 1
mov dword [rsp + 0x18c], 1
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 8]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x90
rep movsb byte [rdi], byte [rsi]
mov edx, 0x24
lea rcx, [rsp + 0x100]
call fcn.1402ea050
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x34], eax
mov dword [rsp + 0x30], 0
jmp 0x1402e986e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x34
ja 0x1402e988e
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x210]
mov rcx, qword [rcx + 0x10]
mov dword [rcx + rax*4], 1
jmp 0x1402e9864
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x38], 0x35
mov dword [rsp + 0x80], 6
mov dword [rsp + 0x84], 2
mov dword [rsp + 0x88], 1
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], 2
mov dword [rsp + 0x94], 3
mov dword [rsp + 0x98], 4
mov dword [rsp + 0x9c], 4
mov dword [rsp + 0xa0], 4
mov dword [rsp + 0xa4], 3
mov dword [rsp + 0xa8], 2
mov dword [rsp + 0xac], 1
mov dword [rsp + 0xb0], 1
mov dword [rsp + 0xb4], 1
mov dword [rsp + 0xb8], 1
mov dword [rsp + 0xbc], 1
mov dword [rsp + 0xc0], 1
mov dword [rsp + 0xc4], 1
mov dword [rsp + 0xc8], 1
mov dword [rsp + 0xcc], 1
mov dword [rsp + 0xd0], 1
mov dword [rsp + 0xd4], 1
mov dword [rsp + 0xd8], 1
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xe0], 1
mov dword [rsp + 0xe4], 1
mov dword [rsp + 0xe8], 1
mov dword [rsp + 0xec], 1
mov dword [rsp + 0xf0], 1
mov dword [rsp + 0xf4], 1
mov dword [rsp + 0xf8], 1
mov dword [rsp + 0xfc], 1
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x18]
lea rcx, [rsp + 0x80]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x80
rep movsb byte [rdi], byte [rsi]
mov edx, 0x20
lea rcx, [rsp + 0x80]
call fcn.1402ea050
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x3c], eax
jmp 0x1402e9ae2
cmp dword [rsp + 0x34], 0
je 0x1402e9a6d
mov r8d, recv
mov edx, 0xff
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
call fcn.1402e9b00
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x30], eax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x23
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 8]
call fcn.1402e9b00
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x34], eax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, reloc.WS2_32.dll_gethostbyname
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 0x10]
call fcn.1402e9b00
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x38], eax
mov r8d, reloc.WS2_32.dll_inet_addr
mov edx, 0x1f
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 0x18]
call fcn.1402e9b00
mov rcx, qword [rsp + 0x210]
mov dword [rcx + 0x3c], eax
mov edx, dword [rsp + 0x228]
mov rcx, qword [rsp + 0x210]
call fcn.1402e9cb0
add rsp, 0x1f8
pop rdi
pop rsi
ret