Function at 0x641108
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x64131c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [edi + 0x60]
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 4]
add esi, dword [ebx + 0x10]
mov eax, dword [0x66928c]
sub esi, dword [eax]
mov dword [ebp - 0x24], esi
mov eax, dword [0x6694a0]
mov eax, dword [eax]
add eax, esi
mov dword [ebp - 0x1c], eax
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
cmp edx, eax
jne 0x641187
lea edx, [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
add esi, dword [edi + 0x34]
mov dword [ebp - 0x18], esi
jmp 0x64118d
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
cmp byte [ebx + 0x2c], 0
je 0x6411f5
cmp byte [ebp - 5], 0
je 0x64119f
cmp byte [ebx + 0x2d], 0
je 0x6411f5
cmp dword [ebx + 0x30], 0
je 0x6411f5
push 0
mov eax, dword [ebx + 0x30]
call fcn.00643a28
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x669168]
mov eax, dword [eax]
mov eax, dword [eax + 0x15c]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x6411f5
mov eax, dword [0x669168]
mov eax, dword [eax]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00643a28
push eax
call sub.user32.dll_UpdateWindow
dec esi
cmp esi, 0xffffffff
jne 0x6411cb
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_InvertRect
mov al, byte [ebx + 0x2c]
and al, byte [ebp - 5]
je 0x6412ed
cmp dword [ebx + 0x30], 0
jne 0x641233
mov ecx, edi
mov dl, 1
mov eax, dword [0x63ec3c]
call fcn.00644114
mov esi, eax
mov dword [ebx + 0x30], esi
mov edx, 0x80000018
mov eax, esi
call fcn.0063fe78
cmp byte [ebx + 1], 3
jne 0x641242
mov esi, dword [ebp - 4]
add esi, dword [ebx + 0x10]
inc esi
jmp 0x64124d
mov eax, dword [ebp - 4]
add eax, dword [ebx + 0x10]
mov esi, dword [edi + 0x30]
sub esi, eax
lea ecx, [ebp - 0xc]
mov edx, esi
mov eax, dword [ebx + 0x38]
call dword [ebx + 0x34]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0065432c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x120]
call fcn.00648600
mov esi, eax
add esi, dword [0x66fcd8]
cmp byte [ebx + 0x2d], 0
je 0x641292
lea eax, [ebp - 0x2c]
call fcn.00618a80
mov edi, dword [ebp - 0x28]
add edi, 0xa
jmp 0x641298
mov edi, dword [ebp - 0x18]
add edi, 2
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x120]
call fcn.00648628
add eax, dword [0x66fcd8]
push eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [0x66986c]
mov edx, dword [edx]
mov eax, dword [0x6691c4]
add edx, dword [eax]
sub edx, esi
sub edx, 5
mov eax, dword [ebp - 0x24]
inc eax
call fcn.00652c54
mov ecx, esi
mov edx, edi
call fcn.0064d694
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x30]
mov esi, dword [eax]
call dword [esi + 0x70]
mov eax, dword [ebx + 0x30]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x641323
lea eax, [ebp - 0x30]
call fcn.00403880
lea eax, [ebp - 0xc]
call fcn.00403274
ret