Function at 0x4f1640
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x14], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0xc], eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 8], eax
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 4], eax
mov ax, word [0x600430]
mov word [ebp - 0x10], ax
cmp dword [0x5fda74], 0
jne 0x4f168e
cmp dword [0x5fda50], 0
je 0x4f1693
jmp 0x4f18d9
movsx ecx, byte [ebp + 8]
cmp ecx, 0x30
jne 0x4f16a5
mov edx, 8
mov word [ebp - 0x10], dx
movsx eax, byte [ebp + 8]
cmp eax, 0x31
jl 0x4f16c2
movsx ecx, byte [ebp + 8]
cmp ecx, 0x38
jg 0x4f16c2
movsx edx, byte [ebp + 8]
sub edx, 0x30
mov word [ebp - 0x10], dx
movsx eax, word [ebp - 0x10]
movsx ecx, word [0x600430]
cmp eax, ecx
jne 0x4f16d6
jmp 0x4f18d9
mov dx, word [ebp - 0x10]
mov word [0x600430], dx
movsx eax, word [0x600430]
cmp eax, 1
jl 0x4f1739
movsx ecx, word [0x600430]
cmp ecx, 8
jg 0x4f1739
movsx eax, word [0x575698]
movsx edx, word [0x600430]
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [0x57568c], ax
movsx eax, word [0x57569c]
movsx ecx, word [0x600430]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [0x575690], ax
push 0
mov edx, dword [0x60137c]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
movsx eax, word [0x60043c]
test eax, eax
je 0x4f1825
movsx eax, word [0x5756a8]
movsx ecx, word [0x600430]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [0x601330], eax
movsx eax, word [0x5756ac]
movsx edx, word [0x600430]
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [0x601334], eax
push 1
call fcn.004dd5b0
add esp, 4
movsx eax, word [0x5756a0]
movsx ecx, word [0x600430]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, dword [ebp - 8]
lea eax, [eax + edx*2]
mov dword [ebp - 0x1c], eax
movsx eax, word [0x5756a4]
movsx ecx, word [0x600430]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, dword [ebp - 4]
lea eax, [eax + edx*2]
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x6013b8]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [0x6013b4]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [0x60137c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x4f1889
push 0
movsx ecx, word [0x575690]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [ecx + edx*2]
push eax
movsx ecx, word [0x57568c]
mov edx, dword [ebp - 8]
lea eax, [ecx + edx*2]
push eax
movsx ecx, word [0x575690]
mov eax, dword [0x6013b8]
sub eax, ecx
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ebp - 4]
push eax
movsx edx, word [0x57568c]
mov eax, dword [0x6013b4]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ebp - 8]
push eax
mov eax, dword [0x60137c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [0x5ff238], 1
push 0
push 1
mov ecx, dword [0x56f5e0]
push ecx
mov edx, dword [0x56f5e0]
push edx
call fcn.0049e0e0
add esp, 0x10
mov dword [0x5ff238], 0
push 3
call fcn.004cab50
add esp, 4
push 1
call fcn.004cab50
add esp, 4
push 5
mov eax, dword [0x60137c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret