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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rax], 0
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x5c], 0x112
jbe 0x140063bb7
jmp 0x140063952
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x1400639ba
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x64], 5
jae 0x1400639ba
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x64]
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
movzx edx, byte [rdx]
mov byte [rcx + rax + 0x68], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x64]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
jmp 0x14006392c
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x64], 0
je 0x1400639ec
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x68]
test eax, eax
je 0x1400639ec
mov eax, 1
jmp 0x140064051
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x64], 5
jae 0x140063a0f
mov rax, qword [rsp + 0xa8]
mov dword [rax], 3
xor eax, eax
jmp 0x140064051
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax + 0x68]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx + 0x68]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx + 0x68]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx + 0x68]
or eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x38], 0xffffffff
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x64], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x5c], 0x113
jbe 0x140063ba8
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x80]
movzx ecx, byte [rcx + 1]
add eax, ecx
mov ecx, 0x300
mov dword [rsp + 0x48], ecx
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
add eax, 0x7c0
mov eax, eax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], 0
jmp 0x140063b14
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x40], rax
jae 0x140063b35
mov eax, 0x400
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x40]
mov word [rcx + rdx*2], ax
jmp 0x140063b07
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 0x48], 1
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 0x48], 1
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 0x48], 1
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax + 0x48], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x58], 0
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x5c], 0
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140064410
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x5c], 0x112
je 0x14006402c
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
cmp qword [rax + 0x28], rcx
jb 0x140063c7d
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x5c], 0
jne 0x140063c30
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x3c], 0
jne 0x140063c30
mov rax, qword [rsp + 0xa8]
mov dword [rax], 4
xor eax, eax
jmp 0x140064051
cmp dword [rsp + 0xa0], 0
jne 0x140063c4f
mov rax, qword [rsp + 0xa8]
mov dword [rax], 2
xor eax, eax
jmp 0x140064051
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x5c], 0
je 0x140063c75
mov rax, qword [rsp + 0xa8]
mov dword [rax], 2
mov eax, 1
jmp 0x140064051
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x64], 0
jne 0x140063e1b
cmp qword [rsp + 0x28], 0x14
jb 0x140063ca2
cmp dword [rsp + 0x30], 0
je 0x140063d5c
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.1400646d0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x140063d27
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1400a4120
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
add rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax], 3
xor eax, eax
jmp 0x140064051
cmp dword [rsp + 0x30], 0
je 0x140063d4d
cmp dword [rsp + 0x34], 2
je 0x140063d4d
mov rax, qword [rsp + 0xa8]
mov dword [rax], 2
mov eax, 1
jmp 0x140064051
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x140063d73
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
lea rax, [rax + rcx - 0x14]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x30], rcx
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400645a0
test eax, eax
je 0x140063daf
mov eax, 1
jmp 0x140064051
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
sub rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
add rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x140064027
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x64]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x20], 0x14
jae 0x140063e7b
mov eax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x28]
jae 0x140063e7b
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx + 0x68], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140063e32
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x64], ecx
cmp dword [rsp + 0x20], 0x14
jb 0x140063e9c
cmp dword [rsp + 0x30], 0
je 0x140063f1f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
add rcx, 0x68
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x80]
call fcn.1400646d0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x140063ef9
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa8]
mov dword [rax], 3
xor eax, eax
jmp 0x140064051
cmp dword [rsp + 0x30], 0
je 0x140063f1f
cmp dword [rsp + 0x38], 2
je 0x140063f1f
mov rax, qword [rsp + 0xa8]
mov dword [rax], 2
mov eax, 1
jmp 0x140064051
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov rcx, qword [rsp + 0x80]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x80]
mov r8, qword [rax + 0x30]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400645a0
test eax, eax
je 0x140063f66
mov eax, 1
jmp 0x140064051
mov rax, qword [rsp + 0x80]
add rax, 0x68
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x30]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
jae 0x140063f9c
mov eax, reloc.WS2_32.dll_inet_addr
jmp 0x140064051
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jae 0x140063fc0
mov eax, reloc.WS2_32.dll_inet_addr
jmp 0x140064051
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x64], 0
jmp 0x140063bcc
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x3c], 0
je 0x140064041
mov eax, 1
jmp 0x140064051
mov rax, qword [rsp + 0xa8]
mov dword [rax], 1
xor eax, eax
add rsp, 0x78
ret