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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10200040
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xbc], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
je 0x1013fbb2
push eax
lea ecx, [esp + 0x3c]
call fcn.101aaa40
add esp, 4
mov dword [esp + 0x80], esi
cmp dword [esp + 0x4c], esi
jne 0x1013f9e9
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x1013f9db
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
jmp 0x1013fbaa
mov eax, dword [ebx + 0xd8]
mov esi, dword [eax]
lea edi, [ebx + 0xd4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
nop
test edi, edi
lea eax, [ebx + 0xd4]
mov ebx, dword [eax + 4]
je 0x1013fa11
cmp edi, eax
je 0x1013fa17
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x1013fb80
test edi, edi
jne 0x1013fa29
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 4]
jne 0x1013fa34
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x58]
call fcn.101aaa40
add esp, 4
mov byte [esp + 0x80], 1
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x68]
jne 0x1013fb37
mov eax, dword [esp + 0x58]
mov ecx, 8
cmp dword [esp + 0x6c], ecx
jae 0x1013fa6d
lea eax, [esp + 0x58]
cmp dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
jae 0x1013fa7b
lea ecx, [esp + 0x3c]
call fcn.1019c610
test al, al
je 0x1013fb37
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xbc]
mov edx, dword [ecx]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + 0x14]
push eax
call edx
cmp esi, dword [edi + 4]
mov ebx, eax
mov dword [esp + 0x14], 0
jne 0x1013fab3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
add edi, 4
push edx
mov edx, edi
call fcn.10142900
cmp dword [esp + 0x14], ebx
je 0x1013fb37
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax + 4]
jne 0x1013fae2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
push ebx
push ebx
push 0
push edi
mov edx, 0x22
call fcn.10136e00
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 4]
jne 0x1013fb03
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi]
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x28]
push eax
push 0
push 0x1104
push ecx
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
push 1
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x80], 0
cmp dword [esp + 0x6c], 8
jb 0x1013fb53
mov ecx, dword [esp + 0x58]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], eax
mov word [esp + 0x58], ax
call fcn.100ebda0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x1013fa00
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x1013fb9f
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov dword [esp + 0x50], 7
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret 4