Function at 0x14012c200
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, 0x148
mov byte [rsp + 0x4c], 0
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov edx, send
mov rcx, qword [rsp + 0x50]
call fcn.14019ebe0
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x158]
movsxd rax, dword [rax + 0x14]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x158]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
jmp 0x14012c2e4
mov rax, qword [rsp + 0x58]
add rax, 0x38
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x58], rax
jae 0x14012c4df
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x12]
and eax, 2
test eax, eax
jne 0x14012c393
mov rax, qword [rsp + 0x160]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x14012c33c
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x14012c393
mov rax, qword [rsp + 0x160]
mov edx, dword [rax + 0x44]
mov rcx, qword [rsp + 0xc8]
call fcn.140175820
test eax, eax
je 0x14012c393
xor r8d, r8d
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.140174340
mov r8, rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x150]
call fcn.14016ff50
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x58]
call fcn.1401c1120
test eax, eax
je 0x14012c4da
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0x40
jl 0x14012c3e2
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd0], rax
jmp 0x14012c40c
mov eax, dword [rsp + 0x80]
mov ecx, 1
mov qword [rsp + 0x110], rcx
movzx ecx, al
mov rax, qword [rsp + 0x110]
shl rax, cl
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
movzx eax, byte [rsp + 0x4c]
test eax, eax
jne 0x14012c462
movsxd rax, dword [rsp + 0x80]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 8]
mov r9, qword [rcx + rax]
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
lea rdx, str.automatic_index_on__s__s_
mov ecx, 0x11c
call fcn.14010beb0
mov byte [rsp + 0x4c], 1
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x14012c4da
mov eax, dword [rsp + 0x48]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.1401d13e0
test eax, eax
je 0x14012c4a1
jmp 0x14012cd4b
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x48]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
jmp 0x14012c2d6
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x3c], cx
mov rax, qword [rsp + 0x70]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x38], 0x4241
mov rax, qword [rsp + 0x78]
not rax
movabs rcx, 0x8000000000000000
or rax, rcx
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x58]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
cmp eax, 0x3f
jle 0x14012c554
mov dword [rsp + 0xa8], 0x3f
jmp 0x14012c567
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x40], 0
jmp 0x14012c589
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x40], eax
jge 0x14012c5d4
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
shl rax, cl
mov rcx, qword [rsp + 0x108]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x14012c5d2
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x14012c57f
mov rax, qword [rsp + 0x160]
movabs rcx, 0x8000000000000000
mov rax, qword [rax + 0x58]
and rax, rcx
test rax, rax
je 0x14012c60a
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
mov ecx, dword [rsp + 0x48]
lea eax, [rcx + rax - 0x3f]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
inc eax
lea r9, [rsp + 0x138]
xor r8d, r8d
movzx edx, ax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.14015c070
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14012c640
jmp 0x14012cd4b
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x60]
lea rcx, str.auto_index
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x18], rcx
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x158]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
jmp 0x14012c6a0
mov rax, qword [rsp + 0x58]
add rax, 0x38
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xe0]
cmp qword [rsp + 0x58], rax
jae 0x14012c810
mov r8, qword [rsp + 0x168]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x58]
call fcn.1401c1120
test eax, eax
je 0x14012c80b
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0x40
jl 0x14012c702
movabs rax, 0x8000000000000000
mov qword [rsp + 0xe8], rax
jmp 0x14012c72c
mov eax, dword [rsp + 0xac]
mov ecx, 1
mov qword [rsp + 0x120], rcx
movzx ecx, al
mov rax, qword [rsp + 0x120]
shl rax, cl
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x14012c80b
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x58]
movzx edx, word [rdx + 0x20]
mov word [rcx + rax*2], dx
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x150]
call fcn.140174070
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x14012c7d8
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
jmp 0x14012c7e7
lea rax, [0x1402c5498]
mov qword [rsp + 0x100], rax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x100]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x14012c692
mov dword [rsp + 0x40], 0
jmp 0x14012c824
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x40], eax
jge 0x14012c8a2
mov eax, dword [rsp + 0x40]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
mov rcx, qword [rsp + 0x108]
and rcx, rax
mov rax, rcx
test rax, rax
je 0x14012c89d
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x40]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
lea rdx, [0x1402c5498]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x14012c81a
mov rax, qword [rsp + 0x160]
movabs rcx, 0x8000000000000000
mov rax, qword [rax + 0x58]
and rax, rcx
test rax, rax
je 0x14012c922
mov dword [rsp + 0x40], 0x3f
jmp 0x14012c8d4
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
movsx eax, word [rax + 0x36]
cmp dword [rsp + 0x40], eax
jge 0x14012c922
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x40]
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
lea rdx, [0x1402c5498]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
jmp 0x14012c8ca
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov edx, 0xffffffff
mov word [rcx + rax*2], dx
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
lea rdx, [0x1402c5498]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
mov ecx, dword [rcx + 0x34]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x150]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x48]
inc eax
mov r9d, eax
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 8]
mov edx, reloc.WS2_32.dll_WSAStartup
mov rcx, qword [rsp + 0x50]
call fcn.14019ec50
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
call fcn.1401b0fc0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov eax, dword [rax + 0x60]
and eax, 0x80000
test eax, eax
jne 0x14012ca27
mov rax, qword [rsp + 0x150]
mov eax, dword [rax + 0x38]
inc eax
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x150]
mov ecx, dword [rsp + 0xb4]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x170]
mov ecx, dword [rsp + 0xb4]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x170]
mov r9d, dword [rax + 0x34]
mov r8d, 0x2710
mov edx, 0x4c
mov rcx, qword [rsp + 0x50]
call fcn.14019ec50
nop
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x170]
movzx ecx, byte [rcx + 0x38]
imul rcx, rcx, 0x70
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x14012cadc
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0xb8], eax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47
mov rcx, qword [rsp + 0x50]
call fcn.14019ec50
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0xb8]
mov edx, recv
mov rcx, qword [rsp + 0x50]
call fcn.14019ec90
mov r8d, dword [rsp + 0xb8]
mov edx, recv
mov rcx, qword [rsp + 0x50]
call fcn.14019ec10
mov dword [rsp + 0x68], eax
jmp 0x14012cafb
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov edx, 0x26
mov rcx, qword [rsp + 0x50]
call fcn.14019ec10
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0xa0], 0
je 0x14012cb51
mov rcx, qword [rsp + 0x150]
call fcn.1401ad1a0
mov dword [rsp + 0x84], eax
mov r9d, reloc.WS2_32.dll_recv
mov r8d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x150]
call fcn.140174690
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x38]
bts eax, 0x11
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x38], eax
mov rcx, qword [rsp + 0x150]
call fcn.14017d030
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
call fcn.14017c1d0
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x34], 0
je 0x14012cbf9
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 0x34]
mov edx, 0xb2
mov rcx, qword [rsp + 0x50]
call fcn.14019ee80
nop
mov r9d, dword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 8]
mov edx, 0x89
mov rcx, qword [rsp + 0x50]
call fcn.14019ec50
mov dx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x50]
call fcn.14019f520
cmp qword [rsp + 0xa0], 0
je 0x14012cc47
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x50]
call fcn.1401b0850
nop
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x40]
shr eax, 4
and eax, 1
test eax, eax
je 0x14012cce4
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0xbc]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call fcn.14019f3b0
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov r9d, dword [rax + 0x38]
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x150]
call fcn.1401c17e0
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.1401ac270
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x40]
and eax, 0xffffffef
mov rcx, qword [rsp + 0x98]
mov dword [rcx + 0x40], eax
jmp 0x14012cd17
mov eax, dword [rsp + 0x68]
inc eax
mov r9d, eax
mov rax, qword [rsp + 0x170]
mov r8d, dword [rax + 4]
mov edx, 5
mov rcx, qword [rsp + 0x50]
call fcn.14019ec50
mov dx, 3
mov rcx, qword [rsp + 0x50]
call fcn.14019f520
nop
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call fcn.1401acc50
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x150]
call fcn.140191040
mov edx, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x50]
call fcn.1401acc50
nop
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.1401741f0
nop
add rsp, 0x148
ret