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

Disassembly:
sub esp, 0x228
mov eax, dword [0x449ad4]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x22c]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x4494]
push str.LookALF.bak
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.LookALF.bak
push 0x441ce0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x44157c
lea eax, [esp + 0x14]
push 0x441ce0
push eax
call fcn.00424cb5
add esp, 0xc
test eax, eax
je 0x40e347
mov dword [esp + 0x10], 0
mov edx, dword [0x44e420]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
jle 0x40e388
mov esi, dword [esp + 0x14]
add esi, 0x60
mov ebx, edi
lea esp, [esp]
mov eax, dword [esi]
push 9
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
add esi, 4
sub ebx, 1
jne 0x40e370
mov eax, dword [0x44e420]
test eax, eax
je 0x40e3a3
push 3
push eax
call ebp
mov edx, dword [0x44e420]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x54], 0
je 0x40e3af
xor edi, edi
movzx ecx, word [0x44e39c]
mov edx, dword [esp + 0x10]
push ecx
push edi
push str._2d_langUI_d_n
push edx
call fcn.00424d21
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push str.MainWindow_4d__4d__4d__4d_n
push ecx
call fcn.00424d21
add esp, 0x28
test edi, edi
jle 0x40e64d
mov esi, dword [esp + 0x14]
add esi, 0x60
mov dword [esp + 0x18], edi
mov edx, dword [esi]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov eax, dword [edi + 4]
mov ebx, dword [eax + 0x82908]
push 0
push 0xf120
mov dword [esp + 0x24], eax
mov eax, dword [esi]
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push str.Window_4d__4d__4d__4d_n
push ecx
call fcn.00424d21
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x1097604]
mov ecx, dword [esp + 0x28]
push eax
push str.ScaleChan_d_n
push ecx
call fcn.00424d21
mov eax, dword [esi]
add esp, 0x24
push 0xff
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x30]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e496
push 0
sub eax, ecx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x30]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e4d0
sub eax, ecx
sar eax, 1
push 0x44f848
mov byte [eax + 0x44f848], dl
mov edx, dword [esp + 0x14]
push str.TitleW_s_n
push edx
call fcn.0042402a
mov eax, dword [edi + 4]
fld qword [eax + 0x84588]
mov edx, dword [eax + 0x83558]
push ecx
mov ecx, dword [eax + 0x83564]
fstp qword [esp + 8]
fld qword [eax + 0x83578]
mov eax, dword [esp + 0x20]
fstp qword [esp]
push ecx
push edx
push str.Scales_d__d__.0lf__.0lf_n
push eax
call fcn.00424d21
mov ecx, dword [esp + 0x30]
push str.Colors
push ecx
call fcn.00424d21
add esp, 0x28
xor ebp, ebp
test ebx, ebx
jle 0x40e575
jmp 0x40e550
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebp*4 + 0x84590]
mov ecx, dword [esp + 0x10]
push eax
push str._06x
push ecx
call fcn.00424d21
add ebp, 1
add esp, 0xc
cmp ebp, ebx
jl 0x40e550
mov edx, dword [esp + 0x10]
push 0x441ea0
push edx
call fcn.00424d21
mov eax, dword [esp + 0x18]
push 0x441ea4
push eax
call fcn.00424d21
add esp, 0x10
mov ebp, 0x10971f8
jmp 0x40e5a0
mov ecx, dword [edi + 4]
mov edx, dword [ecx + ebp]
mov eax, dword [esp + 0x10]
push edx
push 0x441eb8
push eax
call fcn.00424d21
add ebp, 4
add esp, 0xc
cmp ebp, 0x10975f8
jl 0x40e5a0
mov ecx, dword [esp + 0x10]
push 0x441ea0
push ecx
call fcn.00424d21
mov edx, dword [esp + 0x18]
push str.Widths
push edx
call fcn.00424d21
add esp, 0x10
mov ebp, 0x84990
lea ebx, [ebx]
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebp]
mov edx, dword [esp + 0x10]
push ecx
push 0x441eb8
push edx
call fcn.00424d21
add ebp, 4
add esp, 0xc
cmp ebp, 0x84d90
jl 0x40e5f0
mov eax, dword [esp + 0x10]
push 0x441ea0
push eax
call fcn.00424d21
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x1097600]
mov eax, dword [esp + 0x18]
push edx
push str.TimeScale_d_n
push eax
call fcn.00424d21
add esp, 0x14
add esi, 4
sub dword [esp + 0x18], 1
jne 0x40e400
mov ecx, dword [esp + 0x10]
push str._HistoryBegin_n
push ecx
call fcn.00424d21
mov ebx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 8
mov dword [esp + 0x18], 0
add ebx, 0x2a0
jmp 0x40e680
lea esi, [ebx + 0x100]
mov eax, esi
lea edx, [eax + 2]
jmp 0x40e690
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e690
sub eax, edx
sar eax, 1
je 0x40e977
lea edi, [ebx - 0x40]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e6b0
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push edi
push 0
push 0
call ebp
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e6e0
sub eax, edx
mov edx, dword [esp + 0x10]
push 0x44f848
sar eax, 1
push 0x441f0c
push edx
mov byte [eax + 0x44f848], cl
call fcn.0042402a
mov eax, ebx
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e711
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push ebx
push 0
push 0
call ebp
mov eax, ebx
lea edx, [eax + 2]
jmp 0x40e740
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e740
sub eax, edx
sar eax, 1
push 0x44f848
mov byte [eax + 0x44f848], cl
mov eax, dword [esp + 0x14]
push 0x441f0c
push eax
call fcn.0042402a
lea edi, [ebx + 0x40]
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e774
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push edi
push 0
push 0
call ebp
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e7a0
sub eax, edx
sar eax, 1
push 0x44f848
mov byte [eax + 0x44f848], cl
mov ecx, dword [esp + 0x14]
push 0x441f0c
push ecx
call fcn.0042402a
lea edi, [ebx + 0x80]
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e7d7
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push edi
push 0
push 0
call ebp
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e801
sub eax, edx
mov edx, dword [esp + 0x10]
push 0x44f848
sar eax, 1
push 0x441f0c
push edx
mov byte [eax + 0x44f848], cl
call fcn.0042402a
lea edi, [ebx + 0xc0]
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
jmp 0x40e840
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e840
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push edi
push 0
push 0
call ebp
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e870
sub eax, edx
sar eax, 1
push 0x44f848
mov byte [eax + 0x44f848], cl
mov eax, dword [esp + 0x14]
push 0x441f0c
push eax
call fcn.0042402a
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e8a1
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push esi
push 0
push 0
call ebp
mov eax, esi
lea edx, [eax + 2]
jmp 0x40e8d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e8d0
sub eax, edx
sar eax, 1
push 0x44f848
mov byte [eax + 0x44f848], cl
mov ecx, dword [esp + 0x14]
push 0x441f0c
push ecx
call fcn.0042402a
lea edi, [ebx + 0x500]
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e907
push 0
sub eax, edx
push 0
sar eax, 1
add eax, 1
push eax
push 0x44f848
push 0xffffffffffffffff
push edi
push 0
push 0
call ebp
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e931
sub eax, ecx
sar eax, 1
push 0x44f848
mov byte [eax + 0x44f848], dl
mov edx, dword [esp + 0x14]
push str._s__n
push edx
call fcn.0042402a
mov eax, dword [esp + 0x24]
add eax, 1
add esp, 0xc
add ebx, 0x584
cmp eax, 0xc
mov dword [esp + 0x18], eax
jl 0x40e680
mov eax, dword [esp + 0x10]
push str._HistoryEnd_n
push eax
call fcn.00424d21
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00424302
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x4494]
add esp, 0xc
test edi, edi
jle 0x40e9b8
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x60]
push 0
push 0
push 0x10
push edx
call ebx
sub edi, 1
jne 0x40e9a7
push 0x200
lea eax, [esi + 0x60]
push 0
push eax
call fcn.00425ee0
add esp, 0xc
mov dword [esi + 0x4494], 0
call fcn.0040ea00
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004237b7
add esp, 0x228
ret 4