Function at 0x459870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1268
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1264], eax
push esi
push edi
push 0x29e2
push dword [0x4e6030]
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 0x4598f5
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 0x4598c1
xor eax, eax
push 0x206
push eax
mov word [esp + 0x68], ax
lea eax, [esp + 0x6a]
push eax
call fcn.0048fb10
add esp, 0xc
mov ecx, 0x4bb470
test edi, edi
jne 0x459967
mov edx, 0x4b3be4
call fcn.00478640
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x60]
mov edx, 0x4b3e04
push 0x30
push eax
mov ecx, 0x4bb470
call fcn.00478640
push eax
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1264]
xor ecx, esp
call fcn.0048ea75
mov esp, ebp
pop ebp
ret
push edi
mov edx, 0x4b3c5c
call fcn.00478640
push eax
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.0040a420
add esp, 0x10
mov edx, 0x4b32e4
mov ecx, 0x4b3c0c
push 0x24
call fcn.00478640
push eax
lea eax, [esp + 0x68]
push eax
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x459951
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.0048fb10
add esp, 0xc
push 0x4e5e28
push 1
push str.Remove
push str.DFOPTIONS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
je 0x459a46
sub eax, 1
je 0x459a3c
sub eax, 1
jne 0x459a4e
push 0x4e5e28
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 0x459a4e
mov dword [esp + 0x14], 0x414
jmp 0x459a4e
mov dword [esp + 0x14], 0x454
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, 0xffffffff
je 0x459b66
nop dword [eax]
push 0xf000
dec esi
push esi
push 0x102c
push dword [esp + 0x24]
call edi
shr eax, 0xc
sub eax, 1
je 0x459b5d
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x270], ax
lea eax, [esp + 0x272]
push eax
call fcn.0048fb10
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 0x459b0c
mov word [esp + eax*2 + 0x266], cx
jmp 0x459b14
mov word [esp + eax*2 + 0x26a], cx
mov eax, dword [0x4e6030]
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 0x459a60
push 0
push 0
push 0x1004
push dword [esp + 0x24]
call edi
push eax
mov edx, 0x4b3c3c
mov ecx, 0x4bb470
call fcn.00478640
push eax
push 0x400
push 0x4da7b8
call fcn.0040a420
add esp, 0x10
push 0x4da7b8
push 1
push 0x40b
push dword [0x4e5c10]
call edi
mov ecx, dword [esp + 0x126c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0048ea75
mov esp, ebp
pop ebp
ret