Function at 0x479fd8
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4a41c2
call fcn.0049e6bc
mov eax, 0x10a0
call fcn.00442250
push ebx
push esi
push edi
mov edi, ecx
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476edb
push dword [edi + 0x2c]
xor ecx, ecx
lea ebx, [edi + 4]
push dword [ebx]
inc ecx
test eax, eax
cmove esi, ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, esi
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476a7f
test al, al
je 0x47a054
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476a5d
test al, al
jne 0x47a0f4
and dword [ebp - 0x20], 0
xor eax, eax
push 0x4e9b2c
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00438238
pop ecx
push eax
push 0x4e9b2c
lea ecx, [ebp - 0x30]
call fcn.0041fba8
and dword [ebp - 4], 0
call fcn.0041e77e
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [eax]
call fcn.00424808
lea ecx, [edi + 0xa8]
push eax
call fcn.0041eed4
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.0041f6b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
push 0
push 1
call fcn.0041f6b8
call fcn.0041e77e
mov ecx, dword [eax + 0x18]
lea eax, [edi + 0xa8]
add ecx, 0xe0
cmp ecx, eax
je 0x47a0f4
push 0xffffffffffffffff
push 0
push eax
call fcn.0041ef03
cmp dword [edi + 0x3c], 1
jle 0x47a127
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476a5d
test al, al
je 0x47a127
movzx eax, byte [edi + 0x40]
test esi, esi
push eax
sete al
cmp dword [edi + 0x3c], 1
movzx eax, al
push eax
sete al
movzx eax, al
push eax
push 0
jmp 0x47a142
movzx eax, byte [edi + 0x40]
test esi, esi
push eax
sete al
cmp dword [edi + 0x3c], 1
movzx eax, al
push eax
sete al
movzx eax, al
push eax
push 1
mov ecx, dword [edi + 0x34]
push dword [ebx]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [edi + 0x38]
mov edx, dword [ebx]
mov eax, dword [edi + 0x34]
mov dword [ecx], eax
mov dword [ecx + 4], edx
call fcn.0041e77e
mov ecx, dword [eax]
call fcn.00476edb
test eax, eax
jne 0x47a307
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x42
push 0x300
push 0x400
push eax
push eax
push eax
push dword [ebx]
call esi
mov ecx, dword [edi + 0x34]
xor eax, eax
push 0x40
push 0x300
push 0x400
push eax
push eax
push eax
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
call esi
push 0
mov ecx, ebx
call fcn.004265d9
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [0x52e140]
lea eax, [ebp - 0x10ac]
mov ebx, 0x800
push ebx
push 0
push eax
call fcn.00438560
add esp, 0xc
lea eax, [ebp - 0x10ac]
push ebx
push eax
push 0xc
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [ebp - 0x90]
call fcn.00459913
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 1
push eax
call fcn.0041e77e
mov ecx, dword [eax + 0x38]
call fcn.00469b7e
mov esi, eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
call fcn.0041e77e
mov ecx, dword [eax + 0x38]
call fcn.00469cf9
mov ebx, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 8
jb 0x47a237
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x14], 8
jb 0x47a23f
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x47a247
mov ebx, dword [ebx]
call fcn.0041e77e
mov eax, dword [eax + 0x38]
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x47a25a
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
push ecx
push esi
push ebx
push eax
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x48]
push str.http:__www.oasgames.com_gamebox__s_template_landing.php_lg_sgameid_schannel_sversion_s
push eax
call fcn.0045da2b
add esp, 0x1c
xor esi, esi
lea ecx, [ebp - 0xa8]
xor ebx, ebx
push esi
inc ebx
push ebx
call fcn.0041f6b8
push esi
push ebx
lea ecx, [ebp - 0x78]
call fcn.0041f6b8
push esi
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
call fcn.0041f6b8
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4e9b44
call fcn.0041eeaf
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
push str.lpopentime
call fcn.0041eeaf
xor cl, cl
mov byte [ebp - 4], 7
call fcn.00421d97
mov eax, dword [edi + 0x34]
add esp, 0x30
cmp dword [eax + 0x4c], esi
jbe 0x47a2fd
push ebx
sub esp, 0x18
lea eax, [ebp - 0x48]
mov ecx, esp
push eax
call fcn.0041ee74
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x20]
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.0041f6b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret