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

Disassembly:
sub esp, 0x98
pushal
mov dword [esp + 0x38], ebx
mov ebx, eax
mov dword [esp + 0x3c], ebx
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea eax, [ebx + 0xd8]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov eax, ebx
call fcn.00457a78
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x63]
mov eax, dword [eax + 0x4c]
and eax, 0x80000000
cmp eax, 0
je 0x459684
mov eax, dword [ebx + 0x63]
mov eax, dword [eax + 0x4c]
and eax, 0xffff
push eax
call sub.USER32.dll_GetSysColor
jmp 0x459694
mov eax, dword [ebx + 0x63]
mov eax, dword [eax + 0x4c]
and eax, 0xffffff
or eax, 0x2000000
push eax
push edi
call sub.GDI32.dll_SetTextColor
mov esi, eax
mov eax, ebx
mov edx, dword [eax + 4]
mov bl, 0
mov ecx, 0
call dword [edx + 0x11c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
and eax, 1
mov dword [esp + 0x44], eax
cmp eax, 0
je 0x4596fc
push 0xf
call sub.USER32.dll_GetSysColor
push eax
push edi
call sub.GDI32.dll_SetBkColor
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_IsWindowEnabled
cmp eax, 0
jne 0x45970b
push 0xf
call sub.USER32.dll_GetSysColor
call fcn.00463934
push eax
push edi
call sub.GDI32.dll_SetTextColor
jmp 0x45970b
push 0xffffff
push edi
call sub.GDI32.dll_SetBkColor
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], 1
mov ebx, 0
mov dword [esp + 0x2c], ebx
mov ecx, ebx
mov eax, dword [esp + 0x40]
cmp ecx, eax
jae 0x4599be
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x119]
mov dword [esp + 0x50], ecx
lea edx, [eax + 0xd8]
mov edx, dword [edx]
mov ebx, dword [edx + ebx*4]
mov dword [esp + 0x24], ebx
cmp dword [ebx + 0x30], 0xffffffff
je 0x4599b0
mov edx, dword [ebx + 0x30]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov edx, dword [ebx + 0x30]
add edx, dword [ebx + 0x2c]
mov dword [esp + 0xb0], edx
add ecx, dword [eax + 0x125]
mov edx, dword [eax + 0x121]
cmp ecx, edx
jge 0x459781
jmp 0x459787
mov ecx, dword [eax + 0x121]
mov dword [esp + 0xb4], ecx
mov eax, dword [ebx + 4]
and eax, 0x110
cmp eax, 0
je 0x4597a5
mov dword [esp + 0x4c], 1
jmp 0x4597ad
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x44], 0
je 0x4597ce
push 0
push 0
push 0
lea eax, [esp + 0xb4]
push eax
push 2
push 0
push 0
push edi
call sub.GDI32.dll_ExtTextOutA
cmp dword [ebx + 0x14], 0
je 0x45988f
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
cmp dword [esp + 0x48], 0
je 0x4597ed
mov ecx, dword [esp + 0x28]
add edx, ecx
sub eax, ecx
cmp dword [esp + 0x4c], 0
je 0x4597fa
mov ecx, dword [esp + 0x28]
sub eax, ecx
push dword [esp + 0x50]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0xb4]
push eax
mov eax, ebx
mov ebx, edi
mov ecx, dword [esp + 0x40]
call fcn.0045498c
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x3c]
imul ecx, dword [eax + 0x129]
mov eax, dword [esp + 0x50]
add eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x98], ecx
mov ecx, eax
sub ecx, dword [0x78d9a0]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x9c], eax
jge 0x45988f
mov eax, dword [0x78d90c]
call fcn.0050ea48
push eax
lea eax, [esp + 0x9c]
push eax
push edi
call sub.USER32.dll_FillRect
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x20], ebx
mov ecx, ebx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x28]
cmp ecx, eax
jae 0x45991f
mov eax, dword [esp + 0x3c]
lea eax, [eax + 0xc7]
mov eax, dword [eax]
mov ebx, dword [eax + ebx*4]
cmp dword [ebx + 0x14], 0
je 0x459911
mov eax, dword [ebx + 0x14]
call fcn.00518730
mov dword [esp + 0x54], eax
cmp dword [esp + 0x4c], 0
je 0x4598d1
mov eax, dword [esp + 0x28]
jmp 0x4598d6
mov eax, 0
push dword [esp + 0x50]
mov ecx, dword [edx + 0x34]
push ecx
push 0
push 0
push dword [esp + 0x64]
push dword [esp + 0x50]
lea ecx, [esp + 0xc0]
push ecx
push dword [esp + 0x50]
mov ecx, dword [edx + 4]
push ecx
push dword [esp + 0x7c]
push eax
push 0
mov eax, ebx
mov ebx, edi
mov ecx, dword [esp + 0x60]
mov edx, dword [edx + 0x30]
call fcn.0045387c
mov ebx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x20], ebx
jmp 0x459896
mov eax, 0xc
mov ebx, dword [esp + eax + 0xa8]
mov dword [esp + eax + 0x88], ebx
sub eax, 4
jae 0x459924
mov eax, dword [esp + 0x3c]
call fcn.00457a90
cmp eax, 0
je 0x459983
mov ebx, dword [0x70ac14]
cmp dword [esp + 0x48], 0
je 0x459959
mov eax, dword [0x70ac18]
or ebx, eax
mov eax, dword [esp + 0x4c]
cmp eax, 0
je 0x45996a
mov ecx, dword [0x70ac1c]
or ebx, ecx
mov dword [esp + 0x48], eax
mov eax, edi
lea edx, [esp + 0x88]
mov ecx, 0xffffffff
call fcn.0047a5dc
jmp 0x4599b0
mov eax, dword [esp + 0x8c]
add eax, dword [0x78d9a0]
mov dword [esp + 0x94], eax
mov eax, dword [0x78d918]
call fcn.0050ea48
push eax
lea eax, [esp + 0x8c]
push eax
push edi
call sub.USER32.dll_FillRect
mov ebx, dword [esp + 0x2c]
inc ebx
mov dword [esp + 0x2c], ebx
jmp 0x45971c
cmp dword [esp + 0x44], 0
je 0x459ba8
mov eax, dword [esp + 0x58]
cmp eax, 0
je 0x4599de
call fcn.0050eac4
push eax
push edi
call sub.GDI32.dll_SetBkColor
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + 0xaf]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x119]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x11d]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x121]
cmp dword [ebx + 0x125], eax
jge 0x459a28
mov eax, dword [ebx + 0x125]
jmp 0x459a2e
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x7c], eax
jl 0x459a44
jmp 0x459a5e
mov eax, dword [ebx + 0x121]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x78], eax
jl 0x459a19
jmp 0x459a5e
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
push 2
push 0
push 0
push edi
call sub.GDI32.dll_ExtTextOutA
mov eax, ebx
call fcn.00457a90
cmp eax, 0
jne 0x459ba8
mov eax, dword [ebx + 0x121]
cmp dword [ebx + 0x125], eax
jge 0x459a84
mov eax, dword [ebx + 0x125]
jmp 0x459a8a
mov eax, dword [ebx + 0x121]
mov dword [esp + 0xa4], eax
mov eax, dword [ebx + 0xc]
and eax, 0x1000
cmp eax, 0
jne 0x459b13
mov eax, dword [ebx + 0x125]
sub eax, dword [0x78d9a0]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x9c], eax
jge 0x459ba8
mov eax, dword [ebx + 0x115]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0xaf]
cmp dword [ebx + 0x11d], eax
jge 0x459ae8
mov eax, dword [ebx + 0x11d]
jmp 0x459aee
mov eax, dword [ebx + 0xaf]
mov dword [esp + 0xa0], eax
mov eax, dword [0x78d90c]
call fcn.0050ea48
push eax
lea eax, [esp + 0x9c]
push eax
push edi
call sub.USER32.dll_FillRect
jmp 0x459ba8
mov eax, dword [ebx + 0x119]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x9c], eax
jge 0x459ba8
mov eax, ebx
call fcn.00466500
mov ebx, eax
push ebx
call sub.USER32.dll_GetDC
mov dword [esp + 0x60], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x5c], eax
push eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x5b]
push eax
call sub.USER32.dll_GetWindowRect
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x9c]
inc eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x68]
push eax
push ebx
call sub.USER32.dll_ScreenToClient
lea eax, [esp + 0x70]
push eax
push ebx
call sub.USER32.dll_ScreenToClient
mov eax, dword [0x78d90c]
call fcn.0050ea48
push eax
push dword [esp + 0x60]
push dword [esp + 0x68]
call sub.USER32.dll_FrameRect
push dword [esp + 0x60]
push ebx
call sub.USER32.dll_ReleaseDC
push dword [esp + 0x64]
push edi
call sub.GDI32.dll_SetBkColor
push esi
push edi
call sub.GDI32.dll_SetTextColor
popal
add esp, 0x98
ret