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

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x74]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
push edi
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, esi
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x58]
mov dword [esp + 0x34], edx
mov edx, dword [esi]
push eax
call dword [edx + 0x110]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp ecx, eax
jle 0x52cce4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
cmp ecx, edx
jg 0x52cce4
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
mov eax, dword [ebx + 0x2c]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x84]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x404]
call fcn.005461d0
test eax, eax
je 0x52cce4
mov edx, dword [ebx + 0x10]
push ebp
push edx
call sub.MFC42u.DLL_CDC::FromHandle
mov edi, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x12c]
mov ebp, eax
push 5
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetSysColor]
xor ecx, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
test ebp, ebp
setne cl
push ecx
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x84]
setne dl
push edx
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x90]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0052b6a0
cmp dword [esp + 0x80], 0xffffffff
jne 0x52caf7
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x130]
test eax, eax
je 0x52cae8
mov eax, dword [esi + 0x4b0]
jmp 0x52caf0
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push 1
push ecx
push edx
push edi
mov ecx, esi
call fcn.0052c370
mov ecx, dword [esp + 0x84]
mov ebp, eax
mov eax, dword [esi]
mov dword [esp + 0x28], ebp
mov edx, dword [ecx]
lea ecx, [esp + 0x3c]
push edx
push edi
push ecx
push 2
push ebx
mov ecx, esi
call dword [eax + 0x128]
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x80]
add eax, ecx
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
mov ecx, edi
push eax
call sub.MFC42u.DLL_CDC::FillSolidRect_1
push 0
push 1
lea ecx, [esp + 0x34]
push 0
push ecx
push edi
mov ecx, esi
call fcn.0052c570
mov eax, dword [esi + 0xa8]
test eax, eax
jne 0x52cbed
mov ecx, dword [esi + 0x40c]
mov dword [esp + 0x18], 0x71
mov ebp, dword [ecx + 4]
test ebp, ebp
je 0x52cbc4
mov eax, 3
xor edx, edx
div dword [ecx + 8]
mov edx, dword [ebp + edx*4]
test edx, edx
je 0x52cbc4
mov eax, 0x32
cmp dword [edx + 8], eax
je 0x52cbb1
mov edx, dword [edx]
test edx, edx
jne 0x52cba4
jmp 0x52cbc4
test edx, edx
je 0x52cbc4
mov eax, dword [edx + 0xc]
test eax, eax
je 0x52cbc4
mov dword [esp + 0x18], 0x75
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push 0
lea eax, [esp + 0x40]
push edx
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x110]
push eax
push edi
call fcn.004095f0
mov ebp, dword [esp + 0x40]
add esp, 0x18
mov ecx, dword [esp + 0x84]
mov eax, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x6c]
push edx
push edi
push ecx
push 0
push ebx
mov ecx, esi
call dword [eax + 0x128]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
push 0xffffffffffffffff
push 1
push edx
lea eax, [esp + 0x78]
push 0
push eax
push ecx
push edi
mov ecx, esi
call fcn.0052efb0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp edx, eax
je 0x52cc8b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], edx
mov edx, dword [esi]
mov dword [esp + 0x50], ecx
push 0x1c
mov ecx, esi
mov dword [esp + 0x5c], eax
call dword [edx + 0x120]
test eax, eax
jne 0x52cc7d
mov edx, dword [0x75a754]
mov ecx, dword [esp + 0x4c]
mov eax, 0xfffffffe
sub eax, edx
add ecx, eax
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x4c]
push ecx
push edi
call fcn.0040abc0
add esp, 8
test ebp, ebp
je 0x52cc97
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
push 0
push eax
push ecx
push edi
mov ecx, esi
call fcn.0052c370
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov ebx, eax
mov eax, dword [esp + 0x10]
push edx
push eax
lea edx, [esp + 0x74]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
push edi
mov ecx, esi
call fcn.0052c0f0
test ebx, ebx
pop ebp
je 0x52cce4
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x30]
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 0x6c
ret 8