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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x38]
call fcn.14017dae0
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x14019825d
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1401988fe
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x68
mov rcx, qword [rsp + 0x100]
lea rax, [rcx + rax + 0x368]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x39]
cmp eax, 0xb6
je 0x140198501
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x4b]
cmp eax, 2
jne 0x14019844a
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x14019844a
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x200
test eax, eax
je 0x14019844a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x64]
shr eax, 7
and eax, 1
test eax, eax
je 0x14019844a
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jle 0x14019844a
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x24
jl 0x14019844a
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x58], 0
jmp 0x140198377
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x1401983b4
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x5d
mov rcx, qword [rsp + 0x38]
call fcn.14017ce40
nop
jmp 0x14019836d
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
mov ecx, dword [rsp + 0x5c]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x39]
cmp eax, 4
jne 0x1401983e4
mov dword [rsp + 0x7c], SafeArrayPutElement
jmp 0x1401983ec
mov dword [rsp + 0x7c], 0x1a
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call fcn.14017d030
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x40]
mov r8d, 1
mov edx, reloc.WS2_32.dll_inet_addr
mov rcx, qword [rsp + 0x38]
call fcn.14017ce00
nop
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.14018ea00
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x3a]
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx + 0x39]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x40]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x3c]
mov edx, ecx
mov rcx, qword [rsp + 0x38]
call fcn.14017ce40
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x3b]
movzx edx, ax
mov rcx, qword [rsp + 0x38]
call fcn.14017d6d0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x24], 0
je 0x1401984e9
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.14018ea00
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x40]
dec eax
mov r9d, eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x24]
mov edx, 0x3c
mov rcx, qword [rsp + 0x38]
call fcn.14017ce00
nop
cmp dword [rsp + 0x78], 0
je 0x1401984ff
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
nop
jmp 0x140198514
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.14018ea00
nop
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x800
test eax, eax
je 0x1401986f5
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48], 0
jle 0x1401986f5
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.14018ea00
nop
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
dec eax
cdqe
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x50], rax
jmp 0x14019858b
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
sub rax, 0x14
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x68], 0
jle 0x1401986f5
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x10]
cmp eax, 0xb6
je 0x1401986d9
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xc], 0
je 0x1401986b2
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x400
test eax, eax
jne 0x1401985fe
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x40000
test eax, eax
je 0x1401985fe
mov dword [rsp + 0x84], 1
jmp 0x140198609
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x140198651
mov rcx, qword [rsp + 0x38]
call fcn.14017dae0
mov ecx, dword [rsp + 0x88]
lea eax, [rax + rcx + 2]
mov r9d, eax
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax]
mov edx, 0x1b
mov rcx, qword [rsp + 0x38]
call fcn.14017ce00
nop
cmp dword [rsp + 0x88], 0
je 0x1401986b2
mov rcx, qword [rsp + 0x38]
call fcn.14017dae0
add eax, 2
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0xc]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 8]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x1c
mov rcx, qword [rsp + 0x38]
call fcn.14017d030
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
nop
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.14017ce00
nop
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
nop
jmp 0x140198573
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.14018ea00
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
je 0x14019874e
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.14018a420
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x30], 0
je 0x14019877f
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x2c]
shr eax, 1
mov rcx, qword [rsp + 0x30]
mov r9d, dword [rcx + 0x30]
mov r8d, eax
mov edx, 0x3c
mov rcx, qword [rsp + 0x38]
call fcn.14017ce00
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1401988f9
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax]
mov edx, 0x31
mov rcx, qword [rsp + 0x38]
call fcn.14017cdc0
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x6c]
and eax, 0x40
test eax, eax
jne 0x1401987db
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov edx, 0x87
mov rcx, qword [rsp + 0x38]
call fcn.14017cdc0
nop
mov eax, dword [rsp + 0x6c]
and eax, 0x200
test eax, eax
jne 0x140198809
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x1401988a2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48], 0
je 0x1401988a2
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x140198889
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xc8]
call fcn.140171a40
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xb0]
mov r9d, dword [rax + 0x58]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x64
mov rcx, qword [rsp + 0x38]
call fcn.14017ce40
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call fcn.14018f170
nop
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x87
mov rcx, qword [rsp + 0x38]
call fcn.14017cdc0
nop
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x39]
cmp eax, 0x43
jne 0x1401988d4
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x3c]
mov edx, 0xc
mov rcx, qword [rsp + 0x38]
call fcn.14017ce00
nop
jmp 0x1401988e7
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
call fcn.14018a420
nop
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
call fcn.14018ae00
nop
jmp 0x140198253
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
call fcn.14018ea00
nop
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x100]
add rax, 0x368
mov qword [rsp + 0x30], rax
jmp 0x140198949
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
add rax, 0x68
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
cmp dword [rsp + 0x40], eax
jge 0x140198c35
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x38]
imul rax, rax, 0x70
mov rcx, qword [rsp + 0xd8]
lea rax, [rcx + rax + 8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x1401989f9
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xb8]
mov r9d, dword [rax + 0x38]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
call fcn.14019f990
nop
jmp 0x140198931
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x240
test eax, eax
je 0x140198a1d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x98], rax
jmp 0x140198a3f
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x2000
test eax, eax
je 0x140198a3f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x140198c30
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0x67]
test eax, eax
jne 0x140198c30
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x4a]
test eax, eax
je 0x140198a8a
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x140198a9a
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x90], eax
jmp 0x140198aac
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
inc eax
mov dword [rsp + 0x8c], eax
mov edx, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x38]
call fcn.14018a3c0
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
je 0x140198b15
jmp 0x140198c0f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x5d
jne 0x140198bc9
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x140198b76
mov rcx, qword [rsp + 0xc0]
call fcn.14016dea0
mov qword [rsp + 0xe0], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x44], eax
jmp 0x140198b8d
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0xc0]
call fcn.140177120
cwde
mov dword [rsp + 0x44], eax
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0x98]
call fcn.140177a20
cwde
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140198bc7
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
jmp 0x140198c0f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x86
jne 0x140198bf2
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x48]
mov byte [rax], 0x8d
jmp 0x140198c0f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x16
jne 0x140198c0f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x48]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x48], rax
jb 0x140198afe
jmp 0x140198931
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x68], 0
je 0x140198c52
mov rcx, qword [rsp + 0x100]
call fcn.1401b2740
nop
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 0x40]
mov dword [rax + 0xc8], ecx
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc8]
call fcn.1401abb70
nop
add rsp, 0xf8
ret