Function at 0x40bc50
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x2234
call fcn.0041b460
mov eax, dword [0x436ebc]
push ebx
push ebp
push 0xc20
mov dword [esp + 0x223c], eax
mov ebp, ecx
mov dword [esp + 0xc], 0
call fcn.00427e36
push 0x42fad4
push str.LookALF.cfg
mov dword [ebp + 0x4198], eax
call fcn.0041adc8
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x40c3d5
push esi
push edi
push ebx
lea eax, [esp + 0x244]
push 0x7f8
push eax
call fcn.0041acec
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x250]
push str._2d_n
push edx
call fcn.0041addb
mov esi, dword [esp + 0x28]
mov edi, dword [0x4405b8]
push 0x42f4dc
push str.Debug.txt
call fcn.0041a059
push esi
push esi
push 0x430308
push str._s_d__x__n
push eax
mov dword [edi], eax
call fcn.00419f9f
mov eax, dword [edi]
push eax
call fcn.00419f4e
mov eax, dword [ebp + 0x54]
xor esi, esi
add esp, 0x38
cmp eax, esi
je 0x40bd13
mov dword [esp + 0x10], esi
push ebx
lea ecx, [esp + 0x244]
push 0x7f8
push ecx
call fcn.0041acec
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, esi
jl 0x40c2f0
cmp eax, 0x20
jg 0x40c2f0
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x40c0de
lea esi, [esp + 0x48]
mov dword [esp + 0x1c], esi
jmp 0x40bd60
mov esi, dword [esp + 0x1c]
jmp 0x40bd60
mov edi, dword [ebp + 0x4198]
xor eax, eax
mov ecx, 0x308
rep stosd dword es:[edi], eax
mov eax, 0x820
jmp 0x40bd80
mov edx, dword [ebp + 0x4198]
mov dword [eax + edx], 1
add eax, 4
cmp eax, 0xc20
jl 0x40bd80
push ebx
lea eax, [esp + 0x244]
push 0x3ff
push eax
call fcn.0041acec
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.0041a06c
lea eax, [esp + eax*2 + 0x258]
add esp, 4
push eax
call fcn.0041addb
push ebx
lea ecx, [esp + 0x25c]
push 0x3ff
push ecx
call fcn.0041acec
mov edx, dword [ebp + 0x4198]
add esp, 0x24
add edx, 0x400
push edx
push 0x42f974
push str.ScaleChan
call fcn.0041a06c
lea eax, [esp + eax*2 + 0x24c]
add esp, 4
push eax
call fcn.0041addb
push ebx
lea ecx, [esp + 0x1250]
push 0x3ff
push ecx
call fcn.0041aba3
lea eax, [esp + 0x1258]
add esp, 0x18
lea ecx, [eax + 1]
jmp 0x40be40
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40be40
lea edx, [esp + 0x1240]
sub eax, ecx
push edx
mov word [esp + eax*2 + 0x242], 0
call fcn.00415990
push eax
lea eax, [esp + 0x1a48]
push eax
call fcn.0041a7da
lea ecx, [esp + 0x1a4c]
push 0x27
push ecx
call fcn.0041ac29
add esp, 0x14
test eax, eax
je 0x40be89
mov word [eax], 0
lea edx, [esp + 0x1a40]
push 0x27
push edx
call fcn.0041b43e
add esp, 8
test eax, eax
je 0x40beb3
add eax, 2
push eax
lea eax, [esp + 0x1a44]
push eax
call fcn.0041a7da
add esp, 8
push ebx
lea ecx, [esp + 0x244]
push 0x7f8
push ecx
call fcn.0041acec
push str.Scales
call fcn.0041a06c
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.0041addb
push ebx
lea eax, [esp + 0x26c]
push 0x7f8
push eax
call fcn.0041acec
push str.Colors
call fcn.0041a06c
add esp, 0x38
lea esi, [esp + eax*2 + 0x240]
mov edi, 0x408
nop
push 0x7c
push esi
call fcn.0041b43e
add esp, 8
test eax, eax
je 0x40bf59
mov ecx, dword [ebp + 0x4198]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x43029c
push esi
call fcn.0041addb
add esp, 0xc
add edi, 4
cmp edi, 0x808
jl 0x40bf30
push ebx
lea edx, [esp + 0x244]
push 0x3ff
push edx
call fcn.0041acec
lea eax, [esp + 0x24c]
push eax
call fcn.0041a06c
xor edi, edi
push 0x43028c
mov word [esp + eax*2 + 0x252], di
call fcn.0041a06c
add esp, 0x14
lea eax, [esp + eax*2 + 0x240]
mov ecx, dword [ebp + 0x4198]
add ecx, edi
push ecx
lea esi, [eax + 2]
push 0x42f974
push esi
call fcn.0041addb
push 0x7c
push esi
call fcn.0041b43e
add esp, 0x14
test eax, eax
je 0x40bfd3
add edi, 4
cmp edi, 0x400
jl 0x40bfa2
push ebx
lea edx, [esp + 0x244]
push 0x3ff
push edx
call fcn.0041acec
lea eax, [esp + 0x24c]
push eax
call fcn.0041a06c
push 6
lea ecx, [esp + 0x254]
push 0x43027c
push ecx
mov word [esp + eax*2 + 0x25a], 0
call fcn.0041acb7
add esp, 0x1c
test eax, eax
jne 0x40c078
push 0x43027c
call fcn.0041a06c
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 0x42f974
push esi
call fcn.0041addb
push 0x7c
push esi
call fcn.0041b43e
add esp, 0x14
test eax, eax
je 0x40c062
add edi, 4
cmp edi, 0xc20
jl 0x40c031
push ebx
lea eax, [esp + 0x244]
push 0x7f8
push eax
call fcn.0041acec
add esp, 0xc
push str.TimeScale
call fcn.0041a06c
mov ecx, dword [ebp + 0x4198]
add ecx, 0x404
push ecx
lea eax, [esp + eax*2 + 0x248]
push 0x42f974
push eax
call fcn.0041addb
fld qword [0x42fdc8]
add esp, 8
fstp qword [esp]
push 0xffffffffffffffff
lea edx, [esp + 0x1a4c]
push edx
mov ecx, ebp
call fcn.0040b590
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jl 0x40bd54
push ebx
lea eax, [esp + 0x244]
push 0x3ff
push eax
call fcn.0041acec
push 0xd
lea ecx, [esp + 0x250]
push str._HistoryBegin
push ecx
call fcn.0041acb7
add esp, 0x18
test eax, eax
jne 0x40c2fa
mov dword [esp + 0x18], eax
lea esi, [ebp + 0x2a0]
lea ebx, [ebx]
push ebx
lea edx, [esp + 0x1244]
push 0x3ff
push edx
call fcn.0041aba3
lea eax, [esp + 0x124c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c140
sub eax, edx
push 0xb
mov word [esp + eax*2 + 0x242], 0
lea eax, [esp + 0x1244]
push str._HistoryEnd
push eax
call fcn.0041a6b0
add esp, 0xc
test eax, eax
je 0x40c2fa
lea ecx, [esp + 0x1240]
push 0x3b
push ecx
call fcn.0041b380
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x40c2fa
inc eax
push 0x3b
push eax
mov dword [esp + 0x30], eax
call fcn.0041b380
add esp, 8
test eax, eax
mov dword [esp + 0x30], eax
je 0x40c2fa
inc eax
push 0x3b
push eax
mov dword [esp + 0x28], eax
call fcn.0041b380
add esp, 8
test eax, eax
mov dword [esp + 0x34], eax
je 0x40c2fa
inc eax
push 0x3b
push eax
mov dword [esp + 0x44], eax
call fcn.0041b380
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c2f6
lea eax, [ebx + 1]
push 0x3b
push eax
mov dword [esp + 0x40], eax
call fcn.0041b380
mov edi, eax
add esp, 8
test edi, edi
je 0x40c2f6
lea eax, [edi + 1]
push 0x3b
push eax
mov dword [esp + 0x34], eax
call fcn.0041b380
add esp, 8
test eax, eax
mov dword [esp + 0x24], eax
je 0x40c2f6
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x1240]
push eax
mov byte [edx], 0
call fcn.00415990
push eax
lea ecx, [esi - 0x40]
push ecx
call fcn.0041a7da
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push eax
mov byte [edx], 0
call fcn.00415990
push eax
push esi
call fcn.0041a7da
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
push edx
mov byte [ecx], 0
call fcn.00415990
push eax
lea eax, [esi + 0x40]
push eax
call fcn.0041a7da
mov ecx, dword [esp + 0x60]
push ecx
mov byte [ebx], 0
call fcn.00415990
push eax
lea edx, [esi + 0x80]
push edx
call fcn.0041a7da
mov eax, dword [esp + 0x68]
push eax
mov byte [edi], 0
call fcn.00415990
push eax
lea ecx, [esi + 0xc0]
push ecx
call fcn.0041a7da
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push eax
mov byte [edx], 0
call fcn.00415990
add esp, 0x40
push eax
lea ecx, [esi + 0x100]
push ecx
call fcn.0041a7da
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 + 0x14]
mov dword [esp + 0x18], eax
jl 0x40c120
jmp 0x40c2fa
mov dword [esp + 0x10], esi
jmp 0x40c2fa
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00419f4e
mov edx, dword [ebp + 0x4198]
push edx
call fcn.00427e66
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 8
push 0xf
mov dword [ebp + 0x4198], 0
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 + 0x10]
xor edi, edi
test eax, eax
jle 0x40c399
lea eax, [ebp + 0x60]
lea esi, [esp + 0x44]
mov dword [esp + 0x14], 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 + 0x24]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc edi
add edx, 4
add esi, 0x10
cmp edi, eax
mov dword [esp + 0x14], edx
jl 0x40c357
mov esi, dword [esp + 0x2248]
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.0040bae0
pop edi
pop esi
mov ecx, dword [esp + 0x2238]
pop ebp
pop ebx
call fcn.00419ef4
add esp, 0x2234
ret 4