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

Disassembly:
push 0xffffffffffffffff
push 0x4b9a31
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
xor ebp, ebp
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00415310
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], eax
push 0xffffff
add eax, 0x20
mov dword [esp + 0x50], edx
push edi
mov dword [esp + 0x114], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45489f
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
push 2
push ebp
push ebp
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x24], ebp
mov ecx, dword [esi + 0x400]
push str.MAINDLG_TOP_BKGND
push ecx
mov byte [esp + 0x114], 2
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ebx, eax
push ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea edx, [esp + 0x44]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00453d00
test al, al
je 0x454985
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.004454f0
test al, al
je 0x454985
cmp dword [esi + 0x454], ebp
mov edx, dword [esp + 0x28]
jne 0x45494d
cmp dword [esi + 0x45c], ebp
jne 0x45494d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x2c]
sub eax, edx
add eax, 0xfffffffd
add ecx, 0xfffffffe
cmp eax, ebp
mov dword [esi + 0x454], eax
mov dword [esi + 0x458], ecx
jge 0x454943
mov dword [esi + 0x454], ebp
cmp ecx, ebp
jge 0x45494d
mov dword [esi + 0x458], ebp
mov eax, dword [esi + 0x454]
mov ecx, dword [esi + 0x458]
push ebp
add edx, eax
push ecx
mov dword [esi + 0x45c], edx
mov edx, dword [esp + 0x34]
push eax
add edx, ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esi + 0x24]
mov dword [esi + 0x460], edx
call fcn.004472c0
lea edx, [esp + 0xec]
push edx
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectA]
push 0xcb8d47
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0xf4]
add eax, edx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffffd
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x18]
add edx, 0x20
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
lea eax, [ecx + 2]
mov dword [esp + 0x84], edx
mov dword [esp + 0x64], edx
push ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x60], ecx
push edx
lea ecx, [eax - 3]
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_FillRect]
push ebx
lea eax, [esp + 0x80]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebx
lea ecx, [esp + 0x60]
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x400]
mov ebx, dword [esp + 0x14]
add dword [esp + 0x34], 0x27
sub dword [esp + 0x3c], 0x1c
mov eax, 9
add dword [esp + 0x30], eax
sub dword [esp + 0x38], eax
push str.MAINDLG_BOTTOM_BKGND
add ecx, 0xfffffffd
push edx
add ebx, 2
mov dword [esp + 0xd4], ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ebp, eax
lea eax, [esp + 0xd4]
push eax
push 0x18
push ebp
call dword [sym.imp.GDI32.dll_GetObjectA]
mov dword [esp + 0x50], ebx
mov edi, edi
mov ebx, dword [esp + 0x20]
sub ebx, dword [esp + 0xdc]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebp
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0xac]
push ecx
push 0x18
push ebp
mov dword [esp + 0x60], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
push 0xcc0020
push 0
push 0
push esi
push edx
push eax
push ebx
mov ebx, dword [esp + 0x6c]
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x54]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x454b1f
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
add ebx, dword [esp + 0xd8]
cmp ebx, dword [esp + 0xcc]
mov dword [esp + 0x50], ebx
jl 0x454ab0
test ebp, ebp
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x454b44
push ebp
call esi
mov edx, dword [esp + 0xa4]
push edx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov edi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x454b5f
push eax
call esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x454b6a
push eax
call esi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x454b75
push eax
call esi
lea ecx, [esp + 0x8c]
call fcn.004153a0
mov eax, edi
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret