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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
push ebx
push ebp
push esi
mov esi, ecx
test dword [esi + 0x84], 0x2000
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
je 0x4cce70
add ecx, dword [0x5ececc]
mov dword [esp + 0x18], ecx
jmp 0x4cce7a
sub eax, dword [0x5ececc]
mov dword [esp + 0x20], eax
push 4
call fcn.0044c150
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, ebp
sub eax, dword [0x5edfd0]
mov dword [esp + 0x2c], ecx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x124]
mov ebx, eax
mov eax, dword [esp + 0x18]
sar ebx, 1
add ebx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
add esp, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edx
call fcn.00456f20
test eax, eax
je 0x4cd083
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x184]
push 0
lea eax, [esp + 0x28]
push eax
push 1
push 1
push ecx
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
mov ecx, dword [0x5edfd0]
mov eax, dword [ebp + 4]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, dword [0x5ee004]
push ebx
push edi
push eax
xor eax, eax
cmp dword [esp + 0x60], eax
setne al
push eax
push ecx
call fcn.0050b420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.004019a0
cmp dword [esp + 0x44], 0
je 0x4cd148
mov eax, dword [0x5b4cd4]
mov edi, dword [esi + 0xb8]
mov dword [esp + 0x40], eax
cdq
idiv edi
mov ecx, dword [esi + 0xa0]
imul ecx, dword [esi + 0xac]
xor ebx, ebx
mov dword [esp + 0x38], ecx
test edx, edx
setne bl
mov edi, eax
sub ebx, ecx
add ebx, edi
xor edi, edi
test ebx, ebx
jle 0x4cd001
jmp 0x4ccf74
mov ecx, dword [esp + 0x38]
cmp edi, dword [esi + 0xa0]
jge 0x4cd001
lea eax, [ebx - 1]
cmp eax, edi
jne 0x4ccfb0
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x4ccf96
lea ecx, [esp + 0x14]
push ecx
jmp 0x4ccfc0
lea edx, [esp + 0x14]
push edx
push 0
mov ecx, esi
call fcn.004cbb90
mov eax, dword [esi + 0x124]
mov dword [esp + 0x1c], eax
jmp 0x4ccfc9
lea edx, [esp + 0x14]
lea eax, [edi + ecx + 1]
imul eax, dword [esi + 0xb8]
push edx
dec eax
push eax
mov ecx, esi
call fcn.004cbb90
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 8]
mov edx, dword [ebp + 4]
push 0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push 3
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x184]
push edx
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
inc edi
cmp edi, ebx
jl 0x4ccf70
mov eax, dword [esi + 0xa8]
mov ebx, dword [esi + 0xa0]
cmp eax, ebx
jle 0x4cd013
mov ebx, eax
cmp edi, ebx
jge 0x4cd148
jmp 0x4cd020
mov edx, dword [esi + 0xa0]
imul edx, dword [esi + 0xac]
add edx, edi
imul edx, dword [esi + 0xb8]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.004cbb90
mov eax, dword [esi + 0x124]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp + 4]
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 1
push 3
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x184]
push ecx
push edx
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
inc edi
cmp edi, ebx
jl 0x4cd020
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
mov eax, dword [0x5ecee4]
mov edi, dword [esp + 0x38]
mov edx, dword [edi + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [0x5edfd0]
mov eax, dword [edi + 4]
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
xor edx, edx
cmp dword [esp + 0x50], edx
push ecx
mov ecx, dword [esp + 0x24]
push ebx
setne dl
push ecx
push eax
mov eax, dword [0x5ee004]
push edx
push eax
call fcn.0050b420
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.004019a0
mov edx, dword [0x5ecf04]
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push eax
call ebx
mov esi, dword [esi + 0x124]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push 0
push ecx
dec esi
push esi
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 4]
push eax
push esi
push ecx
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [0x5ecef4]
mov eax, dword [edi + 4]
push edx
push eax
inc esi
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push 0
push ecx
push esi
push edx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 4]
push eax
push esi
push ecx
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [edi + 4]
push ebp
push edx
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10