Function at 0x4588d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1268
call fcn.004a5e30
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1264], eax
push esi
push edi
push 0x29e2
push dword [0x4def88]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov dword [esp + 0x18], eax
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
xor eax, eax
mov dword [esp + 0x14], eax
test esi, esi
jle 0x458955
push 0xf000
push eax
push 0x102c
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffff000
lea ecx, [edi + 1]
cmp eax, 0x1000
mov eax, dword [esp + 0x14]
cmove ecx, edi
inc eax
mov dword [esp + 0x14], eax
mov edi, ecx
cmp eax, esi
jl 0x458921
xor eax, eax
push 0x206
push eax
mov word [esp + 0x68], ax
lea eax, [esp + 0x6a]
push eax
call fcn.0048e880
add esp, 0xc
mov ecx, 0x4b5168
test edi, edi
jne 0x4589c7
mov edx, 0x4ad9a4
call fcn.00477440
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x60]
mov edx, 0x4adbc4
push 0x30
push eax
mov ecx, 0x4b5168
call fcn.00477440
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1264]
xor ecx, esp
call fcn.0048d925
mov esp, ebp
pop ebp
ret
push edi
mov edx, 0x4ada1c
call fcn.00477440
push eax
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.0040a3c0
add esp, 0x10
mov edx, 0x4ad0a4
mov ecx, 0x4ad9cc
push 0x24
call fcn.00477440
push eax
lea eax, [esp + 0x68]
push eax
push dword [0x4def88]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4589b1
xor eax, eax
mov dword [esp + 0x14], 0
push 0x7fe
push eax
mov word [esp + 0xa70], ax
lea eax, [esp + 0xa72]
push eax
mov dword [esp + 0x28], 3
call fcn.0048e880
add esp, 0xc
push 0x4ded80
push 1
push str.Remove
push str.DFOPTIONS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
je 0x458aa6
sub eax, 1
je 0x458a9c
sub eax, 1
jne 0x458aae
push 0x4ded80
push 0x400
lea eax, [esp + 0xa70]
mov dword [esp + 0x1c], 0x41c
push eax
push str.c:_temp
push str.Folder
push str.DFOPTIONS
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x458aae
mov dword [esp + 0x14], 0x414
jmp 0x458aae
mov dword [esp + 0x14], 0x454
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, 0xffffffff
je 0x458bc6
nop dword [eax]
push 0xf000
dec esi
push esi
push 0x102c
push dword [esp + 0x24]
call edi
shr eax, 0xc
sub eax, 1
je 0x458bbd
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x270], ax
lea eax, [esp + 0x272]
push eax
call fcn.0048e880
add esp, 0xc
mov dword [esp + 0x28], 4
lea eax, [esp + 0x268]
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x34], eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1073
push dword [esp + 0x24]
call edi
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x268]
movaps xmmword [esp + 0x20], xmm0
push eax
movq qword [esp + 0x34], xmm0
mov word [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
cmp word [esp + eax*2 + 0x266], 0x5c
jne 0x458b6c
mov word [esp + eax*2 + 0x266], cx
jmp 0x458b74
mov word [esp + eax*2 + 0x26a], cx
mov eax, dword [0x4def88]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x268]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xa68]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov word [esp + 0x30], ax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0
push esi
push 0x1008
push dword [esp + 0x24]
call edi
cmp esi, 0xffffffff
jne 0x458ac0
push 0
push 0
push 0x1004
push dword [esp + 0x24]
call edi
push eax
mov edx, 0x4ad9fc
mov ecx, 0x4b5168
call fcn.00477440
push eax
push 0x400
push 0x4d3718
call fcn.0040a3c0
add esp, 0x10
push 0x4d3718
push 1
push 0x40b
push dword [0x4deb68]
call edi
mov ecx, dword [esp + 0x126c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0048d925
mov esp, ebp
pop ebp
ret