Function at 0x45e864
Capabilities:
Move file
Read .ini file

Disassembly:
mov eax, 0x47a1e0
call fcn.00465b54
sub esp, 0x12c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 1
xor edi, edi
cmp dword [ebp + 0x3c], edi
pop ebx
mov dword [ebp - 4], ebx
jne 0x45e88b
xor eax, eax
jmp 0x45e893
lea ecx, [ebp + 0x30]
call fcn.0040650f
push 5
push eax
lea ecx, [ebp + 8]
call fcn.0040650f
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp eax, edi
jne 0x45ec0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45ebc1
cmp dword [ebp + 0x3c], edi
jne 0x45e8d3
push 0x497af4
lea ecx, [ebp + 0x30]
call fcn.00405b36
jmp 0x45e9a2
lea eax, [ebp - 0xd4]
lea ecx, [ebp + 0x30]
push eax
call fcn.0041a959
mov esi, eax
lea eax, [ebp - 0x138]
lea ecx, [ebp + 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.004071be
push edi
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 0x47b4b8
mov dword [ebp - 0x30], 0x47b4b0
call fcn.00405884
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x50]
push eax
mov byte [ebp - 4], 4
call fcn.00426a54
push esi
push eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 5
push eax
call fcn.0041c2fc
add esp, 0xc
push dword [0x47b518]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 6
neg ecx
sbb ecx, ecx
push edi
and ecx, eax
push ecx
lea ecx, [ebp + 0x34]
call fcn.00406639
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 5
call fcn.00407f77
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.00407f77
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00407f77
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.00407f77
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 1
call fcn.00407f77
lea eax, [ebp + 0x30]
push ebx
push eax
lea ecx, [ebp - 0x78]
call fcn.00405884
mov esi, 0x49331c
mov byte [ebp - 4], 7
push esi
call fcn.00465bad
pop ecx
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.004065db
lea eax, [ebp - 0xa0]
lea ecx, [ebp + 8]
push eax
call fcn.00426a54
push dword [0x47b518]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 8
neg ecx
sbb ecx, ecx
push edi
and ecx, eax
push ecx
lea ecx, [ebp - 0x74]
call fcn.004076b5
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00407f77
mov eax, dword [ebp - 0x6c]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x14], esi
lea eax, [eax + eax + 1]
mov dword [ebp - 0x18], eax
call fcn.004662c5
cmp eax, edi
mov dword [ebp - 0x1c], eax
setne cl
mov byte [ebp - 0x20], cl
lea eax, [ebp - 0xa0]
push edi
push eax
mov byte [ebp - 4], 0xa
call fcn.0041f776
add esp, 0xc
push 0x493334
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0xb
push eax
call fcn.00407747
add esp, 0xc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
call fcn.00407f77
lea ecx, [ebp - 0xdc]
call fcn.0041b348
push edi
push edi
push ebx
push 0x80
push ebx
lea eax, [ebp - 0x50]
push SysReAllocString
push eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xe
call fcn.0041b441
lea ecx, [ebp - 0xdc]
call fcn.0041b6aa
lea eax, [ebp - 0x50]
push eax
call fcn.0045e82d
pop ecx
and al, 0xfe
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00430964
pop ecx
mov dword [ebp - 0xdc], 0x47bd60
pop ecx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.0041b6aa
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xd
call fcn.00407f77
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xa
call fcn.00407f77
mov ebx, 0x493328
mov edi, 0x493320
push ebx
push esi
push dword [ebp - 0x1c]
mov dword [ebp - 4], 9
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esi, eax
mov eax, 0x1ffd
sub eax, dword [ebp - 0x18]
cmp eax, esi
jg 0x45eb63
mov eax, dword [ebp - 0x14]
add eax, eax
test eax, eax
mov dword [ebp - 0x14], eax
je 0x45eb63
push eax
call fcn.004662c5
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
setne cl
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], cl
push eax
lea ecx, [ebp - 0x20]
call fcn.0042586a
cmp byte [ebp - 0x28], 0
je 0x45eb49
push dword [ebp - 0x24]
call fcn.0045e012
pop ecx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esi, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
dec eax
dec eax
jmp 0x45eb0c
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x18], eax
call fcn.0040650f
push eax
mov eax, dword [ebp - 0x18]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, dword [ebp - 0x18]
push ebx
and byte [eax + esi + 1], 0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
cmp byte [ebp - 0x20], 0
mov esi, eax
je 0x45ebb1
push dword [ebp - 0x1c]
call fcn.0045e012
pop ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00407f77
test esi, esi
jne 0x45ec08
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x45ec0a
xor edi, edi
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00407f77
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.00407f77
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret