Function at 0x409f90
Capabilities:
Get common file path
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bc70
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x464024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x428], edi
mov dword [0x46bd20], edi
call fcn.004024e0
mov ecx, eax
test ecx, ecx
je 0x40a2fd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x424], esi
xor ebx, ebx
mov dword [ebp - 4], 0
test edi, edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
sete bl
push ebx
push dword [0x46c13c]
mov dword [ebp - 0x42c], ebx
call edi
push ebx
push dword [0x46a5dc]
call edi
xor eax, eax
cmp dword [ebp - 0x428], 1
setne al
push eax
push dword [0x46a5ec]
call edi
push ebx
push dword [0x46a5c8]
call edi
push ebx
push dword [0x46c364]
call edi
push ebx
push dword [0x46b094]
call edi
push ebx
push dword [0x46a5b8]
call edi
push ebx
push dword [0x46a5dc]
call edi
xor ebx, ebx
cmp dword [ebp - 0x428], 2
sete bl
push ebx
push dword [0x46a5e8]
call edi
push ebx
push dword [0x46c144]
mov ebx, edi
call ebx
push 0
push dword [0x46c360]
call ebx
push 0
push dword [0x46a82c]
call ebx
push 0
push dword [0x46bd18]
call ebx
xor eax, eax
cmp dword [ebp - 0x428], 1
sete al
push eax
push dword [0x46b2ac]
call ebx
xor edi, edi
cmp dword [0x4689e4], edi
jle 0x40a0e3
mov esi, dword [ebp - 0x42c]
nop word [eax + eax]
push esi
push dword [edi*4 + 0x46a5f4]
call ebx
push esi
push dword [edi*4 + 0x46b4bc]
call ebx
inc edi
cmp edi, dword [0x4689e4]
jl 0x40a0c0
mov esi, dword [ebp - 0x424]
cmp dword [ebp - 0x428], 0
jne 0x40a2c2
push 0x46c158
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x218]
push str.version.ini
push 0x46c158
push str._s_s
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push str.0.000
push str.version
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x420]
push eax
push 0x46b098
call esi
push 0x46b098
push 0x46b2b0
push 0x449958
push 0x27
call fcn.00409750
add esp, 8
push eax
lea eax, [ebp - 0x218]
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0x46bd28
call esi
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x218]
push eax
push dword [0x46c13c]
call edi
push 0x45d990
push 0
push 0
mov esi, dword [0x46c13c]
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0x1c
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [0x46b094]
call ebx
push 1
push dword [0x46a5dc]
call ebx
push 0x449958
push 0x1d
call fcn.00409750
add esp, 8
push eax
push dword [0x46a5ec]
call edi
push 1
push dword [0x46a5b8]
call ebx
push 0x449958
push 0x1e
call fcn.00409750
add esp, 8
push eax
push dword [0x46a5c8]
call edi
push 0x449958
push 0x1f
call fcn.00409750
push eax
lea eax, [ebp - 0x424]
push str._a__s__a_
push eax
call fcn.004168c0
mov esi, dword [ebp - 0x424]
add esp, 0x14
cmp dword [esi - 4], 1
jle 0x40a26f
push dword [esi - 0xc]
lea ecx, [ebp - 0x424]
call fcn.004154d0
mov esi, dword [ebp - 0x424]
push esi
push dword [0x46c364]
call edi
push 0x449958
push 0xe
call fcn.00409750
add esp, 8
push eax
push dword [0x46a5b8]
call edi
push 0x449958
push 0
call fcn.00409750
add esp, 8
push eax
push dword [0x46a5dc]
call edi
xor edi, edi
cmp dword [0x4689e4], edi
jle 0x40a2c2
mov ecx, edi
call fcn.00409a90
inc edi
cmp edi, dword [0x4689e4]
jl 0x40a2b2
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40a2e1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402240
int3