Function at 0x411964
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x18], esi
push edi
mov edi, ecx
cmp eax, 0x110
jne 0x4119b2
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edx, esp
inc ebx
mov dword [edi + 0x24], ebx
mov dword [edx], ecx
mov ecx, edi
call fcn.00412218
mov dword [esi], eax
cmp dword [edi + 0x24], 0
je 0x411bbd
mov eax, ebx
jmp 0x411bbf
cmp eax, 0x10
jne 0x4119d0
xor ebx, ebx
xor esi, esi
inc ebx
push esi
mov dword [edi + 0x24], ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
cmp dword [edi + 0x24], esi
jmp 0x4119a5
cmp eax, 0x113
jne 0x411a15
xor ebx, ebx
xor esi, esi
inc ebx
cmp dword [ebp + 0xc], 0x64
mov dword [edi + 0x24], ebx
jne 0x4119c6
mov eax, dword [edi + 0x36c]
cmp eax, dword [edi + 0x368]
jge 0x4119c6
cmp eax, 0x64
jge 0x4119c6
push ebx
inc eax
mov dword [edi + 0x36c], eax
push esi
push dword [edi + 0x334]
mov dword [edi + 0x358], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4119c6
cmp eax, 0x14
jne 0x411a27
xor ebx, ebx
inc ebx
mov dword [edi + 0x24], ebx
mov dword [esi], ebx
jmp 0x4119a1
cmp eax, 0x138
jne 0x411a67
mov eax, dword [ebp + 0x10]
xor ebx, ebx
inc ebx
push ebx
push dword [ebp + 0xc]
mov dword [edi + 0x24], ebx
cmp eax, dword [edi + 0x268]
jne 0x411a54
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 0x30c]
jmp 0x41199f
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x41199f
cmp eax, 0x84
jne 0x411aab
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp - 0x10]
shr ecx, 0x10
add eax, 0x37
cmp ecx, eax
mov dword [esi], 2
setl dl
test edx, edx
je 0x411bbd
xor eax, eax
inc eax
jmp 0x411bbf
cmp eax, 0x111
jne 0x411afd
mov eax, 0x8ce
cmp ax, word [ebp + 0xc]
jne 0x411ac9
sub esp, 0x10
call fcn.00412c18
mov dword [esi], eax
jmp 0x411aa3
mov eax, 0x8cc
cmp ax, word [ebp + 0xc]
jne 0x411ade
sub esp, 0x10
call fcn.00412d35
jmp 0x411ac5
mov eax, 0x8cd
cmp ax, word [ebp + 0xc]
jne 0x411bbd
push 6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi], 0
jmp 0x411aa3
cmp eax, 0xb00
jne 0x411b0e
sub esp, 0x10
call fcn.00412ba4
jmp 0x411ac5
cmp eax, 0x900
jne 0x411b5c
xor ebx, ebx
inc ebx
cmp dword [edi + 0x380], ebx
jne 0x411b24
xor eax, eax
jmp 0x411b55
cmp dword [0x4d850c], 0
jne 0x411b42
push 0
push 0x1e
push 0x64
push dword [edi + 4]
mov dword [0x4d850c], ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x368], eax
jge 0x411b53
mov dword [edi + 0x368], eax
mov eax, ebx
mov dword [esi], eax
jmp 0x4119ab
cmp eax, 0x901
jne 0x411bab
push 0x64
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor ebx, ebx
mov dword [edi + 0x358], 0x64
inc ebx
push ebx
push 0
push dword [edi + 0x334]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 0x2c]
call esi
push 0
push dword [edi + 0xac]
call esi
mov eax, dword [ebp - 0x18]
mov dword [eax], ebx
jmp 0x4119ab
cmp eax, 0xf
jne 0x411bbd
sub esp, 0x10
call fcn.00412992
jmp 0x411ac5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043223c
mov esp, ebp
pop ebp
ret 0x10