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

Disassembly:
sub esp, 0x9c
pushal
mov edi, eax
mov eax, 0xc
mov ebx, dword [edi + eax + 0x115]
mov dword [esp + eax + 0xac], ebx
sub eax, 4
jae 0x457d56
call fcn.00422090
cmp dword [edi + 0x19d], 0
je 0x457d95
mov eax, edi
call fcn.00464490
mov ebx, eax
mov eax, edi
call fcn.004644ac
mov eax, edi
call fcn.0045a060
mov eax, edi
call fcn.00464474
lea esi, [esp + 0x64]
push esi
mov eax, dword [edi + 0x5b]
push eax
call sub.USER32.dll_BeginPaint
mov ebx, eax
mov dword [esp + 0x20], ebx
test byte [edi + 0x1b1], 8
je 0x457ddf
mov dword [esp + 0xa4], ebx
mov eax, dword [edi + 0x5b]
mov dword [esp + 0xa8], eax
mov eax, dword [edi + 0x5b]
push eax
call sub.USER32.dll_GetParent
lea ecx, [esp + 0xa4]
push ecx
push 0x4580ac
push eax
call sub.USER32.dll_EnumChildWindows
mov eax, dword [edi + 0x63]
mov eax, dword [eax + 0x48]
push eax
push ebx
call sub.GDI32.dll_SelectObject
mov dword [esp + 0x40], eax
push ebx
call sub.GDI32.dll_GetBkColor
mov dword [esp + 0x3c], eax
mov eax, edi
call fcn.004644ac
cmp dword [edi + 0x19d], 0
je 0x457e11
mov eax, edi
call fcn.0045a060
mov eax, dword [edi + 0x175]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x119]
add eax, dword [edi + 0x125]
cmp dword [edi + 0x121], eax
jge 0x457e38
mov dword [esp + 0x2c], 0
mov eax, edi
call fcn.00457c64
jmp 0x457e55
mov eax, dword [edi + 0x121]
add eax, dword [edi + 0x131]
cmp dword [esp + 0x78], eax
jg 0x457e6e
jmp 0x457e8e
cmp dword [edi + 0xa3], 0
jne 0x457e41
jmp 0x457e8e
mov eax, dword [edi + 0x125]
cmp dword [esp + 0x70], eax
jl 0x457eac
jmp 0x457eba
mov eax, edi
call fcn.004593b8
mov eax, dword [edi + 0x121]
push eax
push dword [esp + 0x78]
push dword [esp + 0x78]
push dword [esp + 0x78]
push ebx
call sub.GDI32.dll_IntersectClipRect
cmp dword [edi + 0x125], 0
jne 0x457e60
jmp 0x457eba
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x60], eax
jge 0x457f68
jmp 0x457f86
mov eax, edi
mov ecx, ebx
mov edx, 5
call fcn.0045962c
mov eax, dword [edi + 0x141]
mov eax, dword [edi + 0x141]
mov ecx, dword [eax]
call dword [ecx + 0x14]
sub eax, dword [edi + 0x185]
mov dword [esp + 0x34], eax
cmp eax, 0
jge 0x457ee3
mov eax, 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x457f01
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], 1
cmp ecx, 0
je 0x457fa1
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov ecx, dword [edi + 0x185]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xb0]
add eax, dword [edi + 0x125]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x2c]
dec edx
mov dword [esp + 0x2c], edx
inc edx
cmp edx, 0
je 0x457fa1
mov dword [esp + 0x58], eax
mov edx, eax
add edx, dword [edi + 0x12d]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x78]
cmp eax, edx
jl 0x457e99
jmp 0x457f86
mov eax, edi
mov ebx, ecx
call fcn.0045c500
mov dl, al
push ecx
mov eax, edi
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x58]
movzx edx, dl
call fcn.00458148
mov ecx, dword [edi + 0x12d]
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
jmp 0x457f3b
cmp dword [esp + 0x38], 0
je 0x458050
mov eax, dword [esp + 0xac]
mov dword [0x54594c], eax
mov eax, dword [esp + 0xb0]
add eax, dword [edi + 0x125]
mov ecx, dword [esp + 0x34]
imul ecx, dword [edi + 0x12d]
add eax, ecx
mov dword [0x545950], eax
mov eax, dword [esp + 0xb4]
mov dword [0x545954], eax
mov eax, dword [esp + 0xb8]
mov dword [0x545958], eax
mov eax, 0xc
mov ecx, dword [eax + 0x54594c]
mov dword [esp + eax + 0x44], ecx
sub eax, 4
jae 0x457ff4
mov eax, edi
mov eax, dword [eax + 0xc]
and eax, 0x1000
cmp eax, 0
je 0x458019
mov eax, 0
jmp 0x45801e
mov eax, 2
push 0
push 0
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], ecx
push ecx
push eax
push 0
push 0
push ebx
call sub.GDI32.dll_ExtTextOutA
mov eax, dword [edi + 0x1be]
push eax
push ebx
call sub.GDI32.dll_SetBkColor
mov eax, edi
mov ecx, dword [esp + 0x30]
call fcn.00457aa0
push dword [esp + 0x3c]
push ebx
call sub.GDI32.dll_SetBkColor
push dword [esp + 0x40]
push ebx
call sub.GDI32.dll_SelectObject
push esi
mov eax, dword [edi + 0x5b]
push eax
call sub.USER32.dll_EndPaint
cmp dword [edi + 0x19d], 0
je 0x45809f
mov eax, edi
call fcn.00464490
mov ebx, eax
mov eax, edi
call fcn.004644ac
mov dword [edi + 0x19d], 0
mov eax, edi
call fcn.0045a430
mov eax, edi
call fcn.00464474
call fcn.00422064
popal
add esp, 0x9c
ret