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

Disassembly:
push 0xffffffffffffffff
push 0x10353dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x298], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x18]
mov eax, ecx
mov edi, dword [esp + 0x2bc]
shr eax, 1
mov dword [esp + 0x1c], edi
test al, 1
jne 0x10189407
shr ecx, 2
test cl, 1
jne 0x10189407
mov eax, dword [esi]
mov ecx, esi
push edi
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x10188fc7
push edi
mov ecx, esi
call fcn.101897e0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x10189407
xorps xmm0, xmm0
lea eax, [esp + 0x54]
movdqu xmmword [esp + 0x54], xmm0
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0xfc]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x8c]
call eax
add eax, dword [esi + 0x38]
mov ecx, edi
add eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x40]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x13c]
call eax
sub dword [esp + 0x2c], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x148]
call eax
sub dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x8c], ecx
add ecx, 4
add eax, ecx
mov byte [esp + 0x33], 0
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x98], eax
test ecx, ecx
je 0x101890a4
mov eax, dword [ecx]
mov eax, dword [eax + 0xe8]
call eax
test eax, eax
jle 0x101890a4
cmp dword [esi + 0x24], eax
jle 0x101890a4
mov ecx, dword [esp + 0x20]
mov dl, 1
add ecx, 4
add eax, ecx
mov dword [esp + 0x94], eax
jmp 0x101890a8
mov dl, byte [esp + 0x33]
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, dword [esi + 0x28]
test dl, dl
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov eax, 0x100024
mov dword [esp + 0x6c], ecx
mov ecx, 0x140024
cmovne eax, ecx
mov ecx, edi
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xac]
call eax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], eax
mov edx, dword [edx + 0xb4]
call edx
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x20], eax
mov edx, dword [edx + 0xbc]
call edx
mov ecx, dword [esi + 0x18]
shr ecx, 5
not cl
mov dword [esp + 0x24], eax
test cl, 1
jne 0x10189143
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xd4]
call eax
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xec]
call eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xf4]
jmp 0x10189176
mov ecx, esi
call fcn.10188980
test al, al
je 0x1018917e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xcc]
call eax
mov dword [esp + 0x14], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xdc]
call eax
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xe4]
mov ecx, edi
call eax
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x94]
call eax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x2c], eax
mov edx, dword [edx + 0x9c]
call edx
test byte [esi + 0x18], 1
mov edx, eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x33], 0
je 0x101891c5
mov ecx, dword [esp + 0x2c]
call fcn.1018eaa0
mov dword [esp + 0x2c], eax
mov edx, eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x33], 1
jmp 0x101891c9
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x24]
jne 0x101891f9
cmp edx, eax
jne 0x101891f9
push dword [esp + 0x28]
lea edx, [esp + 0x90]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 0x4c]
call fcn.1018f5f0
add esp, 0x10
jmp 0x1018930f
lea eax, [esi + 0x4c]
push 0x1055fd14
push eax
call dword [sym.imp.MSVCR120.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x10189237
push dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x34]
lea edx, [esi + 0x4c]
push dword [esp + 0x20]
call fcn.1018f5f0
add esp, 0x10
jmp 0x1018930f
movdqu xmm0, xmmword [esp + 0x8c]
sub eax, esi
sub eax, 0x4c
sar eax, 1
mov dword [esp + 0xc], eax
add eax, eax
push eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x4c]
push eax
lea eax, [esp + 0xa4]
push eax
movdqu xmmword [esp + 0x50], xmm0
call sub.MSVCR120.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, 0x208
jae 0x1018942f
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov word [esp + eax + 0x9c], cx
lea eax, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1018eea0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x98]
add esp, 0xc
lea edx, [esp + 0x9c]
push dword [esp + 0x28]
push eax
push dword [esp + 0x34]
push dword [esp + 0x20]
call fcn.1018f5f0
movdqu xmm0, xmmword [esp + 0x9c]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
push dword [esp + 0x38]
mov edx, dword [esp + 0x20]
movd eax, xmm0
add edx, 0x26
movdqu xmmword [esp + 0x48], xmm0
add ecx, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x50], ecx
lea edx, [esi + edx*2]
push dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
call fcn.1018f5f0
add esp, 0x20
cmp byte [esp + 0x33], 0
je 0x10189325
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [esp + 0x33], 0
movzx eax, byte [esi + 0x4b]
lea ecx, [esp + 0x74]
mov dl, byte [esi + 0x48]
push eax
movzx eax, byte [esi + 0x4a]
push eax
movzx eax, byte [esi + 0x49]
push eax
call fcn.1018a2c0
add esp, 0xc
mov dword [esp + 0x2b4], 0
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0xa4]
call eax
test byte [esi + 0x18], 1
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x10189376
call fcn.1018eaa0
mov ecx, eax
mov byte [esp + 0x33], 1
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x74]
mov edi, dword [esp + 0x1c]
or eax, 2
cmp dword [esp + 0x88], 8
push eax
cmovae edx, dword [esp + 0x78]
lea eax, [esp + 0x68]
push eax
push ecx
push dword [esp + 0x2c]
mov ecx, edi
call fcn.1018f5f0
add esp, 0x10
cmp byte [esp + 0x33], 0
je 0x101893b8
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 8]
push edi
mov ecx, esi
call fcn.10189f30
mov dword [esp + 0x2b4], 0xffffffff
cmp dword [esp + 0x88], 8
jb 0x101893ea
push dword [esp + 0x74]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.1033d458
add esp, 0x2ac
ret 4
call fcn.1033d7c4
int3