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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4cbe78
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x10c]
push 0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [edi + 0x10c]
push eax
push esi
push dword [ecx]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0x1c
push eax
push 1
push dword [edi + 0xd4]
mov dword [esp + 0x74], 0x17
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [edi + 0x128]
mov edx, dword [edi + 0x120]
mov ecx, dword [esp + 0x78]
add edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x124]
push 0xfffffffffffffff0
push dword [edi + 0xd4]
add eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
xor eax, eax
test cl, 1
je 0x468ad7
mov dword [esp + 0x1c], 1
jmp 0x468ae6
test cl, 2
mov ecx, 2
cmovne eax, ecx
mov dword [esp + 0x1c], eax
lea eax, [edi + 0x118]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea esi, [edi + 0x15c]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], esi
test esi, esi
je 0x468b17
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x90], 0
xor edx, edx
mov eax, dword [edi + 0x13c]
sub eax, dword [edi + 0x138]
mov dword [esp + 0x14], edx
test eax, 0xfffffffc
jle 0x468c8a
nop
mov eax, dword [edi + 0x13c]
sub eax, dword [edi + 0x138]
sar eax, 2
cmp eax, edx
jbe 0x468cf0
mov eax, dword [edi + 0x138]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x18], eax
add ecx, dword [eax + 0x50]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x54], ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
cmovl ecx, dword [esp + 0x20]
cmp eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
cmovl eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
cmovg eax, dword [esp + 0x30]
cmp edx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
cmovg edx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x40], edx
js 0x468c5c
sub edx, dword [esp + 0x38]
js 0x468c5c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x24]
movdqa xmm0, xmmword [esp + 0x44]
neg eax
push eax
mov eax, dword [esp + 0x24]
neg eax
movdqa xmmword [esp + 0x38], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x18]
push dword [eax + 0x34]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x30], 0x10
lea ecx, [eax + 0x1c]
mov edx, dword [eax + 0x2c]
jb 0x468c2d
mov ecx, dword [ecx]
mov eax, dword [esp + 0x1c]
or eax, 0x2010
push eax
lea eax, [esp + 0x38]
push eax
push edx
push ecx
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [esp + 0x28]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x50]
jmp 0x468c66
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x10]
jge 0x468c8a
mov eax, dword [edi + 0x13c]
mov edx, dword [esp + 0x14]
sub eax, dword [edi + 0x138]
inc edx
sar eax, 2
mov dword [esp + 0x48], ecx
mov dword [esp + 0x14], edx
cmp edx, eax
jl 0x468b40
test esi, esi
je 0x468c95
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x10c]
push 0xcc0020
push 0
push 0
push dword [eax]
mov eax, dword [edi + 0x124]
sub eax, dword [edi + 0x11c]
push eax
mov eax, dword [edi + 0x120]
sub eax, dword [edi + 0x118]
push eax
push 0
push 0
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 0xc
push str.invalid_vector_T__subscript
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3