Function at 0x459c10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa80
mov ecx, dword [0x5b5574]
lea eax, [esp + 0x58]
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push ebp
push esi
push edi
push 0x20
push eax
push 0x52a
push ecx
call ebx
mov ebp, dword [esp + 0xa9c]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x68]
lea eax, [esp + 0x478]
push edx
push ebp
push 0x598d30
push eax
call edi
push 0x598a58
push ebp
call fcn.004d78c5
add esp, 0x18
test eax, eax
jne 0x459c84
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x478]
push 0x104
push ecx
push 0x4e9
push edx
call ebx
lea eax, [esp + 0x478]
push eax
call fcn.004d6713
push ebp
lea ecx, [esp + 0x70]
mov esi, eax
push str.._s
push ecx
inc esi
call fcn.004d5ee1
push 0x59e4d8
push ebp
call fcn.004d7652
add esp, 0x18
test eax, eax
jne 0x459cc9
push ebp
lea edx, [esp + 0x6c]
push str.._s_.LST
push edx
call fcn.004d5ee1
add esp, 0xc
lea eax, [esp + 0x68]
lea ecx, [esp + esi*2 + 0x478]
push eax
push 0x5980e0
push ecx
call edi
lea edx, [esp + 0x74]
push edx
call fcn.004d6713
lea eax, [esi + eax + 1]
push 0x5aae60
lea eax, [esp + eax*2 + 0x48c]
push eax
call edi
mov edx, dword [0x5b5574]
add esp, 0x18
lea ecx, [esp + 0x680]
push 0x104
push ecx
push 0x466
push edx
call ebx
lea eax, [esp + 0x68]
push 5
push eax
call fcn.00499400
mov eax, dword [esp + 0xaa8]
xor ebp, ebp
add esp, 8
cmp eax, ebp
mov word [esp + 0x270], bp
je 0x459de9
mov edx, dword [0x5b5574]
lea ecx, [esp + 0x680]
push 0x104
push ecx
push 0x47d
push edx
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x5b9260
lea eax, [esp + 0x274]
push 0x104
lea ecx, [esp + 0x70]
push eax
push ecx
push str.SaveDir
push 0x59e4b4
call esi
mov ebx, dword [esp + 0xaa4]
cmp ebx, 4
jne 0x459db8
push 0x5b9260
lea edx, [esp + 0x274]
push 0x104
lea eax, [esp + 0x70]
push edx
push eax
push str.SaveTxt
push 0x59a1bc
call esi
jmp 0x459e6c
cmp ebx, 5
jne 0x459e6c
push 0x5b9260
lea ecx, [esp + 0x274]
push 0x104
lea edx, [esp + 0x70]
push ecx
push edx
push str.CustomINI
push str.Batch
call esi
jmp 0x459e6c
mov ebx, dword [esp + 0xaa4]
cmp ebx, 5
jne 0x459e18
push 0x5b9260
lea eax, [esp + 0x274]
push 0x104
lea ecx, [esp + 0x70]
push eax
push ecx
push str.CustomINI
push str.Batch
jmp 0x459e66
cmp ebx, 0xd
jne 0x459e40
push 0x5b9260
lea edx, [esp + 0x274]
push 0x104
lea eax, [esp + 0x70]
push edx
push eax
push str.AddFileFolder
push str.AddWatermark
jmp 0x459e66
cmp ebx, 0xf
jne 0x459e6c
push 0x5b9260
lea ecx, [esp + 0x274]
push 0x104
lea edx, [esp + 0x70]
push ecx
push edx
push str.OpenDir
push 0x59ba00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x478]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xa98]
mov ecx, dword [0x5b550c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x888]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xaa0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp eax, ebp
lea ecx, [esp + 0x270]
lea edx, [esp + 0x680]
lea eax, [esp + 0x10]
mov word [esp + 0x888], bp
mov dword [esp + 0x10], 0x58
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov word [esp + 0x48], bp
mov word [esp + 0x4a], bp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x44], 0x88000c
push eax
jne 0x459fc5
call dword [0x5aae20]
test eax, eax
je 0x45a0ce
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0xa94]
push ecx
push esi
call fcn.004d631b
add esp, 8
cmp ebx, 5
jne 0x459f80
lea edx, [esp + 0x270]
push 3
push edx
push esi
call fcn.004c93e0
add esp, 0xc
lea eax, [esp + 0x270]
push 0x5b9260
push eax
push str.CustomINI
push str.Batch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa80
ret
cmp ebx, 0xd
jne 0x459fb5
lea ecx, [esp + 0x270]
push 3
push ecx
push esi
call fcn.004c93e0
add esp, 0xc
lea edx, [esp + 0x270]
push 0x5b9260
push edx
push str.AddFileFolder
push str.AddWatermark
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa80
ret
call dword [0x5aae24]
test eax, eax
je 0x45a0ce
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0xa94]
push ecx
push esi
call fcn.004d631b
mov edx, dword [esp + 0xaa4]
lea eax, [esp + 0x70]
push edx
push 0x59e450
push eax
call fcn.004d5ee1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004d722b
lea edx, [esp + 0x80]
push edx
call fcn.004d722b
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.004d6acd
add esp, 0x24
test eax, eax
jne 0x45a044
lea edx, [esp + 0x68]
push edx
call fcn.004d78fa
lea eax, [esp + 0x6c]
push eax
push esi
call fcn.004d62f1
add esp, 0xc
cmp ebx, 4
jne 0x45a089
lea ecx, [esp + 0x270]
push 3
push ecx
push esi
call fcn.004c93e0
add esp, 0xc
lea edx, [esp + 0x270]
push 0x5b9260
push edx
push str.SaveTxt
push 0x59a1bc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa80
ret
cmp ebx, 5
jne 0x45a0be
lea eax, [esp + 0x270]
push 3
push eax
push esi
call fcn.004c93e0
add esp, 0xc
lea ecx, [esp + 0x270]
push 0x5b9260
push ecx
push str.CustomINI
push str.Batch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa80
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa80
ret