Function at 0x40de20
Capabilities:
Delete file
Get graphical window text
Move file

Disassembly:
sub esp, 0x224
mov eax, dword [0x437788]
push ebx
mov ebx, dword [esp + 0x22c]
push ebp
mov ebp, dword [ebx + 0x4494]
push esi
push edi
push str.LookALF.bak
mov dword [esp + 0x234], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.LookALF.bak
push str.LookALF.cfg
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x432ccc
push str.LookALF.cfg
call fcn.0041c12e
mov ecx, dword [0x43b528]
add esp, 8
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebp, ebp
jle 0x40deb1
lea esi, [ebx + 0x60]
mov ebx, ebp
lea ecx, [ecx]
mov edx, dword [esi]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
add esi, 4
dec ebx
jne 0x40de90
mov ebx, dword [esp + 0x238]
mov eax, dword [0x43b528]
test eax, eax
je 0x40ded0
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x43b528]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x40ded9
xor ebp, ebp
movzx edx, word [0x43b49c]
push edx
push ebp
push str._2d_langUI_d_n
push edi
call fcn.0041c074
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push str.MainWindow_4d__4d__4d__4d_n
push edi
call fcn.0041c074
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x28
test ebp, ebp
jle 0x40e157
add ebx, 0x60
mov dword [esp + 0x14], ebp
mov ecx, dword [ebx]
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, eax
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0x82908]
push 0
push 0xf120
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
push 0x112
push eax
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push str.Window_4d__4d__4d__4d_n
push edi
call fcn.0041c074
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 0x1097604]
push edx
push str.ScaleChan_d_n
push edi
call fcn.0041c074
mov ecx, dword [ebx]
add esp, 0x24
push 0xff
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
lea eax, [esp + 0x44]
push eax
push 0
push 0
call esi
lea ecx, [esp + 0x30]
push ecx
call fcn.0041b76a
push 0x43c950
push str.TitleW_s_n
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
mov eax, dword [ebp + 4]
fld qword [eax + 0x84588]
mov edx, dword [eax + 0x83564]
fstp qword [esp + 8]
fld qword [eax + 0x83578]
mov eax, dword [eax + 0x83558]
fstp qword [esp]
push edx
push eax
push str.Scales_d__d__.0lf__.0lf_n
push edi
call fcn.0041c074
push str.Colors
push edi
call fcn.0041c074
mov eax, dword [esp + 0x40]
add esp, 0x28
test eax, eax
mov dword [esp + 0x10], 0
jle 0x40e07f
jmp 0x40e050
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx*4 + 0x84590]
push eax
push 0x433488
push edi
call fcn.0041c074
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x40e050
push 0x433484
push edi
call fcn.0041c074
push 0x433470
push edi
call fcn.0041c074
add esp, 0x10
mov dword [esp + 0x10], 0x10971f8
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx]
push eax
push 0x433468
push edi
call fcn.0041c074
mov eax, dword [esp + 0x1c]
add eax, 4
add esp, 0xc
cmp eax, 0x10975f8
mov dword [esp + 0x10], eax
jl 0x40e0a0
push 0x433484
push edi
call fcn.0041c074
push 0x433458
push edi
call fcn.0041c074
add esp, 0x10
mov dword [esp + 0x10], 0x84990
lea esp, [esp]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + ecx]
push eax
push 0x433468
push edi
call fcn.0041c074
mov eax, dword [esp + 0x1c]
add eax, 4
add esp, 0xc
cmp eax, 0x84d90
mov dword [esp + 0x10], eax
jl 0x40e0f0
push 0x433484
push edi
call fcn.0041c074
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 0x1097600]
push edx
push str.TimeScale_d_n
push edi
call fcn.0041c074
mov eax, dword [esp + 0x28]
add esp, 0x14
add ebx, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x40df24
mov ebx, dword [esp + 0x238]
push 0x43341c
push edi
call fcn.0041c074
add esp, 8
mov dword [esp + 0x14], 0
lea ebp, [ebx + 0x2a0]
lea eax, [ebp + 0x100]
push eax
call fcn.0041b76a
add esp, 4
test eax, eax
je 0x40e36b
push 0
lea ebx, [ebp - 0x40]
push 0
push ebx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
push ebx
call fcn.0041b76a
push 0x43c950
push 0x433418
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
add esp, 0x10
push 0
push 0
push ebp
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebp
push 0
push 0
call esi
push ebp
call fcn.0041b76a
push 0x43c950
push 0x433418
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
add esp, 0x10
push 0
lea ebx, [ebp + 0x40]
push 0
push ebx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
push ebx
call fcn.0041b76a
push 0x43c950
push 0x433418
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
add esp, 0x10
push 0
lea ebx, [ebp + 0x80]
push 0
push ebx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
push ebx
call fcn.0041b76a
push 0x43c950
push 0x433418
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
add esp, 0x10
push 0
lea ebx, [ebp + 0xc0]
push 0
push ebx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
push ebx
call fcn.0041b76a
push 0x43c950
push 0x433418
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
add esp, 0x10
push 0
push 0
lea ebx, [ebp + 0x100]
push ebx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
push ebx
call fcn.0041b76a
push 0x43c950
push 0x433418
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
add esp, 0x10
push 0
lea ebx, [ebp + 0x500]
push 0
push ebx
call fcn.0041b76a
add esp, 4
inc eax
push eax
push 0x43c950
push 0xffffffffffffffff
push ebx
push 0
push 0
call esi
push ebx
call fcn.0041b76a
push 0x43c950
push str._s__n
push edi
mov byte [eax + 0x43c950], 0
call fcn.0041bc37
mov eax, dword [esp + 0x24]
add esp, 0x10
inc eax
add ebp, 0x584
cmp eax, 0xc
mov dword [esp + 0x14], eax
jl 0x40e173
push 0x4333f4
push edi
call fcn.0041c074
push edi
call fcn.0041bd27
mov esi, dword [esp + 0x244]
mov edi, dword [esi + 0x4494]
add esp, 0xc
test edi, edi
jle 0x40e3a3
mov eax, dword [esi + 0x60]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
dec edi
jne 0x40e390
xor eax, eax
mov ecx, 0x80
lea edi, [esi + 0x60]
rep stosd dword es:[edi], eax
mov dword [esi + 0x4494], eax
call fcn.0040e3e0
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0041c756
add esp, 0x224
ret 4