Function at 0x4606cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov byte [esp], 0
mov eax, 0x567
call fcn.004024e8
mov ebx, dword [0x48d614]
movsx ebx, word [ebx]
mov edx, dword [0x48d524]
mov dword [edx + ebx*4 - 4], eax
mov eax, dword [0x48d614]
mov eax, dword [0x48d524]
mov eax, dword [eax + ebx*4 - 4]
mov ebx, eax
mov eax, ebx
mov edx, 0x567
call fcn.00405a9c
mov eax, dword [0x48d614]
mov ax, word [eax]
mov word [ebx + 0x534], ax
mov word [ebx + 0x53a], 1
mov word [ebx + 0x53c], 1
mov word [ebx + 0x53e], 0
mov eax, dword [0x48d2d4]
cmp byte [eax], 0
jne 0x460752
mov eax, dword [0x48d4b0]
cmp byte [eax + 0x76], 0
je 0x460752
xor eax, eax
jmp 0x460754
mov al, 1
mov byte [ebx + 0x557], al
mov eax, dword [0x48d968]
mov al, byte [eax]
mov byte [ebx + 0x554], al
mov byte [ebx + 0x561], 1
mov eax, dword [0x48d2d4]
mov byte [eax], 0
lea eax, [esp + 1]
mov edx, 0x24
call fcn.00405a9c
mov eax, dword [0x48d8e0]
mov dword [esp + 1], eax
mov eax, dword [0x48e700]
mov dword [esp + 9], eax
mov eax, dword [0x48d954]
cmp byte [eax], 0
je 0x4607aa
mov dword [esp + 0x1d], 0x24300000
jmp 0x4607c8
mov dword [esp + 0x1d], 0x4300000
mov eax, dword [0x48d550]
cmp byte [eax + 0x193b], 0
je 0x4607c8
or dword [esp + 0x1d], 0x1000000
cmp byte [0x49c0b8], 1
je 0x4608a3
mov edi, dword [0x48d95c]
movsx edi, word [edi]
mov eax, edi
mov edx, dword [0x48d25c]
movsx edx, word [edx]
add edx, 8
sub eax, edx
mov ebx, dword [0x48d904]
movzx ebx, byte [ebx]
mov edx, dword [0x48d3f8]
movzx edx, byte [edx]
add ebx, edx
cdq
idiv ebx
mov ecx, eax
inc ecx
test ecx, ecx
jg 0x460811
mov ecx, 3
mov eax, dword [0x48d614]
movsx eax, word [eax]
dec eax
cdq
idiv ecx
mov esi, edx
mov eax, dword [0x48d904]
mov eax, dword [0x48d3f8]
imul esi, ebx
mov dword [esp + 0xd], esi
mov dword [esp + 0x11], esi
mov edx, dword [0x48d25c]
movsx edx, word [edx]
mov eax, dword [0x48d5e4]
movzx eax, byte [eax]
add edx, eax
sub edx, 0x13
inc edx
mov eax, dword [0x48d3f8]
movzx eax, byte [eax]
add eax, eax
add edx, eax
mov eax, dword [0x48d95c]
mov eax, edi
call fcn.0040bb7c
mov dword [esp + 0x15], eax
mov eax, dword [0x48d368]
movsx eax, word [eax]
sub eax, dword [esp + 0x11]
mov dword [esp + 0x19], eax
cmp byte [0x49c0b8], 2
jne 0x460888
or dword [esp + 0x1d], 0x1000000
cmp byte [0x49c0b8], 3
jne 0x4608cd
or dword [esp + 0x1d], 0x20000000
mov eax, dword [0x48d954]
mov byte [eax], 1
jmp 0x4608cd
mov eax, dword [0x49c0bc]
mov dword [esp + 0xd], eax
mov edx, dword [0x49c0c0]
mov dword [esp + 0x11], edx
mov ecx, dword [0x49c0c4]
sub ecx, eax
mov dword [esp + 0x15], ecx
mov eax, dword [0x49c0c8]
sub eax, edx
mov dword [esp + 0x19], eax
mov eax, dword [0x48d4b0]
cmp byte [eax + 0x70], 0
jle 0x4608e0
and dword [esp + 0x1d], 0xffdfffff
mov eax, dword [0x48d614]
movsx eax, word [eax]
mov edx, dword [0x48d524]
mov eax, dword [edx + eax*4 - 4]
mov dx, word [esp + 0x19]
mov word [eax + 0x1b2], dx
lea eax, [esp + 1]
push eax
push 0
push 0x220
mov eax, dword [0x48da1c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
mov eax, dword [0x48d954]
mov byte [eax], 0
mov eax, dword [0x48dbe0]
cmp byte [eax], 0
je 0x46093b
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, dword [0x48dbe0]
mov byte [eax], 0
test ebx, ebx
je 0x460945
mov byte [esp], 1
jmp 0x460961
mov ax, 0x13e
call fcn.0040bc04
mov edx, dword [0x48d4b0]
mov edx, dword [edx + 8]
mov ecx, 1
call fcn.00411d84
mov al, byte [esp]
add esp, 0x28
pop edi
pop esi
pop ebx
ret