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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x234
mov eax, dword [0x449238]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x4494]
push str.LookALF.bak
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.LookALF.bak
push str.LookALF.cfg
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x43db38
push str.LookALF.cfg
call fcn.00424763
mov ecx, dword [0x454174]
add esp, 8
mov esi, eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test ebx, ebx
jle 0x40d192
add edi, 0x60
mov dword [esp + 0x18], ebx
lea esp, [esp]
mov edx, dword [edi]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
add edi, 4
sub dword [esp + 0x18], 1
jne 0x40d170
mov edi, dword [esp + 0x1c]
mov eax, dword [0x454174]
test eax, eax
je 0x40d1b1
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x454174]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [edi + 0x54], 0
je 0x40d1c3
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
movzx edx, word [0x4540e8]
push edx
push ebx
push str._2d_langUI_d_n
push esi
call fcn.00424515
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
push str.MainWindow_4d__4d__4d__4d_n
push esi
call fcn.00424515
add esp, 0x28
test ebx, ebx
jle 0x40d3f5
mov ecx, dword [esp + 0x14]
lea ebx, [edi + 0x60]
mov dword [esp + 0x20], ecx
lea esp, [esp]
mov edx, dword [ebx]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx]
push 0
mov edi, eax
mov eax, dword [edi + 4]
push 0xf120
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x82908]
push 0x112
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push str.Window_4d__4d__4d__4d_n
push esi
call fcn.00424515
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x1097604]
push eax
push str.ScaleChan_d_n
push esi
call fcn.00424515
mov edx, dword [ebx]
add esp, 0x24
push 0xff
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x38]
push eax
call fcn.00416ee0
push eax
push str.TitleW_s_n
push esi
call fcn.0042349c
mov eax, dword [edi + 4]
fld qword [eax + 0x84588]
mov ecx, dword [eax + 0x83564]
mov edx, dword [eax + 0x83558]
fstp qword [esp + 8]
fld qword [eax + 0x83578]
fstp qword [esp]
push ecx
push edx
push str.Scales_d__d__.0lf__.0lf_n
push esi
call fcn.00424515
push str.Colors
push esi
call fcn.00424515
add esp, 0x28
cmp dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jle 0x40d32c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4 + 0x84590]
push edx
push 0x43e4cc
push esi
call fcn.00424515
mov eax, dword [esp + 0x20]
add eax, 1
add esp, 0xc
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x40d2fd
push 0x43e4c8
push esi
call fcn.00424515
push str.Visible
push esi
call fcn.00424515
add esp, 0x10
mov dword [esp + 0x14], 0x10971f8
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax]
push edx
push 0x43e4ac
push esi
call fcn.00424515
mov eax, dword [esp + 0x20]
add eax, 4
add esp, 0xc
cmp eax, 0x10975f8
mov dword [esp + 0x14], eax
jl 0x40d34d
push 0x43e4c8
push esi
call fcn.00424515
push str.Widths
push esi
call fcn.00424515
add esp, 0x10
mov dword [esp + 0x14], 0x84990
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax]
push edx
push 0x43e4ac
push esi
call fcn.00424515
mov eax, dword [esp + 0x20]
add eax, 4
add esp, 0xc
cmp eax, 0x84d90
mov dword [esp + 0x14], eax
jl 0x40d399
push 0x43e4c8
push esi
call fcn.00424515
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x1097600]
push ecx
push str.TimeScale_d_n
push esi
call fcn.00424515
add esp, 0x14
add ebx, 4
sub dword [esp + 0x20], 1
jne 0x40d210
push 0x43e460
push esi
call fcn.00424515
mov edi, dword [esp + 0x24]
add esp, 8
xor ebx, ebx
add edi, 0x2a0
nop
lea eax, [edi + 0x100]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d420
sub eax, edx
sar eax, 1
je 0x40d4e9
lea edx, [edi - 0x40]
push edx
call fcn.00416ee0
push eax
push 0x43e45c
push esi
call fcn.0042349c
push edi
call fcn.00416ee0
push eax
push 0x43e45c
push esi
call fcn.0042349c
lea eax, [edi + 0x40]
push eax
call fcn.00416ee0
push eax
push 0x43e45c
push esi
call fcn.0042349c
lea ecx, [edi + 0x80]
push ecx
call fcn.00416ee0
push eax
push 0x43e45c
push esi
call fcn.0042349c
lea edx, [edi + 0xc0]
add esp, 0x40
push edx
call fcn.00416ee0
push eax
push 0x43e45c
push esi
call fcn.0042349c
lea eax, [edi + 0x100]
push eax
call fcn.00416ee0
push eax
push 0x43e45c
push esi
call fcn.0042349c
lea eax, [edi + 0x500]
push eax
call fcn.00416ee0
push eax
push str._s__n
push esi
call fcn.0042349c
add ebx, 1
add esp, 0x30
add edi, 0x584
cmp ebx, 0xc
jl 0x40d410
push str._HistoryEnd_n
push esi
call fcn.00424515
push esi
call fcn.00423420
mov esi, dword [esp + 0x28]
mov edi, dword [esi + 0x4494]
add esp, 0xc
test edi, edi
jle 0x40d525
jmp 0x40d510
mov ecx, dword [esi + 0x60]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
sub edi, 1
jne 0x40d510
push 0x200
lea edx, [esi + 0x60]
push 0
push edx
call fcn.004238f0
add esp, 0xc
mov ecx, esi
mov dword [esi + 0x4494], 0
call fcn.0040c7b0
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00423284
mov esp, ebp
pop ebp
ret