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

Disassembly:
push 0xffffffffffffffff
push 0x49eb11
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4cba68]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cba68]
xor eax, esp
push eax
lea eax, [esp + 0x1b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c4]
mov esi, ecx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x20], eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
mov ecx, esi
mov dword [esp + 0x80], 7
call fcn.00468871
push edi
push edi
mov ebx, eax
mov eax, dword [esi + 0x20]
push 0x1004
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x411b6a
neg ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x7c]
push eax
push 0
mov dword [esp + 0x88], ecx
mov ecx, dword [esi + 0x20]
push 0x1005
lea edx, [esp + 0xbc]
push ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], 0x100
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x64]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esi + 0x5c]
mov eax, dword [esi + 0x60]
mov ebp, dword [esi + 0x58]
mov dword [esp + 0x24], edx
mov edx, ecx
sub edx, ebx
imul edx, dword [esp + 0x1c]
add ebx, edx
mov edi, ebx
sub edi, dword [esi + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
add edi, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x14]
cmp dword [esi + 0x68], ecx
mov dword [esp + 0x3c], eax
jne 0x4119f9
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], vtable.CBrush.0
push 0xc56a31
mov dword [esp + 0x1c0], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x48]
call fcn.004660ed
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x60]
push eax
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x44], vtable.CBrush.0
lea ecx, [esp + 0x44]
jmp 0x411a5d
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CBrush.0
push 0xffffff
mov dword [esp + 0x1c0], 1
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x30]
call fcn.004660ed
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x70]
push ecx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x2c], vtable.CBrush.0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1bc], 0xffffffff
call fcn.00409940
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x70]
push 0
push ecx
push eax
call fcn.004608f5
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00410670
mov edx, dword [esp + 0x18]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov dword [esp + 0x38], eax
add ebx, 1
lea eax, [ebx + 1]
push eax
mov eax, dword [edx + 4]
lea ecx, [ebp + 5]
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esp + 0x14]
cmp dword [esi + 0x68], edx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xb0]
jne 0x411ad2
push 1
jmp 0x411ad4
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
push ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [eax + 0xc], edi
call fcn.00403080
mov eax, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.00410b10
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x411b3f
mov edx, dword [esp + 0x14]
sub esp, 0x10
cmp dword [esi + 0x68], edx
mov edx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
jne 0x411b2d
lea eax, [ecx + 8]
add ecx, 0xf4
jmp 0x411b36
lea eax, [ecx + 0xf4]
add ecx, 8
push eax
push ecx
mov ecx, esi
call fcn.004101a0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
add dword [esp + 0x1c], 1
push 0
push 0
push 0x1004
add ebx, 1
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebx, eax
jl 0x411912
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov esi, vtable.CBrush.0
mov dword [esp + 0x50], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
push 0xffffff
mov dword [esp + 0x1c0], 2
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x28]
call fcn.004660ed
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0x38]
push edx
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1bc], 0xffffffff
mov dword [esp + 0x24], esi
call fcn.00409940
mov ecx, dword [esp + 0x1b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.004820a1
add esp, 0x1ac
ret 4