Function at 0x4c8140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x4c8177
cmp dword [ebp - 0x50], 2
je 0x4c816a
cmp dword [ebp - 0x50], 3
je 0x4c83e3
jmp 0x4c8406
mov ecx, dword [ebp - 0x4c]
call fcn.004cab40
jmp 0x4c8406
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x684], 0
jne 0x4c8195
push 1
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00426800
jmp 0x4c8406
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x680]
add eax, 1
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x680], eax
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x530], 1
je 0x4c82d0
lea ecx, [ebp - 0x10]
call fcn.00439b90
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00418010
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x680]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], 0
fild qword [ebp - 0x58]
fdiv qword [0x541048]
lea ecx, [ebp - 0x10]
fstp qword [ebp - 0x60]
call fcn.00417e20
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fmul qword [ebp - 0x60]
call fcn.00501a80
mov dword [ebp - 0x24], eax
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0
xor ecx, ecx
sub ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004a0470
push 0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x60
call fcn.004a1f10
mov ecx, eax
call fcn.0049c800
push 1
mov ecx, dword [ebp - 0x4c]
add ecx, 0x60
call fcn.004a1f10
mov ecx, eax
call fcn.004a0920
lea ecx, [ebp - 0x20]
call fcn.00439b90
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x684]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea ecx, [ebp - 0x20]
call fcn.00417e40
push eax
lea ecx, [ebp - 0x20]
call fcn.00417e20
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x684]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x684]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x680], 0xa
jb 0x4c82cb
push 1
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00426800
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x684], 0
jmp 0x4c83e1
lea ecx, [ebp - 0x34]
call fcn.00439b90
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00418010
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x680]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fdiv qword [0x541048]
lea ecx, [ebp - 0x34]
fstp qword [ebp - 0x74]
call fcn.00417e20
mov dword [ebp - 0x78], eax
fild dword [ebp - 0x78]
fmul qword [ebp - 0x74]
call fcn.00501a80
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x34]
call fcn.00417e20
mov edx, dword [ebp - 0x48]
sub edx, eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x44]
call fcn.00439b90
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x684]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea ecx, [ebp - 0x44]
call fcn.00417e40
push eax
lea ecx, [ebp - 0x44]
call fcn.00417e20
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x684]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0x60
call fcn.004a1f10
mov ecx, eax
call fcn.0049c800
push 1
mov ecx, dword [ebp - 0x4c]
add ecx, 0x60
call fcn.004a1f10
mov ecx, eax
call fcn.004a0920
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x680], 0xa
jb 0x4c83e1
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x684]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00426800
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x684], 0
jmp 0x4c8406
push 3
mov ecx, dword [ebp - 0x4c]
add ecx, 0x30
call fcn.00426800
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x6a0], 0
je 0x4c83fe
jmp 0x4c8406
mov ecx, dword [ebp - 0x4c]
call fcn.004d0a60
mov esp, ebp
pop ebp
ret 4