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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x4ea00c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], esi
cmp esi, dword [ebx + 0x24]
je 0x4538a4
mov dword [esp + 0x18], 0xa
mov ecx, dword [ebx + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x10], eax
add eax, ecx
sub dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
add edx, ecx
sub dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], eax
sub eax, ecx
mov dword [esp + 0x60], eax
mov eax, ecx
mov dword [esp + 0x54], edx
sub edx, dword [esp + 0xc]
mov dword [esp + 0x5c], edx
cdq
idiv dword [esp + 0x18]
push edi
sub ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
sub ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
sub ecx, edx
mov dword [esp + 0x74], ecx
add ecx, 0xa
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
sub ecx, edx
mov dword [esp + 0x54], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], eax
call fcn.00453021
mov eax, dword [esp + 0x50]
sub esp, 0x10
mov ecx, dword [esp + 0x3c]
add eax, 0xa
sub eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x38], ecx
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x40], eax
call fcn.004530d7
test eax, eax
je 0x45389b
push dword [esp + 0x7c]
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push dword [esp + 0x20]
push dword [esp + 0x1c]
push edi
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
mov ebx, eax
mov esi, dword [esp + 0x1c]
mov edi, eax
mov edx, esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x2c]
cmp edi, ecx
jne 0x453641
mov edi, dword [esp + 0x50]
lea ecx, [edi + 0xa]
cmp edx, ecx
je 0x4537b2
mov ebx, eax
mov esi, edx
lea eax, [edx + 0xa]
mov dword [esp + 0x48], esi
cmp eax, ecx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x2c]
push 0xa
cmovg edx, edi
pop eax
add edx, eax
mov dword [esp + 0x44], edx
lea eax, [ebx + 0xa]
mov edi, ebx
cmp eax, ecx
mov ecx, esi
push 0xa
cmovg edi, dword [esp + 0x74]
sub ecx, dword [esp + 0x10]
pop eax
add edi, eax
mov dword [esp + 0xb0], ecx
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov eax, ebx
sub eax, dword [esp + 0x10]
mov dword [esp + 0xac], eax
add eax, 0xa
mov dword [esp + 0xb4], eax
lea eax, [ecx + 0xa]
mov dword [esp + 0xb8], eax
cmp esi, edx
jge 0x4537a3
mov eax, esi
mov ecx, edx
sub eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x8c]
sub ecx, esi
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], eax
cmp ebx, edi
jge 0x453731
mov esi, ebx
sub edi, ebx
sub esi, dword [esp + 0x14]
imul esi, dword [esp + 0x90]
add dword [esp + 0x34], edi
mov dword [esp + 0x74], edi
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov eax, esi
add esi, dword [esp + 0x90]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, edi
add eax, dword [esp + 0x80]
movzx ecx, byte [eax + 2]
add dword [esp + 0x40], ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
add dword [esp + 0x3c], ecx
add dword [esp + 0x38], eax
sub ebx, 1
jne 0x4536e3
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
add eax, edx
sub ecx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
jne 0x4536bf
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45379b
mov eax, dword [esp + 0x38]
cdq
idiv esi
movzx edi, al
mov eax, dword [esp + 0x3c]
cdq
idiv esi
shl edi, 8
movzx ecx, al
mov eax, dword [esp + 0x40]
or edi, ecx
cdq
idiv esi
shl edi, 8
movzx eax, al
or edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
lea eax, [esp + 0xac]
push edi
push eax
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
mov ebx, edi
mov dword [esp + 0x4c], edi
jmp 0x453609
mov ebx, dword [esp + 0x68]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, dword [esp + 0x6c]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_GetClipRgn]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 1
push dword [0x4f015c]
mov edi, eax
push edi
push edi
call dword [sym.imp.GDI32.dll_CombineRgn]
mov ecx, dword [0x4f015c]
push 4
push edi
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push 0xcc0020
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push ebx
call edi
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [esp + 0x7c], 0
mov esi, dword [esp + 0x64]
je 0x453878
lea ecx, [esp + 0x78]
call fcn.004531d3
push eax
call edi
lea ecx, [esp + 0x78]
call fcn.00453085
mov ebx, dword [esp + 0x68]
add esi, 8
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x64], esi
cmp esi, dword [ebx + 0x24]
jne 0x4534fa
jmp 0x4538a4
lea ecx, [esp + 0x78]
call fcn.00453085
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a439a
mov esp, ebp
pop ebp
ret 4