Function at 0x640ef8
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 0x641110
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 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 + 0x10]
mov ebx, dword [ebp - 0x2c]
add ebx, dword [ebp - 4]
add ebx, dword [esi + 0x10]
mov eax, dword [0x66ed28]
sub ebx, dword [eax]
mov dword [ebp - 0x24], ebx
mov eax, dword [0x66f238]
mov eax, dword [eax]
add eax, ebx
mov dword [ebp - 0x1c], eax
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp edx, eax
jne 0x640f77
lea edx, [ebp - 0x2c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ebx
add ebx, dword [edi + 0x34]
mov dword [ebp - 0x18], ebx
jmp 0x640f7d
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
cmp byte [esi + 0x2c], 0
je 0x640fe5
cmp byte [ebp - 5], 0
je 0x640f8f
cmp byte [esi + 0x2d], 0
je 0x640fe5
cmp dword [esi + 0x30], 0
je 0x640fe5
push 0
mov eax, dword [esi + 0x30]
call fcn.00643864
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x66ea7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x15c]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x640fe5
mov eax, dword [0x66ea7c]
mov eax, dword [eax]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00643864
push eax
call sub.user32.dll_UpdateWindow
dec ebx
cmp ebx, 0xffffffff
jne 0x640fbb
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_InvertRect
mov al, byte [esi + 0x2c]
and al, byte [ebp - 5]
je 0x6410e1
cmp dword [esi + 0x30], 0
jne 0x641023
mov ecx, edi
mov dl, 1
mov eax, dword [0x63e9e8]
call fcn.00643f50
mov ebx, eax
mov dword [esi + 0x30], ebx
mov edx, 0x80000018
mov eax, ebx
call fcn.0063fc34
cmp byte [esi + 1], 3
jne 0x641032
mov ebx, dword [ebp - 4]
add ebx, dword [esi + 0x10]
inc ebx
jmp 0x64103d
mov eax, dword [ebp - 4]
add eax, dword [esi + 0x10]
mov ebx, dword [edi + 0x30]
sub ebx, eax
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [esi + 0x38]
call dword [esi + 0x34]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.00654c74
mov edx, dword [ebp - 0x30]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x120]
call fcn.006484e4
mov ebx, eax
add ebx, dword [0x676d10]
cmp byte [esi + 0x2d], 0
je 0x641082
lea eax, [ebp - 0x2c]
call fcn.00618f24
mov edi, dword [ebp - 0x28]
add edi, 0xa
jmp 0x641088
mov edi, dword [ebp - 0x18]
add edi, 2
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x120]
call fcn.0064850c
add eax, dword [0x676d10]
push eax
lea eax, [ebp - 0x40]
push eax
mov edx, dword [0x66fb70]
mov edx, dword [edx]
mov eax, dword [0x66eb60]
add edx, dword [eax]
sub edx, ebx
sub edx, 5
mov eax, dword [ebp - 0x24]
inc eax
call fcn.00653538
mov ecx, ebx
mov edx, edi
call fcn.0064d580
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x2c]
mov eax, dword [esi + 0x30]
mov bx, 0xffe8
call fcn.00403254
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x641117
lea eax, [ebp - 0x30]
call fcn.00403880
lea eax, [ebp - 0xc]
call fcn.00403274
ret