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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov dword [esi + 0xb0], ebp
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xb4], esp
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xbc], 0x10019900
lea eax, [esi + 0xb8]
mov ecx, dword fs:[0]
cmp edx, 2
mov dword [esi + 0xb8], ecx
mov dword fs:[0], eax
jb 0x100192b3
lea eax, [edx + 0x10]
mov ecx, edx
cmp eax, dword [ebp + 0x14]
ja 0x100192d6
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, ecx
shr edi, 1
cmp ecx, 7
jbe 0x10018d9f
mov ebx, dword [ebx]
mov ecx, eax
push ebx
call fcn.10018aa0
add esp, 4
mov eax, dword [ebp + 8]
imul edx, edi, 0x78
mov dword [esi + 0x10], ebx
lea ecx, [eax + edx]
add edx, dword [ebp + 0x10]
push ebx
call fcn.10018aa0
add esp, 4
mov eax, 4
cmp eax, edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x2c], edi
jb 0x10018dde
jmp 0x10018f40
push 0x78
push eax
push edx
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 8]
imul eax, edi, 0x78
add ecx, eax
add eax, ebx
push 0x78
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, 1
cmp eax, edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x2c], edi
jae 0x10018f40
mov eax, dword [esi + 0xc]
jmp 0x10018e03
mov eax, edx
push 0x78
lea ecx, [esi + 0x38]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x2c]
inc eax
cmp eax, edi
je 0x10018f40
mov dword [esi + 0x14], eax
imul ebx, eax, 0x78
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
add eax, ebx
lea ecx, [edi + ebx]
push 0x78
push eax
mov dword [esi + 4], ecx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + ebx]
mov ecx, dword [edi + ebx - 0x74]
lea edx, [edi + ebx - 0x78]
xor eax, 2
or eax, dword [edi + ebx + 4]
mov eax, dword [edi + ebx - 0x78]
jne 0x10018e50
xor eax, 2
or eax, ecx
je 0x10018df4
jmp 0x10018e84
xor eax, 2
or eax, ecx
je 0x10018df4
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xc0], 0xffffffff
push edx
push dword [esi + 4]
push ecx
mov edi, edx
call dword [eax + 0x10]
mov edx, edi
add esp, 0xc
cmp al, 0xff
jne 0x10018df4
push 0x78
mov ebx, dword [esi + 4]
push ebx
lea eax, [esi + 0x38]
push eax
mov edi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x78
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
add esp, 0xc
mov edi, dword [ebp + 0x10]
cmp edx, edi
mov eax, edi
jne 0x10018edd
jmp 0x10018de5
xor eax, 2
or eax, ecx
je 0x10018de3
push 0x78
push ebx
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp ebx, edi
mov edx, ebx
je 0x10018f39
mov eax, dword [esi + 0x38]
mov ecx, dword [edx - 0x74]
lea ebx, [edx - 0x78]
xor eax, 2
or eax, dword [esi + 0x3c]
mov eax, dword [edx - 0x78]
je 0x10018ec0
xor eax, 2
or eax, ecx
je 0x10018de3
mov eax, dword [esi + 0x10]
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x30], edx
mov dword [esi + 0xc0], 1
push ebx
lea edx, [esi + 0x38]
push edx
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
cmp al, 0xff
je 0x10018ecb
jmp 0x10018de3
mov eax, edi
jmp 0x10018de5
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
imul eax, edi, 0x78
mov dword [esi + 0x18], eax
sub edx, edi
cmp ecx, edx
mov dword [esi + 0x20], edx
jae 0x100190bf
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x18]
add eax, edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
add eax, edx
mov dword [esi + 4], eax
jmp 0x10018f8c
mov eax, edx
push 0x78
lea ecx, [esi + 0x38]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0xc]
inc ecx
cmp ecx, dword [esi + 0x20]
je 0x100190bf
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 4]
imul ebx, ecx, 0x78
mov dword [esi + 0xc], ecx
add eax, ebx
lea ecx, [edi + ebx]
push 0x78
push eax
mov dword [esi + 8], ecx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + ebx]
mov ecx, dword [edi + ebx - 0x74]
lea edx, [edi + ebx - 0x78]
xor eax, 2
or eax, dword [edi + ebx + 4]
mov eax, dword [edi + ebx - 0x78]
jne 0x10018fd0
xor eax, 2
or eax, ecx
je 0x10018f7f
jmp 0x10019004
xor eax, 2
or eax, ecx
je 0x10018f7f
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xc0], 0xffffffff
push edx
push dword [esi + 8]
push ecx
mov edi, edx
call dword [eax + 0x10]
mov edx, edi
add esp, 0xc
cmp al, 0xff
jne 0x10018f7f
push 0x78
mov ebx, dword [esi + 8]
push ebx
lea eax, [esi + 0x38]
push eax
mov edi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x78
push edi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 4]
cmp edi, eax
je 0x10018f70
mov edx, edi
jmp 0x1001905e
xor eax, 2
or eax, ecx
je 0x10018f6e
push 0x78
push edi
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp edi, dword [esi + 4]
mov edx, edi
je 0x100190b7
mov eax, dword [esi + 0x38]
mov ecx, dword [edx - 0x74]
lea edi, [edx - 0x78]
xor eax, 2
or eax, dword [esi + 0x3c]
mov eax, dword [edx - 0x78]
je 0x10019040
xor eax, 2
or eax, ecx
je 0x10018f6e
mov eax, dword [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi + 0x14], edi
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x30], edx
mov dword [esi + 0xc0], 1
push edi
lea edx, [esi + 0x38]
push edx
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x14]
cmp al, 0xff
je 0x1001904b
jmp 0x10018f6e
mov eax, dword [esi + 4]
jmp 0x10018f70
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x18]
imul edx, dword [ebp + 0xc], 0x78
xor ebx, ebx
lea eax, [edi + ecx]
lea ecx, [edi + ecx - 0x78]
mov dword [esi + 0x34], edx
mov dword [esi + 0xc], eax
lea eax, [edi + edx - 0x78]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
lea edi, [eax + edx - 0x78]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
jmp 0x10019151
mov edi, dword [esi + 4]
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x18]
add dword [esi + 0x20], 0x78
movzx ecx, al
xor al, 1
inc ebx
imul ecx, ecx, 0x78
add dword [esi + 0xc], ecx
movzx ecx, al
imul ecx, ecx, 0x78
add dword [esi + 8], ecx
push 0x78
push edi
push edx
mov edi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [esi + 0x24]
mov edx, dword [esi + 4]
add edi, 0xffffff88
imul ecx, eax, 0x78
neg eax
lea edx, [ecx + edx - 0x78]
mov ecx, dword [esi + 0x14]
imul eax, eax, 0x78
mov dword [esi + 4], edx
mov edx, dword [esi + 8]
add ecx, eax
cmp ebx, dword [esi + 0x2c]
je 0x10019257
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 8], edx
mov eax, dword [ecx]
xor eax, 2
or eax, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
jne 0x10019180
mov ebx, dword [esi + 4]
xor eax, 2
or eax, ecx
je 0x100191b5
jmp 0x100191c0
mov ebx, dword [esi + 4]
xor eax, 2
or eax, ecx
je 0x100191b5
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xc0], 0
push edx
push dword [esi + 0xc]
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov ebx, dword [esi + 4]
mov edx, dword [esi + 8]
cmp al, 0xff
je 0x100191c0
mov dword [esi + 0x28], 0
jmp 0x100191c8
mov edx, dword [esi + 0xc]
mov al, 1
mov dword [esi + 0x28], eax
push 0x78
push edx
push dword [esi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
mov edi, dword [esi + 0x14]
mov dword [esi + 4], ebx
xor eax, 2
mov ecx, dword [edi + 4]
or eax, dword [ebx + 4]
mov eax, dword [edi]
jne 0x10019200
mov edx, dword [esi + 0x1c]
xor eax, 2
or eax, ecx
je 0x100190f0
jmp 0x1001924d
xor eax, 2
or eax, ecx
jne 0x10019220
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x24], 0
mov edi, ebx
jmp 0x100190fa
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xc0], 0
push edi
push ebx
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
cmp al, 0xff
jne 0x100190f0
mov al, 1
mov dword [esi + 0x24], eax
jmp 0x100190fa
mov eax, dword [ebp + 0xc]
add ecx, 0x78
test al, 1
jne 0x10019266
mov ebx, dword [esi + 4]
jmp 0x100192a7
mov edi, dword [esi + 0xc]
xor eax, eax
xor ebx, ebx
cmp edx, ecx
setae al
setb bl
mov dword [esi + 0x10], eax
mov eax, edi
cmovb eax, dword [esi + 8]
push 0x78
push eax
push dword [esi + 0x20]
mov dword [esi + 0x14], ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x14]
add esp, 0xc
imul edx, dword [esi + 0x10], 0x78
imul eax, ebx, 0x78
mov ebx, dword [esi + 4]
add dword [esi + 8], eax
add edi, edx
mov edx, dword [esi + 8]
mov dword [esi + 0xc], edi
cmp edx, ecx
jne 0x100192c7
add ebx, 0x78
cmp dword [esi + 0xc], ebx
jne 0x100192c7
mov eax, dword [esi + 0xb8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0xc0], 0
call fcn.101cc8b0
ud2