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

Disassembly:
push 0xffffffffffffffff
push 0x505edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [ecx + 4]
push esi
xor esi, esi
mov dword [esp + 0x10], ecx
cmp eax, esi
je 0x454ff3
push ebx
push ebp
mov ebp, dword [esp + 0x228]
push edi
cmp ebp, esi
je 0x454d83
mov edi, ebp
mov dword [esp + 0x10], edi
jmp 0x454d90
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x10], eax
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp ebp, esi
mov ebx, eax
je 0x454da5
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x240]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
cmp eax, esi
mov dword [esp + 0x40], eax
jne 0x454dc3
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebp, dword [esp + 0x238]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x24]
dec ecx
push 0x400
push edx
push ecx
push ebp
push ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add esi, eax
mov dword [esp + 0x18], eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x48]
push 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x40]
push 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push 0
push edx
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x64], esi
mov word [esp + 0x6c], 1
mov word [esp + 0x6e], 0x18
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esi + esi*2]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x3c]
lea eax, [ecx*8 + 0x1f]
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
xor eax, eax
sar ecx, 5
imul ecx, dword [esp + 0x18]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x244]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
push ebp
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push 0
lea ecx, [esp + 0x78]
call fcn.0044ccd0
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x22c], 0
call fcn.00453c40
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x234]
xor edi, edi
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x14], edi
sub ebp, edx
dec ebp
test esi, esi
jle 0x454f9a
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], esi
jle 0x454f8d
push esi
lea edx, [esp + 0x48]
push edi
push edx
lea ecx, [esp + 0x80]
call fcn.0045bab0
cmp byte [eax], 0
je 0x454f80
mov eax, dword [esp + 0x230]
mov ecx, dword [esp + 0x23c]
add esi, ebp
push 0
add edi, eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edi
call fcn.0045bcf0
mov ecx, dword [esp + 0x1c]
push 0xff
push esi
push edi
call fcn.0044da50
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x454f30
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x454f22
mov eax, dword [esp + 0x20]
test eax, eax
je 0x454faa
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x40]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call esi
mov eax, dword [esp + 0x38]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call esi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x74]
mov dword [esp + 0x224], 0xffffffff
mov dword [esp + 0x74], 0x50d434
call fcn.0044ccf0
pop edi
pop ebp
mov eax, 1
pop ebx
jmp 0x454ff8
mov eax, 1
mov ecx, dword [esp + 0x210]
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 0x1c