Function at 0x1401ba030
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.14019f930
mov dword [rsp + 0xac], eax
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1401ba0ad
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1401ba74e
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 0x1401ba351
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x4b]
cmp eax, 2
jne 0x1401ba29a
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x48]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x1401ba29a
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x200
test eax, eax
je 0x1401ba29a
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 0x1401ba29a
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x1e]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
jle 0x1401ba29a
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 0x1401ba29a
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x58], 0
jmp 0x1401ba1c7
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jge 0x1401ba204
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.14019ec90
nop
jmp 0x1401ba1bd
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 0x1401ba234
mov dword [rsp + 0x7c], reloc.WS2_32.dll_socket
jmp 0x1401ba23c
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.14019ee80
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.14019ec50
nop
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.1401b0850
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.14019ec90
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x3b]
movzx edx, ax
mov rcx, qword [rsp + 0x38]
call fcn.14019f520
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x24], 0
je 0x1401ba339
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x28]
mov rcx, qword [rsp + 0x38]
call fcn.1401b0850
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.14019ec50
nop
cmp dword [rsp + 0x78], 0
je 0x1401ba34f
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
nop
jmp 0x1401ba364
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.1401b0850
nop
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x800
test eax, eax
je 0x1401ba545
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48], 0
jle 0x1401ba545
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
call fcn.1401b0850
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 0x1401ba3db
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 0x1401ba545
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x10]
cmp eax, 0xb6
je 0x1401ba529
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xc], 0
je 0x1401ba502
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x400
test eax, eax
jne 0x1401ba44e
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x40000
test eax, eax
je 0x1401ba44e
mov dword [rsp + 0x84], 1
jmp 0x1401ba459
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 0x1401ba4a1
mov rcx, qword [rsp + 0x38]
call fcn.14019f930
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.14019ec50
nop
cmp dword [rsp + 0x88], 0
je 0x1401ba502
mov rcx, qword [rsp + 0x38]
call fcn.14019f930
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.14019ee80
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
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.14019ec50
nop
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
dec eax
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
nop
jmp 0x1401ba3c3
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
call fcn.1401b0850
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
je 0x1401ba59e
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.1401ac270
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
sub eax, 2
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x30], 0
je 0x1401ba5cf
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.14019ec50
nop
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0
je 0x1401ba749
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.14019ec10
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x6c]
and eax, 0x40
test eax, eax
jne 0x1401ba62b
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
mov edx, 0x87
mov rcx, qword [rsp + 0x38]
call fcn.14019ec10
nop
mov eax, dword [rsp + 0x6c]
and eax, 0x200
test eax, eax
jne 0x1401ba659
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x1401ba6f2
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48], 0
je 0x1401ba6f2
mov eax, dword [rsp + 0x6c]
and eax, 0x2000
test eax, eax
je 0x1401ba6d9
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.140193890
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.14019ec90
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x70]
call fcn.1401b0fc0
nop
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 8]
mov edx, 0x87
mov rcx, qword [rsp + 0x38]
call fcn.14019ec10
nop
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x39]
cmp eax, 0x43
jne 0x1401ba724
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 0x1c]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x3c]
mov edx, reloc.SHLWAPI.dll_SHCreateMemStream
mov rcx, qword [rsp + 0x38]
call fcn.14019ec50
nop
jmp 0x1401ba737
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x38]
call fcn.1401ac270
nop
mov edx, dword [rsp + 0xa8]
mov rcx, qword [rsp + 0x38]
call fcn.1401acc50
nop
jmp 0x1401ba0a3
mov rax, qword [rsp + 0x100]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
call fcn.1401b0850
nop
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x100]
add rax, 0x368
mov qword [rsp + 0x30], rax
jmp 0x1401ba799
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 0x1401baa85
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 0x1401ba849
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.1401c17e0
nop
jmp 0x1401ba781
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x240
test eax, eax
je 0x1401ba86d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x98], rax
jmp 0x1401ba88f
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
and eax, 0x2000
test eax, eax
je 0x1401ba88f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x1401baa80
mov rax, qword [rsp + 0xc8]
movzx eax, byte [rax + 0x67]
test eax, eax
jne 0x1401baa80
mov rax, qword [rsp + 0x100]
movzx eax, byte [rax + 0x4a]
test eax, eax
je 0x1401ba8da
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x30]
and eax, 0x80
test eax, eax
je 0x1401ba8ea
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x90], eax
jmp 0x1401ba8fc
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.1401ac210
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 0x1401ba965
jmp 0x1401baa5f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x5d
jne 0x1401baa19
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 0x1401ba9c6
mov rcx, qword [rsp + 0xc0]
call fcn.14018fcf0
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 0x1401ba9dd
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0xc0]
call fcn.140198f70
cwde
mov dword [rsp + 0x44], eax
movzx edx, word [rsp + 0x44]
mov rcx, qword [rsp + 0x98]
call fcn.140199870
cwde
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jl 0x1401baa17
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 0x1401baa5f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x86
jne 0x1401baa42
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 0x1401baa5f
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
cmp eax, 0x16
jne 0x1401baa5f
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 0x1401ba94e
jmp 0x1401ba781
mov rax, qword [rsp + 0x100]
cmp qword [rax + 0x68], 0
je 0x1401baaa2
mov rcx, qword [rsp + 0x100]
call fcn.1401d4590
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.1401cd9c0
nop
add rsp, 0xf8
ret