Function at 0x140196b20
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.14017c420
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x140196b9d
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x14019723e
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 0x140196e41
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x4b]
cmp eax, 2
jne 0x140196d8a
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x140196d8a
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x200
test eax, eax
je 0x140196d8a
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 0x140196d8a
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jle 0x140196d8a
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 0x140196d8a
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x58], 0
jmp 0x140196cb7
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x140196cf4
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.14017b780
nop
jmp 0x140196cad
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 0x140196d24
mov dword [rsp + 0x7c], SafeArrayPutElement
jmp 0x140196d2c
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.14017b970
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.14017b740
nop
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.14018d340
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.14017b780
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x3b]
movzx edx, ax
mov rcx, qword [rsp + 0x38]
call fcn.14017c010
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x24], 0
je 0x140196e29
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.14018d340
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.14017b740
nop
cmp dword [rsp + 0x78], 0
je 0x140196e3f
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.140189740
nop
jmp 0x140196e54
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.14018d340
nop
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x800
test eax, eax
je 0x140197035
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48], 0
jle 0x140197035
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.14018d340
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 0x140196ecb
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 0x140197035
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140189740
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x10]
cmp eax, 0xb6
je 0x140197019
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xc], 0
je 0x140196ff2
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x400
test eax, eax
jne 0x140196f3e
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x40000
test eax, eax
je 0x140196f3e
mov dword [rsp + 0x84], 1
jmp 0x140196f49
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 0x140196f91
mov rcx, qword [rsp + 0x38]
call fcn.14017c420
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.14017b740
nop
cmp dword [rsp + 0x88], 0
je 0x140196ff2
mov rcx, qword [rsp + 0x38]
call fcn.14017c420
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.14017b970
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140189740
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.14017b740
nop
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140189740
nop
jmp 0x140196eb3
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.14018d340
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
je 0x14019708e
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.140188d60
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.140189740
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.140189740
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x30], 0
je 0x1401970bf
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.14017b740
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x140197239
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.14017b700
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x6c]
and eax, 0x40
test eax, eax
jne 0x14019711b
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov edx, 0x87
mov rcx, qword [rsp + 0x38]
call fcn.14017b700
nop
mov eax, dword [rsp + 0x6c]
and eax, 0x200
test eax, eax
jne 0x140197149
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x1401971e2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48], 0
je 0x1401971e2
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x1401971c9
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.140170380
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.14017b780
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call fcn.14018dab0
nop
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x87
mov rcx, qword [rsp + 0x38]
call fcn.14017b700
nop
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x39]
cmp eax, 0x43
jne 0x140197214
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.14017b740
nop
jmp 0x140197227
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
call fcn.140188d60
nop
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
call fcn.140189740
nop
jmp 0x140196b93
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
call fcn.14018d340
nop
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x100]
add rax, 0x368
mov qword [rsp + 0x30], rax
jmp 0x140197289
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 0x140197575
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 0x140197339
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.14019e2d0
nop
jmp 0x140197271
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x240
test eax, eax
je 0x14019735d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x98], rax
jmp 0x14019737f
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x2000
test eax, eax
je 0x14019737f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x140197570
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0x67]
test eax, eax
jne 0x140197570
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x4a]
test eax, eax
je 0x1401973ca
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x1401973da
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x90], eax
jmp 0x1401973ec
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.140188d00
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 0x140197455
jmp 0x14019754f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x5d
jne 0x140197509
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 0x1401974b6
mov rcx, qword [rsp + 0xc0]
call fcn.14016c7e0
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 0x1401974cd
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0xc0]
call fcn.140175a60
cwde
mov dword [rsp + 0x44], eax
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0x98]
call fcn.140176360
cwde
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x140197507
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 0x14019754f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x86
jne 0x140197532
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 0x14019754f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x16
jne 0x14019754f
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 0x14019743e
jmp 0x140197271
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x68], 0
je 0x140197592
mov rcx, qword [rsp + 0x100]
call fcn.1401b1080
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.1401aa4b0
nop
add rsp, 0xf8
ret