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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba846
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x18], edi
call edx
cmp dword [ebx + 0x5d8], 0
mov dword [esp + 0x14], eax
jne 0x45c2d5
push 0x58
lea eax, [esp + 0x6c]
push 0
push eax
mov dword [esp + 0x70], 0
call fcn.004a1210
mov ecx, dword [ebx + 0x1e8]
add esp, 0xc
push edi
lea esi, [esp + 0x68]
call fcn.00447b80
cmp dword [ebx + 0x5e8], 0
mov eax, dword [ebx + 0x5d4]
mov ecx, dword [ebx + 0x1c8]
mov dl, byte [ebx + 0x5e0]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov al, byte [ebx + 0x5e4]
mov byte [esp + 0x7e], 3
mov byte [esp + 0x7b], 1
mov dword [esp + 0x64], ecx
mov byte [esp + 0x78], dl
mov byte [esp + 0x79], al
je 0x45c2ba
cmp dword [esp + 0x14], 1
jne 0x45c2ba
mov dword [esp + 0x74], 0x2bc
jmp 0x45c2c4
mov ecx, dword [ebx + 0x1cc]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x5d8], eax
mov eax, dword [ebx + 0x5d8]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1c0], 0
mov dword [esp + 0x2c], eax
je 0x45c2f7
push edi
push ebx
call fcn.00443810
mov esi, dword [sym.imp.GDI32.dll_SetBkMode]
push 2
push edi
call esi
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x45c32f
cmp dword [ebx + 0x5a0], 0
je 0x45c318
push eax
push edi
call esi
mov ecx, dword [ebx + 0x1d4]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebx + 0x1dc]
push edx
jmp 0x45c38f
cmp eax, 2
jne 0x45c349
push 1
push edi
call esi
mov eax, dword [ebx + 0x1d0]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x45c396
cmp eax, 3
jne 0x45c363
push 1
push edi
call esi
mov ecx, dword [ebx + 0x1e0]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x45c396
test eax, eax
je 0x45c36c
cmp eax, 5
jne 0x45c396
cmp dword [ebx + 0x5a0], 0
je 0x45c37a
push 1
push edi
call esi
mov edx, dword [ebx + 0x1e4]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebx + 0x1dc]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [ebx]
mov eax, dword [edx + 0xc4]
mov ecx, ebx
call eax
test eax, eax
jne 0x45c3b2
push 0xff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xac]
sub eax, 0xffffff80
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x578]
mov dword [esp + 0x20], ecx
lea ecx, [ebx + 0x578]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, edx
jge 0x45c3ee
push 0
call fcn.00402050
mov eax, dword [ebx + 0x5c4]
cmp dword [ebx + 0x18c], eax
jle 0x45c407
test eax, eax
jle 0x45c407
dec eax
mov dword [ebx + 0x18c], eax
mov eax, dword [ebx + 0x5bc]
test eax, eax
jne 0x45c42b
mov eax, dword [ebx + 0x578]
mov ecx, dword [eax - 8]
test eax, eax
jne 0x45c593
jmp 0x45c5a1
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
lea esi, [eax + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov ecx, 7
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
add edx, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x634]
lea edi, [ecx + eax]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
push edx
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x48], edi
call dword [sym.imp.USER32.dll_FillRect]
call fcn.00498c2b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45c589
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0xd8], 0
mov ecx, dword [ebx + 0x64c]
cmp dword [ecx - 0xc], 0
lea eax, [ebx + 0x64c]
je 0x45c4c8
push eax
lea ecx, [esp + 0x20]
call fcn.00408830
jmp 0x45c50e
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.0045cdf0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xdc], 1
call fcn.00408830
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c50e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
mov eax, dword [esi - 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0
push eax
push esi
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
push 4
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
add esi, 0xfffffff0
mov dword [esp + 0x14], edi
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c575
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp dword [esp + 0x24], 0
jne 0x45c427
mov edi, dword [esp + 0x18]
jmp 0x45c411
push 0x80004005
call fcn.004010d0
push ecx
push eax
call fcn.0049df12
add esp, 8
test eax, eax
jl 0x45c5f3
mov ecx, dword [ebx + 0x578]
cmp eax, dword [ecx - 8]
jg 0x45c5f3
mov dword [ecx - 0xc], eax
mov ecx, dword [ebx + 0x578]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 0x2c]
push eax
push edi
mov dword [ebx + 0x1c0], edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0049dc2a
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.004010d0
int3