Function at 0x40f8ec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, 0x4d832f
mov eax, dword [0x4d42b0]
push eax
call fcn.004b7934
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40fce4
cmp dword [ebp + 8], 0
je 0x40f94c
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4b8]
push ecx
call fcn.0046f8e0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x4b8], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x4b0]
push eax
call fcn.0046f8e0
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x4b0], ecx
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [0x4d9fa4], eax
mov dword [0x4d9fac], eax
mov dword [0x4d9fa8], eax
mov edx, dword [0x4d9fa4]
push edx
mov ecx, dword [0x4d9fa8]
push ecx
push 0
push 0x57a
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push edi
mov eax, dword [0x4d42b0]
push eax
call sub.USER32.dll_SetWindowTextA
mov edx, dword [0x4d42b0]
push edx
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x40f9c2
mov ecx, dword [0x4d42b0]
push ecx
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x40f9cf
push 9
mov eax, dword [0x4d42b0]
push eax
call sub.USER32.dll_ShowWindow
push 3
push 0
push 0
push 0
push 0
push 0
mov edx, dword [0x4d42b0]
push edx
call sub.USER32.dll_SetWindowPos
push 0
push 0
push 0x184
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x51c]
push eax
call sub.USER32.dll_SendMessageA
push 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x51c]
push ecx
call sub.USER32.dll_ShowWindow
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4b8], 0
jne 0x40fa31
call fcn.0040f7b8
test eax, eax
jne 0x40fa31
mov byte [0x4d7f48], 0
jmp 0x40fbec
mov byte [0x4d7f48], 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x4b8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x40fa53
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x2c]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x40fbec
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
push edi
mov esi, edi
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0xf
push edi
call fcn.004a6178
cmp byte [edi], 0
je 0x40fa53
push 9
push edi
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x40fa53
cmp dword [0x4cab78], 0
jne 0x40faad
mov byte [eax], 0
mov esi, 1
inc dword [0x4d9fa4]
inc eax
cmp byte [eax], 0
je 0x40fad9
push eax
call fcn.004c4ccc
pop ecx
cmp eax, dword [0x4cab70]
jl 0x40fad5
cmp eax, dword [0x4cab74]
jle 0x40fadb
xor esi, esi
jmp 0x40fadb
xor esi, esi
test esi, esi
je 0x40fb3c
push edi
call fcn.004c408c
pop ecx
mov ebx, 0x4da440
jmp 0x40fb02
push eax
push edi
call fcn.004bd134
add esp, 8
test eax, eax
je 0x40faff
xor esi, esi
jmp 0x40fb08
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40faed
test esi, esi
je 0x40fb3c
cmp dword [0x4da2b0], 0
je 0x40fb3c
xor esi, esi
mov ebx, 0x4da2b0
jmp 0x40fb36
push eax
push edi
call fcn.004bd134
add esp, 8
test eax, eax
je 0x40fb33
mov esi, 1
jmp 0x40fb3c
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40fb1e
cmp dword [0x4cab80], 0
je 0x40fb61
mov edx, dword [ebp - 8]
mov ecx, dword [edx]
xor eax, eax
mov al, byte [ecx + 2]
movzx edx, word [eax*2 + str.________________________________H]
test edx, 0x104
jne 0x40fb61
xor esi, esi
test esi, esi
je 0x40fb93
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push edx
push 0
push 0x180
push 0x425
mov ecx, dword [0x4d42b0]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
cmp eax, 0xffffffff
je 0x40fbec
cmp eax, 0xfffffffe
je 0x40fbec
inc dword [0x4d9fa8]
inc dword [0x4d9fac]
cmp dword [0x4d9fac], 0x64
jl 0x40fbd9
xor eax, eax
mov dword [0x4d9fac], eax
mov edx, dword [0x4d9fa4]
push edx
mov ecx, dword [0x4d9fa8]
push ecx
push 0
push 0x57a
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push edi
mov eax, dword [0x4d42b0]
push eax
call sub.USER32.dll_SetWindowTextA
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x2c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x40fa5d
mov eax, dword [0x4d9fa4]
push eax
mov edx, dword [0x4d9fa8]
push edx
push 0
push 0x57a
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4b0], 0
je 0x40fc4c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4b0]
mov ecx, dword [edx]
push ecx
mov eax, dword [0x4d9fa4]
push eax
mov edx, dword [0x4d9fa8]
push edx
push 0
push 0x57b
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x40fc6f
mov ecx, dword [0x4d9fa4]
push ecx
mov eax, dword [0x4d9fa8]
push eax
push 0
push 0x57a
call fcn.0040a8fc
push eax
push edi
call sub.USER32.dll_wsprintfA
add esp, 0x10
push edi
mov edx, dword [0x4d42b0]
push edx
call sub.USER32.dll_SetWindowTextA
push 0
push 0x4cac8f
push 0x425
mov ecx, dword [0x4d42b0]
push ecx
call fcn.004b747c
push 5
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x51c]
push edx
call sub.USER32.dll_ShowWindow
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x51c]
push eax
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0x186
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x51c]
push ecx
call sub.USER32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x51c]
push edx
call sub.USER32.dll_SetFocus
mov ecx, dword [ebp - 0xc]
push ecx
call sub.USER32.dll_SetCursor
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4