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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb526
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x454135
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [ebx + 0x3f4]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x454135
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0xd8], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], edx
lea esi, [esp + 0x84]
mov dword [eax + 0xc], ecx
call fcn.004881c0
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
mov eax, edi
push eax
mov ecx, ebx
call fcn.00446cb0
mov eax, dword [ebx + 0x56c]
test eax, eax
je 0x453aa4
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x34]
mov eax, dword [ebx]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x128]
mov ecx, ebx
call edx
cmp byte [eax + 0x32], 0
je 0x4539e7
lea eax, [esp + 0x90]
call fcn.00488340
mov byte [esp + 0xd8], 1
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x40], ecx
push eax
mov ecx, edi
call fcn.00488420
mov eax, dword [esp + 0xc4]
test eax, eax
jne 0x4538a3
xor esi, esi
jmp 0x4538b6
mov esi, dword [esp + 0xa4]
imul esi, dword [esp + 0xa0]
add esi, esi
add esi, esi
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x234]
mov ecx, ebx
call eax
mov edi, eax
call fcn.00488820
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x54], ecx
sub ecx, eax
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x4c], eax
add esp, 4
sub esi, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 4]
push 0
mov dword [esp + 0x6c], edi
mov edi, dword [ecx + 8]
sub dword [esp + 0x6c], edx
mov dword [esp + 0x58], esi
mov esi, dword [ecx]
mov ecx, dword [ecx + 0xc]
push 0
push 0
mov dword [esp + 0x7c], ecx
sub dword [esp + 0x7c], edx
mov edx, dword [ebx + 0x56c]
sub esi, eax
sub edi, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], edi
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x70]
push edx
push 0
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0xa8]
push 0
push edx
push 0
push 0
push 0
push 1
call eax
mov edi, dword [esp + 0xc4]
test edi, edi
jne 0x453968
xor eax, eax
jmp 0x45397b
mov eax, dword [esp + 0xa4]
imul eax, dword [esp + 0xa0]
add eax, eax
add eax, eax
call fcn.00488670
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0xff
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x30]
sub edx, eax
push edx
mov edx, dword [esp + 0x3c]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea esi, [esp + 0x90]
mov byte [esp + 0xd8], 0
call fcn.00488380
jmp 0x453a15
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x56c]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
push 0
mov edx, dword [edx + 0x10]
push 0
push 0
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, edi
push eax
push 0
push 0
push 0
push 1
call edx
cmp byte [ebx + 0x570], 0
je 0x453aa4
mov ecx, dword [ebx + 0x4fc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
call edx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x56c]
add eax, ecx
mov dword [esp + 0x14], eax
or eax, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
mov dword [esp + 0x10], 0
mov esi, dword [edx + 0xc]
mov edx, dword [eax + 0x128]
mov ecx, ebx
call edx
mov eax, dword [eax + 0x17c]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x40]
push ecx
push 1
push 0
push 0
push eax
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
jg 0x453aa4
mov eax, ebx
call fcn.00446a00
mov eax, dword [ebx + 0x4d4]
test eax, eax
je 0x45404e
mov ecx, dword [ebx + 0x4d8]
sub ecx, eax
sar ecx, 2
je 0x45404e
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0xd8], 2
mov eax, dword [ebx + 0x3f4]
mov ecx, dword [ebx + 0x3f8]
mov edx, dword [ebx + 0x3fc]
mov esi, dword [ebx + 0x400]
add eax, dword [ebx + 0x4e4]
add ecx, dword [ebx + 0x4e8]
sub edx, dword [ebx + 0x4ec]
sub esi, dword [ebx + 0x4f0]
cmp dword [ebx + 0x4fc], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
je 0x453b49
mov ecx, dword [ebx + 0x4fc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
test al, al
je 0x453b49
mov ecx, dword [ebx + 0x4fc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
sub dword [esp + 0x40], eax
cmp dword [ebx + 0x500], edi
je 0x453b79
mov ecx, dword [ebx + 0x500]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
test al, al
je 0x453b79
mov ecx, dword [ebx + 0x500]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe8]
call eax
sub dword [esp + 0x44], eax
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x453d3f
xor edi, edi
jmp 0x453ba0
mov ecx, dword [ebx + 0x4d4]
test ecx, ecx
je 0x453cac
mov eax, dword [ebx + 0x4d8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x453cac
test ecx, ecx
je 0x453bd4
mov eax, dword [ebx + 0x4d8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x453bd9
call fcn.004a8d14
mov ecx, dword [ebx + 0x4d4]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xd0]
mov ecx, esi
mov dword [esp + 0x14], esi
call eax
test al, al
je 0x453ca4
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453ca4
test byte [esi + 0x328], 8
je 0x453c3d
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
call fcn.004889d0
add edi, 1
jmp 0x453ba0
mov edx, dword [esi]
mov eax, dword [edx + 0x134]
mov ecx, esi
call eax
test al, al
jne 0x453c6d
mov edx, dword [esi]
mov eax, dword [edx + 0x144]
mov ecx, esi
call eax
test al, al
jne 0x453c6d
mov edx, dword [esi]
mov eax, dword [edx + 0x13c]
mov ecx, esi
call eax
test al, al
je 0x453ca4
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
push eax
lea eax, [ebx + 0x3f4]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453ca4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push eax
push ecx
mov ecx, esi
call edx
add edi, 1
jmp 0x453ba0
xor edi, edi
mov edi, edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x454039
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x454039
mov esi, dword [ecx + edi*4]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
mov ecx, esi
call edx
test al, al
jne 0x453d00
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
mov ecx, esi
call edx
test al, al
jne 0x453d00
mov eax, dword [esi]
mov edx, dword [eax + 0x13c]
mov ecx, esi
call edx
test al, al
je 0x453d37
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
push eax
lea eax, [ebx + 0x3f4]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453d37
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push eax
push ecx
mov ecx, esi
call edx
add edi, 1
jmp 0x453cb0
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov edi, dword [ebp + 8]
mov byte [esp + 0xd8], 3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea esi, [esp + 0x58]
mov dword [eax + 0xc], edx
call fcn.004881c0
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebx + 0x4d4]
test edx, edx
je 0x453f17
mov eax, dword [ebx + 0x4d8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x453f17
test edx, edx
je 0x453dd4
mov eax, dword [ebx + 0x4d8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x453dd9
call fcn.004a8d14
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0xd0]
mov ecx, esi
mov dword [esp + 0x14], esi
call eax
test al, al
je 0x453f07
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453f07
test byte [esi + 0x328], 8
je 0x453e49
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
call fcn.004889d0
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x10], ecx
jmp 0x453da0
mov edx, dword [esi]
mov eax, dword [edx + 0x134]
mov ecx, esi
call eax
test al, al
jne 0x453ebb
mov edx, dword [esi]
mov eax, dword [edx + 0x144]
mov ecx, esi
call eax
test al, al
jne 0x453ebb
mov edx, dword [esi]
mov eax, dword [edx + 0x13c]
mov ecx, esi
call eax
test al, al
jne 0x453ebb
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453f07
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
push ecx
push edi
mov ecx, esi
call edx
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x10], ecx
jmp 0x453da0
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
push eax
lea eax, [ebx + 0x3f4]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453f07
mov ecx, dword [esp + 0x60]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x5c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x10], ecx
jmp 0x453da0
xor edx, edx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x10], edx
je 0x454003
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x454003
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
mov ecx, esi
call edx
test al, al
jne 0x453fab
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
mov ecx, esi
call edx
test al, al
jne 0x453fab
mov eax, dword [esi]
mov edx, dword [eax + 0x13c]
mov ecx, esi
call edx
test al, al
jne 0x453fab
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453ff7
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push eax
push edi
mov ecx, esi
call edx
mov edx, dword [esp + 0x10]
add edx, 1
jmp 0x453f19
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
push eax
lea eax, [ebx + 0x3f4]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x453ff7
mov ecx, dword [esp + 0x60]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x5c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edx, dword [esp + 0x10]
add edx, 1
jmp 0x453f19
mov eax, dword [esp + 0x58]
test eax, eax
je 0x454026
mov esi, dword [esp + 0x60]
test esi, esi
je 0x454026
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x454039
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov byte [esp + 0xd8], 0
je 0x45404e
push ecx
call fcn.004a85e6
add esp, 4
cmp dword [ebx + 0x4fc], 0
je 0x4540a6
mov ecx, dword [ebx + 0x4fc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd0]
call eax
test al, al
je 0x4540a6
mov ecx, dword [ebx + 0x4fc]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
mov esi, dword [ebp + 0xc]
push eax
push esi
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4540a9
mov ecx, dword [ebx + 0x4fc]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0xa4]
push esi
push eax
call edx
jmp 0x4540a9
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x500], 0
je 0x4540fe
mov ecx, dword [ebx + 0x500]
mov eax, dword [ecx]
mov edx, dword [eax + 0xd0]
call edx
test al, al
je 0x4540fe
mov ecx, dword [ebx + 0x500]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
push eax
push esi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4540fe
mov ebx, dword [ebx + 0x500]
mov edx, dword [ebx]
mov eax, dword [ebp + 8]
mov edx, dword [edx + 0xa4]
push esi
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x454123
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x454123
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x454135
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8