Function at 0x40f820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480e67
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x49afc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x8c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.click_continue
mov dword [ebp - 4], 0
call fcn.0040e750
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00406910
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x40f895
mov eax, dword [ecx]
push 1
push 1
push ecx
call dword [eax + 0x20]
call fcn.00405560
mov ecx, eax
test ecx, ecx
je 0x40fa69
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x88], eax
mov eax, 0x484c94
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x88]
test eax, 0xffff0000
jne 0x40f8d6
movzx eax, ax
push eax
call fcn.0040d2c0
jmp 0x40f8e2
push 0
push 0x484c94
call fcn.00406cd0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x84]
call fcn.00419e40
mov edx, dword [ebp - 0x88]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f91d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40f945
call fcn.0041c2a1
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x40f945
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
jmp 0x40f9a2
push 0
push 0
push eax
call fcn.0041c3a3
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x49adb4
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x49adcc]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x7c]
push 0x49adb4
mov dword [0x49adcc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x40fff0
push esi
push 0xd2
push dword [0x49c9a4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
mov edx, dword [edi + 0x78]
test edx, edx
je 0x40f9b3
mov ecx, dword [edx]
push 1
push 0
push edx
call dword [ecx + 0x20]
cmp esi, 1
jne 0x40fa1e
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x8c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.click_sure
mov byte [ebp - 4], 5
call fcn.0040e750
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00406910
mov eax, dword [edi + 0xec]
lea ecx, [edi + 0xec]
push dword [edi + 4]
call dword [eax + 0xc]
mov eax, dword [edi + 0xec]
lea ecx, [edi + 0xec]
call dword [eax]
mov dword [edi + 0x110], 4
jmp 0x40fa3f
cmp esi, 2
jne 0x40fa3f
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [ebp - 0x84]
call fcn.00419f90
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042734a
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00401bd0
int3