Function at 0x40ac70
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x2234
call fcn.00416b20
mov eax, dword [0x432ebc]
push ebx
push ebp
push edi
xor edi, edi
push 0xc20
mov dword [esp + 0x2240], eax
mov ebp, ecx
mov dword [esp + 0x14], edi
call fcn.004242a4
push 0x42ba40
push str.LookALF.cfg
mov dword [ebp + 0x4198], eax
call fcn.0041723c
mov ebx, eax
add esp, 0xc
cmp ebx, edi
mov dword [esp + 0xc], ebx
je 0x40b399
lea eax, [esp + 0x10]
push eax
push str._2d_n
push ebx
call fcn.004178d0
mov eax, dword [ebp + 0x50]
add esp, 0xc
cmp eax, edi
je 0x40acdf
mov dword [esp + 0x10], edi
push esi
push ebx
lea ecx, [esp + 0x244]
push 0x7f8
push ecx
call fcn.00417160
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
jl 0x40b2c0
cmp eax, 0x20
jg 0x40b2c0
cmp eax, edi
mov dword [esp + 0x18], edi
jle 0x40b0b0
lea esi, [esp + 0x48]
mov dword [esp + 0x1c], esi
jmp 0x40ad30
mov esi, dword [esp + 0x1c]
jmp 0x40ad30
mov edi, dword [ebp + 0x4198]
xor eax, eax
mov ecx, 0x308
rep stosd dword es:[edi], eax
mov eax, 0x820
jmp 0x40ad50
mov edx, dword [ebp + 0x4198]
mov dword [eax + edx], 1
add eax, 4
cmp eax, 0xc20
jl 0x40ad50
push ebx
lea eax, [esp + 0x244]
push 0x3ff
push eax
call fcn.00417160
add esp, 0xc
lea ecx, [esi + 4]
push ecx
push esi
lea edx, [esi - 4]
push edx
add esi, 0xfffffff8
push esi
push str._4d__4d__4d__4d_n
push str.Window
call fcn.004164a0
lea eax, [esp + eax*2 + 0x258]
add esp, 4
push eax
call fcn.0041724f
push ebx
lea ecx, [esp + 0x25c]
push 0x3ff
push ecx
call fcn.00417160
mov edx, dword [ebp + 0x4198]
add esp, 0x24
add edx, 0x400
push edx
push 0x42b94c
push str.ScaleChan
call fcn.004164a0
lea eax, [esp + eax*2 + 0x24c]
add esp, 4
push eax
call fcn.0041724f
push ebx
lea ecx, [esp + 0x1250]
push 0x3ff
push ecx
call fcn.00417017
lea eax, [esp + 0x1258]
add esp, 0x18
lea ecx, [eax + 1]
jmp 0x40ae10
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ae10
lea edx, [esp + 0x1240]
sub eax, ecx
push edx
mov word [esp + eax*2 + 0x242], 0
call fcn.004124a0
push eax
lea eax, [esp + 0x1a48]
push eax
call fcn.00416c4e
lea ecx, [esp + 0x1a4c]
push 0x27
push ecx
call fcn.0041709d
add esp, 0x14
test eax, eax
je 0x40ae59
mov word [eax], 0
lea edx, [esp + 0x1a40]
push 0x27
push edx
call fcn.004178ae
add esp, 8
test eax, eax
je 0x40ae83
add eax, 2
push eax
lea eax, [esp + 0x1a44]
push eax
call fcn.00416c4e
add esp, 8
push ebx
lea ecx, [esp + 0x244]
push 0x7f8
push ecx
call fcn.00417160
push str.Scales
call fcn.004164a0
lea ecx, [esp + eax*2 + 0x250]
mov eax, dword [ebp + 0x4198]
lea edx, [eax + 0x818]
push edx
lea edx, [eax + 0x810]
push edx
lea edx, [eax + 0x80c]
push edx
add eax, 0x808
push eax
push str._d__d__lg__lg
push ecx
call fcn.0041724f
push ebx
lea eax, [esp + 0x26c]
push 0x7f8
push eax
call fcn.00417160
push str.Colors
call fcn.004164a0
add esp, 0x38
lea esi, [esp + eax*2 + 0x240]
mov edi, 0x408
nop
push 0x7c
push esi
call fcn.004178ae
add esp, 8
test eax, eax
je 0x40af29
mov ecx, dword [ebp + 0x4198]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x42c144
push esi
call fcn.0041724f
add esp, 0xc
add edi, 4
cmp edi, 0x808
jl 0x40af00
push ebx
lea edx, [esp + 0x244]
push 0x3ff
push edx
call fcn.00417160
lea eax, [esp + 0x24c]
push eax
call fcn.004164a0
xor edi, edi
push 0x42c134
mov word [esp + eax*2 + 0x252], di
call fcn.004164a0
add esp, 0x14
lea eax, [esp + eax*2 + 0x240]
mov ecx, dword [ebp + 0x4198]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x42b94c
push esi
call fcn.0041724f
push 0x7c
push esi
call fcn.004178ae
add esp, 0x14
test eax, eax
je 0x40afa3
add edi, 4
cmp edi, 0x400
jl 0x40af72
push ebx
lea edx, [esp + 0x244]
push 0x3ff
push edx
call fcn.00417160
lea eax, [esp + 0x24c]
push eax
call fcn.004164a0
push 6
lea ecx, [esp + 0x254]
push 0x42c124
push ecx
mov word [esp + eax*2 + 0x25a], 0
call fcn.0041712b
add esp, 0x1c
test eax, eax
jne 0x40b048
push 0x42c124
call fcn.004164a0
add esp, 4
lea eax, [esp + eax*2 + 0x240]
mov edi, 0x820
mov edx, dword [ebp + 0x4198]
add edx, edi
push edx
lea esi, [eax + 2]
push 0x42b94c
push esi
call fcn.0041724f
push 0x7c
push esi
call fcn.004178ae
add esp, 0x14
test eax, eax
je 0x40b032
add edi, 4
cmp edi, 0xc20
jl 0x40b001
push ebx
lea eax, [esp + 0x244]
push 0x7f8
push eax
call fcn.00417160
add esp, 0xc
push str.TimeScale
call fcn.004164a0
mov ecx, dword [ebp + 0x4198]
add ecx, 0x404
push ecx
lea eax, [esp + eax*2 + 0x248]
push 0x42b94c
push eax
call fcn.0041724f
fld qword [0x42bc90]
add esp, 8
fstp qword [esp]
push 0xffffffffffffffff
lea edx, [esp + 0x1a4c]
push edx
mov ecx, ebp
call fcn.0040a6f0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jl 0x40ad21
xor edi, edi
push ebx
lea eax, [esp + 0x244]
push 0x3ff
push eax
call fcn.00417160
push 0xd
lea ecx, [esp + 0x250]
push str._HistoryBegin
push ecx
call fcn.0041712b
add esp, 0x18
test eax, eax
jne 0x40b2cc
mov dword [esp + 0x18], edi
lea esi, [ebp + 0x2a0]
lea esp, [esp]
push ebx
lea edx, [esp + 0x1244]
push 0x3ff
push edx
call fcn.00417017
lea eax, [esp + 0x124c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b110
sub eax, edx
push 0xb
mov word [esp + eax*2 + 0x242], 0
lea eax, [esp + 0x1244]
push str._HistoryEnd
push eax
call fcn.00416ae0
add esp, 0xc
test eax, eax
je 0x40b2ca
lea ecx, [esp + 0x1240]
push 0x3b
push ecx
call fcn.004177f0
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x40b2ca
inc eax
push 0x3b
push eax
mov dword [esp + 0x30], eax
call fcn.004177f0
add esp, 8
test eax, eax
mov dword [esp + 0x30], eax
je 0x40b2ca
inc eax
push 0x3b
push eax
mov dword [esp + 0x28], eax
call fcn.004177f0
add esp, 8
test eax, eax
mov dword [esp + 0x34], eax
je 0x40b2ca
inc eax
push 0x3b
push eax
mov dword [esp + 0x44], eax
call fcn.004177f0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40b2c6
lea eax, [ebx + 1]
push 0x3b
push eax
mov dword [esp + 0x40], eax
call fcn.004177f0
mov edi, eax
add esp, 8
test edi, edi
je 0x40b2c6
lea eax, [edi + 1]
push 0x3b
push eax
mov dword [esp + 0x34], eax
call fcn.004177f0
add esp, 8
test eax, eax
mov dword [esp + 0x24], eax
je 0x40b2c6
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1240]
push eax
mov byte [edx], 0
call fcn.004124a0
push eax
lea ecx, [esi - 0x40]
push ecx
call fcn.00416c4e
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push eax
mov byte [edx], 0
call fcn.004124a0
push eax
push esi
call fcn.00416c4e
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
push edx
mov byte [ecx], 0
call fcn.004124a0
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00416c4e
mov ecx, dword [esp + 0x60]
push ecx
mov byte [ebx], 0
call fcn.004124a0
push eax
lea edx, [esi + 0x80]
push edx
call fcn.00416c4e
mov eax, dword [esp + 0x68]
push eax
mov byte [edi], 0
call fcn.004124a0
push eax
lea ecx, [esi + 0xc0]
push ecx
call fcn.00416c4e
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push eax
mov byte [edx], 0
call fcn.004124a0
add esp, 0x40
push eax
lea ecx, [esi + 0x100]
push ecx
call fcn.00416c4e
mov ebx, dword [ebp + 0x4190]
mov eax, dword [esp + 0x20]
add esp, 8
inc ebx
inc eax
add esi, 0x544
cmp eax, 0xc
mov dword [ebp + 0x4190], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jl 0x40b0f0
jmp 0x40b2ca
mov dword [esp + 0x14], edi
jmp 0x40b2cc
mov ebx, dword [esp + 0x10]
xor edi, edi
push ebx
call fcn.00416382
mov edx, dword [ebp + 0x4198]
push edx
call fcn.004242cf
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 8
push 0xf
mov dword [ebp + 0x4198], edi
call esi
push 4
mov ebx, eax
call esi
mov esi, dword [esp + 0x2248]
push 3
push esi
add ebx, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x40b365
lea eax, [ebp + 0x60]
lea esi, [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi - 4]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 4]
sub edx, ecx
push edx
sub eax, ebx
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc edi
add edx, 4
add esi, 0x10
cmp edi, eax
mov dword [esp + 0x10], edx
jl 0x40b323
mov esi, dword [esp + 0x2248]
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x229
push edx
call edi
push eax
mov eax, dword [ebp + 8]
push 0
push 0x222
push eax
call edi
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
mov ecx, dword [esp + 0x223c]
pop edi
pop ebp
pop ebx
call fcn.00416328
add esp, 0x2234
ret 4