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

Disassembly:
push 0xffffffffffffffff
push 0x431cb6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0xdc]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
cmp dword [edi + 0x28], ebp
mov dword [esp + 0xe4], ebp
je 0x411502
mov esi, dword [esp + 0xec]
lea eax, [esp + 0xcc]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
je 0x411502
mov edx, dword [edi + 4]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0xd8]
cmp dword [esp + 0xd0], eax
mov dword [esp + 0x60], eax
jg 0x411502
mov eax, dword [edi + 0x154]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ebp
push ebp
push 0x433830
lea eax, [esp + 0x60]
push eax
push 2
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [edi + 0x158]
mov ebx, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push 1
push ebp
call ebx
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x15c]
push eax
push 1
push ebp
mov byte [esp + 0xf0], 2
call ebx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
push ebp
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetScrollPos]
push ebp
neg eax
push eax
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [edi + 0x318]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], eax
jle 0x4114e6
mov dword [esp + 0x40], ebp
jmp 0x411020
mov eax, dword [0x43e3bc]
mov edx, dword [eax + 0xc]
mov ecx, 0x43e3bc
call edx
add eax, 0x10
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
cmp ebp, eax
mov byte [esp + 0xe4], 3
jl 0x4114d2
cmp ebx, dword [edi + 0x318]
jge 0x4114d2
mov eax, dword [edi + 0x314]
add eax, ebp
push eax
lea ecx, [esp + 0x94]
call fcn.0040ac30
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x94]
add eax, ecx
cmp eax, dword [esp + 0xcc]
mov dword [esp + 0x1c], eax
jge 0x4110b4
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 2
call fcn.00407d80
jmp 0x4114b0
cmp ecx, dword [esp + 0xd4]
jg 0x4114d2
cmp dword [edi + 0x304], 0
je 0x411179
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x48]
mov ebp, eax
mov eax, dword [esp + 0x20]
add ecx, 0xffffffff
cmp dword [esp + 0x28], ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc8], eax
jne 0x411111
mov ebx, dword [esp + 0x5c]
mov eax, dword [edi + 0x304]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xc0]
push 0xcc0020
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xcc]
sub eax, ecx
push eax
push 1
push 0
push 0
push ebp
push eax
mov eax, dword [esp + 0xd8]
sub ebx, eax
push ebx
push ecx
push eax
lea ecx, [esp + 0x114]
call fcn.0040bf80
mov edx, dword [esp + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push ebp
call ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x6c]
call fcn.00405240
jmp 0x41117f
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
push eax
push esi
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.GDI32.dll_MoveToEx]
push 0
add eax, 4
push eax
add ecx, 0xffffffff
push ecx
push esi
call ebp
mov eax, dword [edi + 0xd8]
mov ecx, dword [esp + 0x1c]
sub eax, 4
push eax
add ecx, 0xffffffff
push ecx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x44]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0
add eax, 4
push eax
push edx
push esi
call ebp
mov eax, dword [edi + 0xd8]
sub eax, 4
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
neg edx
sbb edx, edx
add edx, 4
push 1
mov dword [esp + 0x30], eax
add edx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
push 0
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [edi + 0x30], 0
je 0x411384
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
cmp ecx, 0xf
jle 0x411384
cmp dword [esp + 0x98], 0
mov dword [esp + 0x24], 1
jne 0x41126c
mov edx, dword [esp + 0xa8]
cmp edx, dword [edi + 0x100]
jne 0x41126c
sub dword [esp + 0x34], 0xf
add dword [esp + 0x2c], 4
sub dword [esp + 0x34], 5
cmp dword [esp + 0xa4], 0xffffffff
je 0x41134c
mov edx, dword [edi + 0x1cc]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [esp + 0x90]
cmp dword [eax - 0xc], 0
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
jne 0x4112ca
mov edx, dword [esp + 0x34]
lea eax, [edx + ecx]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
sub ecx, 1
lea eax, [ecx + ebp]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffe
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x4112e4
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add eax, ebp
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x50]
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
sar ecx, 1
sub ecx, eax
lea eax, [ecx + edx]
cmp eax, ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
jl 0x411317
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0xa4]
push 1
push 0xff000000
push 0xff000000
lea eax, [esp + 0x7c]
push eax
push esi
push ecx
lea ecx, [edi + 0x1cc]
call fcn.0040c2f0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
lea ecx, [edx + eax + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [edi + 0x1c4]
push eax
push esi
call ebx
mov eax, dword [edi + 0x160]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov al, byte [esp + 0xa0]
test al, 4
mov ebx, 0x8824
je 0x411391
mov ebx, 0x8825
jmp 0x41139a
mov dword [esp + 0x24], 0
jmp 0x41126c
test al, 2
je 0x41139a
mov ebx, 0x8826
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4113cb
mov ecx, dword [esp + 0x90]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4113cb
push ebx
lea edx, [esp + 0x30]
push edx
push eax
push ecx
lea ecx, [esp + 0xfc]
call fcn.00404dc0
cmp dword [esp + 0x24], 0
je 0x411494
cmp dword [esp + 0x98], 0
jne 0x411494
mov eax, dword [esp + 0xa8]
cmp eax, dword [edi + 0x100]
jne 0x411494
mov eax, dword [edi + 0x1cc]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x68]
lea ebx, [edi + 0x1cc]
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x80], eax
add eax, ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x88], eax
jl 0x41143e
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x20]
mov eax, ecx
sub eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
sar eax, 1
sub eax, 3
mov dword [esp + 0x84], eax
add eax, edx
cmp eax, ecx
mov dword [esp + 0x8c], eax
jl 0x41146f
mov dword [esp + 0x8c], ecx
xor ecx, ecx
cmp dword [edi + 0x34], ecx
push 1
push 0xff000000
setne cl
push 0xff000000
lea eax, [esp + 0x8c]
push eax
push esi
push ecx
mov ecx, ebx
call fcn.0040c2f0
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 2
call fcn.00407d80
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
add ebx, 1
add ebp, 0x2c
cmp ebx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x40], ebp
jl 0x411020
jmp 0x4114e6
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 2
call fcn.00407d80
mov eax, dword [esp + 0x3c]
test eax, eax
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x4114f7
push eax
call esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x411502
push eax
call esi
mov ecx, dword [esp + 0xdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 4