Function at 0x10153e40
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 + 0xb0], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
je 0x101540a2
push eax
lea ecx, [esp + 0x3c]
call fcn.101aaa40
add esp, 4
mov dword [esp + 0x80], esi
cmp dword [esp + 0x4c], esi
jne 0x10153ed9
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x10153ecb
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 0x1015409a
mov eax, dword [ebx + 0xb8]
mov esi, dword [eax]
lea edi, [ebx + 0xb4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
nop
test edi, edi
lea eax, [ebx + 0xb4]
mov ebx, dword [eax + 4]
je 0x10153f01
cmp edi, eax
je 0x10153f07
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, ebx
je 0x10154070
test edi, edi
jne 0x10153f19
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [edi + 4]
jne 0x10153f24
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea ecx, [esi + 0x14]
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 0x10154027
mov eax, dword [esp + 0x58]
mov ecx, 8
cmp dword [esp + 0x6c], ecx
jae 0x10153f5d
lea eax, [esp + 0x58]
cmp dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x3c]
jae 0x10153f6b
lea ecx, [esp + 0x3c]
call fcn.1019c610
test al, al
je 0x10154027
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xb0]
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 0x10153fa3
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 0x10154027
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax + 4]
jne 0x10153fd2
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 0x10153ff3
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 0x10154043
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.10155e30
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
jmp 0x10153ef0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x50], 8
jb 0x1015408f
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