Function at 0x131f0e18
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc4
mov dword [esp], ecx
mov edi, edx
mov ebx, eax
test edi, edi
jne 0x131f0e2d
mov edi, dword [ebx + 0x48]
cmp dword [esp], 0
jne 0x131f0e39
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
mov dword [esp + 8], edi
mov eax, dword [esp]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
xor edx, edx
xor eax, eax
call fcn.131474ec
mov ecx, dword [esp]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xe0]
push 0
call sub.user32.dll_GetDC
mov esi, eax
push esi
call sub.gdi32.dll_SaveDC
mov dword [esp + 4], eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.1318e76c
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, ebx
call fcn.1318e76c
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0x1329d144
push 0x1fffffff
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x230]
call fcn.13169eec
call fcn.13165a20
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push esi
mov eax, ebx
call fcn.1318e76c
push eax
mov eax, dword [0x1329ae30]
mov eax, dword [eax]
call eax
mov eax, dword [0x1329d13c]
call fcn.131ef408
test al, al
je 0x131f10b0
call fcn.13246574
test al, al
je 0x131f10b0
mov eax, dword [0x1329d13c]
cmp byte [eax + 0xbc], 0
jne 0x131f10b0
mov eax, dword [0x1329d13c]
call fcn.131ef40c
test al, al
je 0x131f0f48
imul eax, dword [ebx + 0x238], 0x4b
mov edx, dword [0x1329b114]
mov edx, dword [edx]
mov edx, dword [edx + 0x7894]
cmp dword [edx + eax*4 + 0x40], 0x64
je 0x131f0f48
imul eax, dword [ebx + 0x238], 0x4b
mov edx, dword [0x1329b114]
mov edx, dword [edx]
mov edx, dword [edx + 0x7894]
mov ebp, dword [edx + eax*4 + 0x40]
jmp 0x131f0f4a
xor ebp, ebp
mov edx, ebp
mov eax, 0x64
call fcn.1316c0b8
mov edx, eax
xor eax, eax
call fcn.1316c17c
mov ebp, eax
test byte [ebx + 0x1c], 8
jne 0x131f1127
mov edx, 1
mov eax, 0xc
call fcn.1316c17c
mov edi, eax
mov eax, 0x64
sub eax, ebp
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fld xword [0x131f1164]
fmulp st(1)
call fcn.13143018
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
fild qword [esp + 0x30]
mov dword [esp + 0x38], edi
fild dword [esp + 0x38]
call fcn.131435ac
fstp qword [esp + 0x18]
wait
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [0x1329d146], 0
push 2
push 0x1329d144
push 0x1fffffff
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x230]
call fcn.13169eec
call fcn.13165a20
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push esi
mov eax, ebx
call fcn.1318e76c
push eax
mov eax, dword [0x1329ae30]
mov eax, dword [eax]
call eax
push 4
mov eax, ebx
call fcn.1318e76c
push eax
call sub.user32.dll_ShowWindow
push 0x1a0
push 0
push 0
mov eax, ebx
call fcn.1318e76c
push eax
call sub.user32.dll_RedrawWindow
dec edi
test edi, edi
jl 0x131f1127
inc edi
mov dword [esp + 0x28], edi
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
fld qword [esp + 0x20]
fadd qword [esp + 0x18]
fstp qword [esp + 0x20]
wait
fld qword [esp + 0x20]
call fcn.13143018
mov byte [0x1329d146], al
test byte [ebx + 0x1c], 8
jne 0x131f1127
push 2
push 0x1329d144
push 0x1fffffff
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x230]
call fcn.13169eec
call fcn.13165a20
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push esi
mov eax, ebx
call fcn.1318e76c
push eax
mov eax, dword [0x1329ae30]
mov eax, dword [eax]
call eax
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x131f109c
dec dword [esp + 0x28]
jne 0x131f1035
jmp 0x131f1127
call fcn.13246574
test al, al
je 0x131f110c
mov byte [0x1329d146], 0xff
push 2
push 0x1329d144
push 0x1fffffff
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x230]
call fcn.13169eec
call fcn.13165a20
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push esi
mov eax, ebx
call fcn.1318e76c
push eax
mov eax, dword [0x1329ae30]
mov eax, dword [eax]
call eax
push 4
mov eax, ebx
call fcn.1318e76c
push eax
call sub.user32.dll_ShowWindow
jmp 0x131f1127
push 0x52
mov eax, dword [esp + 4]
push eax
push edi
push 0
push 0
push 0xffffffffffffffff
mov eax, ebx
call fcn.1318e76c
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [0x1329d13c]
mov byte [eax + 0xbc], 1
mov eax, dword [esp + 4]
push eax
push esi
call sub.gdi32.dll_RestoreDC
push esi
push 0
call sub.user32.dll_ReleaseDC
cmp dword [ebx + 0x230], 0
je 0x131f115a
lea eax, [ebx + 0x230]
call fcn.1314fe5c
add esp, 0x3c
pop ebp
pop edi
pop esi
pop ebx
ret