Function at 0x40f85d
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, 0x566050
push 0x7f02
push 0
call sub.USER32.dll_LoadCursorA
push eax
call sub.USER32.dll_SetCursor
mov edi, eax
mov eax, dword [0x56d938]
test eax, eax
je 0x40f892
push 0
push 1
push 0x111
push eax
call sub.USER32.dll_SendMessageA
push 1
push 0
call fcn.00406c80
cmp dword [0x55e4b4], 0
je 0x40f8a9
call fcn.00403a7d
push 0x55e5e0
call fcn.004c6e49
call fcn.0041cd73
call fcn.00401e9c
call fcn.004cf8ff
cmp dword [0x55efc4], 0
jne 0x40f8d0
call fcn.004b0654
push 6
call fcn.0041b199
mov eax, dword [0x563368]
test eax, eax
je 0x40f920
xor esi, esi
mov ebx, eax
jmp 0x40f914
push ebx
call fcn.0045d5d2
test eax, eax
je 0x40f8fb
push dword [ebx + 0xc8]
call sub.USER32.dll_DestroyWindow
push ebx
call fcn.0045d5d2
test eax, eax
je 0x40f90d
mov ebx, dword [ebx + 0x1018]
jmp 0x40f913
mov ebx, dword [0x563368]
inc esi
test ebx, ebx
je 0x40f920
cmp esi, 0x1f4
jl 0x40f8e6
push 0
push dword [0x56f018]
call sub.USER32.dll_ShowWindow
call fcn.004d365f
call fcn.004afe30
call fcn.004afbd4
push 0
push 0
call fcn.004af900
call fcn.004afa89
call fcn.004690c5
call fcn.0044014d
push dword [0x56ec1c]
call fcn.00519cbc
call fcn.0043d9d0
push 0
call fcn.004d6bef
push 2
call fcn.004aba46
push 0
call fcn.004aea8e
push 1
call fcn.0046fee1
call fcn.0051fd0e
push 2
call fcn.004274cc
push 2
call fcn.004e8bda
push 1
call fcn.0051d301
push 2
call fcn.00501a32
mov eax, dword [0x56aa6c]
test eax, eax
je 0x40f9b0
push eax
call sub.USER32.dll_DestroyMenu
xor edx, edx
mov dword [0x56aa6c], edx
mov eax, dword [0x56aa70]
test eax, eax
je 0x40f9c7
push eax
call sub.USER32.dll_DestroyMenu
xor edx, edx
mov dword [0x56aa70], edx
mov eax, dword [0x5648bc]
test eax, eax
je 0x40f9df
push eax
call fcn.00559c5c
pop ecx
xor edx, edx
mov dword [0x5648bc], edx
call fcn.00426f6e
call fcn.004e867f
call fcn.00500db3
push 0
push 0
push 1
call fcn.00514293
call fcn.004913a4
call fcn.0043d74a
call fcn.00470c39
push 0x56aa7c
call fcn.004c6e49
push 0x56dba0
call fcn.004c6e49
push 0x5681d0
call fcn.004c6e49
push 0x5681cc
call fcn.004c6e49
push 0x56be3c
call fcn.004c6e49
push 0x56efc8
call fcn.004c6e49
push 0x56cd7c
call fcn.004c6e49
push 0x56ec04
call fcn.004c6e49
push 0x5657c0
call fcn.004c6e49
push 0x56ebd0
call fcn.004c6e49
push 0x56c660
call fcn.004c6e49
push 0x56415c
call fcn.004c6e49
push 0x55fdb4
call fcn.004c6e49
push 0x563e10
call fcn.004c6e49
push 0x56dd84
call fcn.004c6e49
push 0x56462c
call fcn.004c6e49
push 0x564630
call fcn.004c6e49
push 0x56aaa4
call fcn.004c6e49
push 0x564794
call fcn.004c6e49
push 0x5606b0
call fcn.004c6e49
push 0x56a6a0
call fcn.004c6e49
push 0x568230
call fcn.004c6e49
push 0x56822c
call fcn.004c6e49
push 0x56bd14
call fcn.004c6e49
push 0x56f7e8
call fcn.004c6e49
push 0x567538
call fcn.004c6e49
push 0x565dcc
call fcn.004c6e49
mov eax, dword [0x5615bc]
test eax, eax
je 0x40fb2e
push eax
call fcn.00559c5c
pop ecx
xor edx, edx
mov dword [0x5615bc], edx
jmp 0x40fb40
push eax
push 0
call fcn.004899a3
mov eax, dword [ebp]
test eax, eax
jne 0x40fb38
call fcn.0048e496
mov eax, dword [0x560450]
test eax, eax
je 0x40fb5b
push eax
call fcn.0051f860
xor edx, edx
mov dword [0x560450], edx
push 1
call fcn.00500b10
push 1
call fcn.00426c96
push 1
call fcn.0051d211
push 1
call fcn.00413cd4
push 1
call fcn.004754bf
jmp 0x40fb8e
push eax
call fcn.00488394
mov eax, dword [0x565db4]
test eax, eax
jne 0x40fb88
jmp 0x40fba1
push 0
push eax
call fcn.005034e7
mov eax, dword [0x56d9cc]
test eax, eax
jne 0x40fb99
jmp 0x40fbb4
push 0
push eax
call fcn.0048b8ab
mov eax, dword [0x566350]
test eax, eax
jne 0x40fbac
jmp 0x40fbc7
push 0
push eax
call fcn.00438a28
mov eax, dword [0x561210]
test eax, eax
jne 0x40fbbf
call fcn.00508d73
push 0x55f15f
call fcn.004869d0
push 0
call fcn.00496812
push 0
call fcn.00487664
push 0
call fcn.004d44b5
push 0x56e2c4
call fcn.004c6e49
push 0
push 0
push 0
push 0x55f163
call sub.WINMM.dll_mciSendStringA
push 0
push 0
push 0
push 0x55f173
call sub.WINMM.dll_mciSendStringA
push 0
push 0
push 0
push 0x55f183
call sub.WINMM.dll_mciSendStringA
mov eax, dword [0x56093c]
test eax, eax
je 0x40fc3d
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [0x56093c], edx
mov eax, dword [0x55f84c]
test eax, eax
je 0x40fc54
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [0x55f84c], edx
mov eax, dword [0x561944]
test eax, eax
je 0x40fc6b
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [0x561944], edx
mov eax, dword [0x561948]
test eax, eax
je 0x40fc82
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [0x561948], edx
mov eax, dword [0x56194c]
test eax, eax
je 0x40fc99
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [0x56194c], edx
mov eax, dword [0x561950]
test eax, eax
je 0x40fcb0
push eax
call sub.GDI32.dll_DeleteObject
xor edx, edx
mov dword [0x561950], edx
push edi
call sub.USER32.dll_SetCursor
pop ebp
pop edi
pop esi
pop ebx
ret