Function at 0x4044e0
Capabilities:
Get common file path
Get startup folder
Read .ini file

Disassembly:
sub esp, 0x524
mov eax, dword [0x434004]
xor eax, esp
mov dword [esp + 0x51c], eax
push ebx
push ebp
push esi
push edi
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
mov ebx, ecx
call fcn.00422b50
push 0x208
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.00422b50
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 0x18
push 0x104
lea edx, [esp + 0x21c]
push edx
push 1
push ebx
call esi
lea eax, [esp + 0x218]
push eax
call fcn.0041ed47
add esp, 4
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push 2
push ebx
mov dword [0x436f30], eax
call esi
lea edx, [esp + 0x218]
push edx
call fcn.0041ed47
add esp, 4
push 0x104
push 0x437140
push 3
push ebx
mov dword [0x436f34], eax
call esi
push 0x104
push 0x436f38
push 5
push ebx
call esi
push 0x104
push 0x43703c
push 6
push ebx
call esi
push 0x104
push 0x437348
push 7
push ebx
call esi
push 0x104
push 0x43744c
push 8
push ebx
call esi
push 0x104
push 0
push 0x437244
call fcn.00422b50
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
push 0
push 0x1a
lea eax, [esp + 0x18]
push eax
push 0
call esi
test eax, eax
jge 0x404618
push 0
push 0x23
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
test eax, eax
jge 0x404618
push 0x20
push 0x42d90c
push 0x42d920
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4048b9
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
je 0x4046f5
lea edi, [esp + 0x10]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x404638
mov ax, word [0x42d970]
mov word [edi], ax
mov eax, 0x437348
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404652
lea edi, [esp + 0x10]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404664
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push ebx
call ebp
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x428]
push 0x42d614
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x42d974
lea edx, [esp + 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
lea eax, [esp + 0x420]
push eax
push 0x104
push 0x437244
push 0x42d8dd
push 0x42d97c
push 0x42d988
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x404814
push 0
push 5
push 0x437244
push 0
call esi
test eax, eax
jl 0x404814
mov edi, 0x437244
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x404712
mov dx, word [0x42d970]
mov eax, 0x437348
mov word [edi], dx
mov esi, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404730
mov edi, 0x437244
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404743
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x437244
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x404763
mov eax, 0x43744c
mov word [edi], dx
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404777
mov edi, 0x437244
sub eax, esi
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404790
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x437244
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4047b0
mov eax, 0x437140
mov word [edi], dx
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4047c4
mov edi, 0x437244
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4047d7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x437244
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4047f7
mov ecx, dword [0x42d990]
mov dx, word [0x42d994]
mov dword [eax], ecx
mov word [eax + 4], dx
cmp byte [0x437244], 0
jne 0x404881
push 0x104
lea eax, [esp + 0x21c]
push eax
push ebx
call ebp
lea ecx, [esp + 0x218]
push ecx
lea ebx, [esp + 0x14]
call fcn.0041e3d0
mov eax, ebx
add esp, 4
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x404846
mov edx, dword [0x42d990]
mov cx, word [0x42d994]
mov dword [eax], edx
mov word [eax + 4], cx
xor eax, eax
jmp 0x404870
mov cl, byte [esp + eax + 0x10]
mov byte [eax + 0x437244], cl
add eax, 1
test cl, cl
jne 0x404870
push 0x437244
call fcn.0041e370
add esp, 4
cmp eax, 2
je 0x4048b4
mov edi, 0x437244
call fcn.0041e280
test eax, eax
jne 0x4048b4
push 0x30
push 0x42d998
push 0x42d9a8
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
mov ecx, dword [esp + 0x52c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041eaa8
add esp, 0x524
ret