Function at 0x40c9e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x223c
call fcn.0041c890
mov eax, dword [0x437ebc]
push ebx
push ebp
push edi
xor edi, edi
push 0xc20
mov dword [esp + 0x2248], eax
mov ebp, ecx
mov dword [esp + 0x14], edi
call fcn.0042925a
push 0x430b0c
push str.LookALF.cfg
mov dword [ebp + 0x4498], eax
call fcn.0041c1f2
mov ebx, eax
add esp, 0xc
cmp ebx, edi
mov dword [esp + 0x18], ebx
je 0x40d14d
push ebx
lea eax, [esp + 0x248]
push 0x7f8
push eax
call fcn.0041c116
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x254]
push str._2d_n
push edx
call fcn.0041c205
mov eax, dword [ebp + 0x54]
add esp, 0x18
cmp eax, edi
je 0x40ca69
mov dword [esp + 0x10], edi
push esi
push ebx
lea eax, [esp + 0x24c]
push 0x7f8
push eax
call fcn.0041c116
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
jl 0x40d165
cmp eax, 0x20
jg 0x40d165
cmp eax, edi
mov dword [esp + 0x18], edi
jle 0x40ce30
lea esi, [esp + 0x50]
mov dword [esp + 0x10], esi
jmp 0x40cab0
mov esi, dword [esp + 0x10]
nop
mov edi, dword [ebp + 0x4498]
xor eax, eax
mov ecx, 0x308
rep stosd dword es:[edi], eax
mov eax, 0x820
jmp 0x40cad0
mov ecx, dword [ebp + 0x4498]
mov dword [eax + ecx], 1
add eax, 4
cmp eax, 0xc20
jl 0x40cad0
push ebx
lea edx, [esp + 0x24c]
push 0x3ff
push edx
call fcn.0041c116
add esp, 0xc
lea eax, [esi + 4]
push eax
push esi
lea ecx, [esi - 4]
push ecx
add esi, 0xfffffff8
push esi
push str._4d__4d__4d__4d_n
push str.Window
call fcn.0041b333
lea edx, [esp + eax*2 + 0x260]
add esp, 4
push edx
call fcn.0041c205
push ebx
lea eax, [esp + 0x264]
push 0x3ff
push eax
call fcn.0041c116
mov ecx, dword [ebp + 0x4498]
add esp, 0x24
add ecx, 0x400
push ecx
push 0x4309ac
push str.ScaleChan
call fcn.0041b333
lea edx, [esp + eax*2 + 0x254]
add esp, 4
push edx
call fcn.0041c205
push ebx
lea eax, [esp + 0x1258]
push 0x3ff
push eax
call fcn.0041bfcd
lea eax, [esp + 0x1260]
add esp, 0x18
lea ecx, [eax + 1]
jmp 0x40cb90
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40cb90
sub eax, ecx
lea ecx, [esp + 0x1248]
push ecx
mov word [esp + eax*2 + 0x24a], 0
call fcn.00416dc0
push eax
lea edx, [esp + 0x1a50]
push edx
call fcn.0041bd2a
lea eax, [esp + 0x1a54]
push 0x27
push eax
call fcn.0041c053
add esp, 0x14
test eax, eax
je 0x40cbd9
mov word [eax], 0
lea ecx, [esp + 0x1a48]
push 0x27
push ecx
call fcn.0041c26d
add esp, 8
test eax, eax
je 0x40cc03
add eax, 2
push eax
lea edx, [esp + 0x1a4c]
push edx
call fcn.0041bd2a
add esp, 8
push ebx
lea eax, [esp + 0x24c]
push 0x7f8
push eax
call fcn.0041c116
push str.Scales
call fcn.0041b333
lea ecx, [esp + eax*2 + 0x258]
mov eax, dword [ebp + 0x4498]
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.0041c205
push ebx
lea eax, [esp + 0x274]
push 0x7f8
push eax
call fcn.0041c116
push str.Colors
call fcn.0041b333
add esp, 0x38
lea esi, [esp + eax*2 + 0x248]
mov edi, 0x408
nop
push 0x7c
push esi
call fcn.0041c26d
add esp, 8
test eax, eax
je 0x40cca9
mov ecx, dword [ebp + 0x4498]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x4313b4
push esi
call fcn.0041c205
add esp, 0xc
add edi, 4
cmp edi, 0x808
jl 0x40cc80
push ebx
lea edx, [esp + 0x24c]
push 0x3ff
push edx
call fcn.0041c116
lea eax, [esp + 0x254]
push eax
call fcn.0041b333
xor edi, edi
push 0x4313a4
mov word [esp + eax*2 + 0x25a], di
call fcn.0041b333
add esp, 0x14
lea eax, [esp + eax*2 + 0x248]
mov ecx, dword [ebp + 0x4498]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x4309ac
push esi
call fcn.0041c205
push 0x7c
push esi
call fcn.0041c26d
add esp, 0x14
test eax, eax
je 0x40cd23
add edi, 4
cmp edi, 0x400
jl 0x40ccf2
push ebx
lea edx, [esp + 0x24c]
push 0x3ff
push edx
call fcn.0041c116
lea eax, [esp + 0x254]
push eax
call fcn.0041b333
push 6
lea ecx, [esp + 0x25c]
push 0x431394
push ecx
mov word [esp + eax*2 + 0x262], 0
call fcn.0041c0e1
add esp, 0x1c
test eax, eax
jne 0x40cdc8
push 0x431394
call fcn.0041b333
add esp, 4
lea eax, [esp + eax*2 + 0x248]
mov edi, 0x820
mov edx, dword [ebp + 0x4498]
add edx, edi
push edx
lea esi, [eax + 2]
push 0x4309ac
push esi
call fcn.0041c205
push 0x7c
push esi
call fcn.0041c26d
add esp, 0x14
test eax, eax
je 0x40cdb2
add edi, 4
cmp edi, 0xc20
jl 0x40cd81
push ebx
lea eax, [esp + 0x24c]
push 0x7f8
push eax
call fcn.0041c116
add esp, 0xc
push str.TimeScale
call fcn.0041b333
mov ecx, dword [ebp + 0x4498]
add ecx, 0x404
push ecx
lea eax, [esp + eax*2 + 0x250]
push 0x4309ac
push eax
call fcn.0041c205
fld qword [0x430e60]
add esp, 8
fstp qword [esp]
push 0xffffffffffffffff
lea edx, [esp + 0x1a54]
push edx
mov ecx, ebp
call fcn.0040c1c0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x40caab
xor edi, edi
push ebx
lea eax, [esp + 0x24c]
push 0x3ff
push eax
call fcn.0041c116
push 0xd
lea ecx, [esp + 0x258]
push str._HistoryBegin
push ecx
call fcn.0041c0e1
add esp, 0x18
test eax, eax
jne 0x40d072
mov dword [esp + 0x18], edi
lea esi, [ebp + 0x2a0]
lea esp, [esp]
push ebx
lea edx, [esp + 0x124c]
push 0x3ff
push edx
call fcn.0041bfcd
lea eax, [esp + 0x1254]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ce90
sub eax, edx
push 0xb
mov word [esp + eax*2 + 0x24a], 0
lea eax, [esp + 0x124c]
push str._HistoryEnd
push eax
call fcn.0041bc00
add esp, 0xc
test eax, eax
je 0x40d070
lea ecx, [esp + 0x1248]
push 0x3b
push ecx
call fcn.0041c7d0
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x40d070
inc eax
push 0x3b
push eax
mov dword [esp + 0x30], eax
call fcn.0041c7d0
add esp, 8
test eax, eax
mov dword [esp + 0x3c], eax
je 0x40d070
inc eax
push 0x3b
push eax
mov dword [esp + 0x38], eax
call fcn.0041c7d0
add esp, 8
test eax, eax
mov dword [esp + 0x40], eax
je 0x40d070
inc eax
push 0x3b
push eax
mov dword [esp + 0x40], eax
call fcn.0041c7d0
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
je 0x40d070
inc eax
push 0x3b
push eax
mov dword [esp + 0x2c], eax
call fcn.0041c7d0
add esp, 8
test eax, eax
mov dword [esp + 0x44], eax
je 0x40d070
inc eax
push 0x3b
push eax
mov dword [esp + 0x34], eax
call fcn.0041c7d0
mov edi, eax
add esp, 8
test edi, edi
je 0x40d070
lea ebx, [edi + 1]
push 0x3b
push ebx
call fcn.0041c7d0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1250]
push eax
mov byte [edx], 0
call fcn.00416dc0
push eax
lea ecx, [esi - 0x40]
push ecx
call fcn.0041bd2a
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
push eax
mov byte [edx], 0
call fcn.00416dc0
push eax
push esi
call fcn.0041bd2a
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
push edx
mov byte [ecx], 0
call fcn.00416dc0
push eax
lea eax, [esi + 0x40]
push eax
call fcn.0041bd2a
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
push edx
mov byte [ecx], 0
call fcn.00416dc0
push eax
lea eax, [esi + 0x80]
push eax
call fcn.0041bd2a
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
push edx
mov byte [ecx], 0
call fcn.00416dc0
push eax
lea eax, [esi + 0xc0]
push eax
call fcn.0041bd2a
mov ecx, dword [esp + 0x70]
add esp, 0x44
push ecx
mov byte [edi], 0
call fcn.00416dc0
push eax
lea edx, [esi + 0x100]
push edx
call fcn.0041bd2a
mov eax, dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x40d047
push ebx
mov byte [eax], 0
call fcn.00416dc0
push eax
lea eax, [esi + 0x500]
push eax
call fcn.0041bd2a
add esp, 0xc
mov ebx, dword [ebp + 0x4490]
mov eax, dword [esp + 0x18]
inc ebx
inc eax
add esi, 0x584
cmp eax, 0xc
mov dword [ebp + 0x4490], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x40ce70
xor edi, edi
push ebx
call fcn.0041b4bb
mov ecx, dword [ebp + 0x4498]
push ecx
call fcn.0042928a
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 8
push 0xf
mov dword [ebp + 0x4498], edi
call esi
push 4
mov ebx, eax
call esi
mov esi, dword [esp + 0x2250]
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 0x40d112
lea edx, [ebp + 0x60]
lea esi, [esp + 0x4c]
mov dword [esp + 0x10], edx
lea esp, [esp]
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 0x40d0d0
mov esi, dword [esp + 0x2250]
mov edx, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x229
push edx
call edi
push eax
mov eax, dword [ebp + 0xc]
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]
mov ecx, ebp
call fcn.0040c870
pop esi
mov ecx, dword [esp + 0x2244]
pop edi
pop ebp
pop ebx
call fcn.0041b325
add esp, 0x223c
ret 4
mov dword [esp + 0x14], edi
jmp 0x40d072