Function at 0x406880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x420090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
sub eax, 0
push ebx
push edi
je 0x406aab
dec eax
je 0x4069fc
dec eax
jne 0x406b88
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3eb
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f2
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3ec
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3f0
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ed
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f1
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ee
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ef
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f4
push eax
call edi
push 5
push eax
call ebx
cmp byte [esi + 0x158], 0
je 0x4069a8
mov edx, dword [0x42136c]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x74
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
push 1
push eax
call edi
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 1
push edx
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4069b5
mov eax, dword [esi + 4]
push 1
push eax
call edi
push 0
push eax
call ebx
mov edx, dword [0x42136c]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x6c
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 4]
push 2
push eax
call edi
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 2
push edx
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x406b88
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3eb
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f2
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3ec
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3f0
push ecx
call edi
push 5
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ed
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f1
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ee
push ecx
call edi
push 5
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ef
push edx
call edi
push 5
push eax
call ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x6b
jmp 0x406b55
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3eb
push ecx
call edi
push 5
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f2
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3ec
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3f0
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ed
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f1
push eax
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ee
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3ef
push edx
call edi
push 0
push eax
call ebx
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x6a
mov ecx, dword [0x42136c]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esi + 4]
push 1
push edx
call edi
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 0x3f4
push edx
call edi
push 0
push eax
call ebx
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
push 1
push 0
push ecx
mov dword [esi + 0x74], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040d34e
mov esp, ebp
pop ebp
ret 4