Function at 0x44acd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov byte [esp], 0
mov eax, 0x44d
call fcn.00402504
mov ebx, dword [0x4be874]
movsx ebx, word [ebx]
mov edx, dword [0x4be754]
mov dword [edx + ebx*4 - 4], eax
mov eax, dword [0x4be874]
mov eax, dword [0x4be754]
mov eax, dword [eax + ebx*4 - 4]
mov ebx, eax
mov eax, ebx
mov edx, 0x44d
call fcn.004066e4
mov eax, dword [0x4be874]
mov ax, word [eax]
mov word [ebx + 0x424], ax
mov word [ebx + 0x42a], 1
mov word [ebx + 0x42c], 1
mov word [ebx + 0x42e], 0
mov eax, dword [0x4be47c]
cmp byte [eax], 0
jne 0x44ad5f
mov eax, dword [0x4be6d8]
mov eax, dword [eax]
cmp byte [eax + 0x96], 0
je 0x44ad5f
xor eax, eax
jmp 0x44ad61
mov al, 1
mov byte [ebx + 0x438], al
mov byte [ebx + 0x446], 1
mov eax, dword [0x4be530]
cmp byte [eax], 0
jbe 0x44ad98
push 0
mov eax, dword [0x4be530]
movzx eax, byte [eax]
add eax, 0x7f
push eax
push 0x111
mov eax, dword [0x4beb60]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x4be47c]
mov byte [eax], 0
lea eax, [esp + 1]
mov edx, 0x24
call fcn.004066e4
mov eax, dword [0x4bec18]
mov dword [esp + 1], eax
mov eax, dword [0x4bf704]
mov dword [esp + 9], eax
mov eax, dword [0x4beca4]
cmp byte [eax], 0
je 0x44add4
mov dword [esp + 0x1d], 0x26300000
jmp 0x44adf2
mov dword [esp + 0x1d], 0x6300000
mov eax, dword [0x4be784]
cmp byte [eax + 0x193b], 0
je 0x44adf2
or dword [esp + 0x1d], 0x1000000
cmp byte [0x4c15bc], 1
je 0x44aecd
mov edi, dword [0x4becac]
movsx edi, word [edi]
mov eax, edi
mov edx, dword [0x4be3e0]
movsx edx, word [edx]
add edx, 6
sub eax, edx
mov ebx, dword [0x4bec48]
movzx ebx, byte [ebx]
mov edx, dword [0x4be5e4]
movzx edx, byte [edx]
add ebx, edx
cdq
idiv ebx
mov ecx, eax
inc ecx
test ecx, ecx
jg 0x44ae3b
mov ecx, 3
mov eax, dword [0x4be874]
movsx eax, word [eax]
dec eax
cdq
idiv ecx
mov esi, edx
mov eax, dword [0x4bec48]
mov eax, dword [0x4be5e4]
imul esi, ebx
mov dword [esp + 0xd], esi
mov dword [esp + 0x11], esi
mov edx, dword [0x4be3e0]
movsx edx, word [edx]
mov eax, dword [0x4be83c]
movzx eax, byte [eax]
add edx, eax
sub edx, 0x13
inc edx
mov eax, dword [0x4be5e4]
movzx eax, byte [eax]
add eax, eax
add edx, eax
mov eax, dword [0x4becac]
mov eax, edi
call fcn.004aa570
mov dword [esp + 0x15], eax
mov eax, dword [0x4be52c]
movsx eax, word [eax]
sub eax, dword [esp + 0x11]
mov dword [esp + 0x19], eax
cmp byte [0x4c15bc], 2
jne 0x44aeb2
or dword [esp + 0x1d], 0x1000000
cmp byte [0x4c15bc], 3
jne 0x44aef7
or dword [esp + 0x1d], 0x20000000
mov eax, dword [0x4beca4]
mov byte [eax], 1
jmp 0x44aef7
mov eax, dword [0x4c15c0]
mov dword [esp + 0xd], eax
mov edx, dword [0x4c15c4]
mov dword [esp + 0x11], edx
mov ecx, dword [0x4c15c8]
sub ecx, eax
mov dword [esp + 0x15], ecx
mov eax, dword [0x4c15cc]
sub eax, edx
mov dword [esp + 0x19], eax
mov eax, dword [0x4be6d8]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0
jle 0x44af0f
and dword [esp + 0x1d], 0xffdfffff
mov eax, dword [0x4be874]
movsx eax, word [eax]
mov edx, dword [0x4be754]
mov eax, dword [edx + eax*4 - 4]
mov dx, word [esp + 0x19]
mov word [eax + 0x56], dx
lea eax, [esp + 1]
push eax
push 0
push 0x220
mov eax, dword [0x4bed7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
mov eax, dword [0x4beca4]
mov byte [eax], 0
mov eax, dword [0x4befb4]
cmp byte [eax], 0
je 0x44af67
push 0
push ebx
call sub.user32.dll_ShowWindow
mov eax, dword [0x4befb4]
mov byte [eax], 0
test ebx, ebx
je 0x44af81
mov byte [esp], 1
mov eax, dword [0x4be874]
movsx eax, word [eax]
mov edx, dword [0x4bec7c]
mov dword [edx], eax
jmp 0x44af9f
mov ax, 0x13e
call fcn.004aa600
mov edx, dword [0x4be6d8]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
mov ecx, 1
call fcn.004b12b8
mov al, byte [esp]
add esp, 0x28
pop edi
pop esi
pop ebx
ret