Function at 0x407270
Capabilities:
Create directory
Get common file path
Read .ini file

Disassembly:
sub esp, 0xd10
mov eax, dword [0x463610]
xor eax, esp
mov dword [esp + 0xd0c], eax
mov eax, dword [esp + 0xd14]
push ebx
push ebp
push esi
push edi
push 0x104
mov esi, ecx
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov ebx, edx
call fcn.00436760
add esp, 0xc
push 0x104
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4072c2
sub eax, edx
jne 0x407301
mov eax, dword [str.c:windows_system32]
mov ecx, dword [0x457724]
mov edx, dword [0x457728]
mov dword [esp + 0x18], eax
mov eax, dword [0x45772c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x457730]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jmp 0x40734f
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407308
sub eax, edx
cmp byte [esp + eax + 0x17], 0x5c
je 0x407333
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407321
sub eax, edx
cmp byte [esp + eax + 0x17], 0x2f
jne 0x40734f
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407340
sub eax, edx
mov byte [esp + eax + 0x17], cl
xor eax, eax
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x31c], cl
add eax, 1
test cl, cl
jne 0x407351
mov eax, dword [0x457680]
mov edx, dword [str.Program_Files]
mov ecx, dword [0x457684]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [esp + 0x323], eax
mov dword [esp + 0x31f], edx
mov dx, word [0x457688]
push 0
lea eax, [esp + 0x320]
push eax
mov dword [esp + 0x32f], ecx
mov word [esp + 0x333], dx
call ebp
lea eax, [esp + 0x31c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4073b4
sub eax, edx
push ebx
mov edi, eax
call fcn.0040b180
xor edx, edx
mov ecx, 0xc8
div ecx
mov eax, edx
shl eax, 4
sub eax, edx
lea ecx, [eax*2 + str.Installing]
push ecx
lea edx, [esp + edi + 0x324]
push 0x45768c
push edx
call fcn.00432a00
add esp, 0x10
push 0
lea eax, [esp + 0x320]
push eax
call ebp
lea eax, [esp + 0x31c]
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407410
sub eax, edi
push str.TestSystem.ini
lea ecx, [esp + eax + 0x320]
push 0x45768c
push ecx
call fcn.00432a00
push 0x200
lea edx, [esp + 0x92c]
push 0
push edx
call fcn.00436760
push 0x200
lea eax, [esp + 0x538]
push 0
push eax
call fcn.00436760
push 0x200
lea ecx, [esp + 0x744]
push 0
push ecx
call fcn.00436760
add esp, 0x30
xor eax, eax
jmp 0x407480
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x91c], cl
add eax, 1
test cl, cl
jne 0x407480
lea edx, [esp + 0x91c]
push 0x5c
push edx
call fcn.00432fa0
add esp, 8
test eax, eax
je 0x4074b9
add eax, 1
push str.Web_tipw.gif
push eax
call fcn.00432a00
add esp, 8
xor eax, eax
jmp 0x4074c0
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x51c], cl
add eax, 1
test cl, cl
jne 0x4074c0
lea eax, [esp + 0x51c]
push 0x5c
push eax
call fcn.00432fa0
add esp, 8
test eax, eax
je 0x4074f9
add eax, 1
push str.Help_time.chm
push eax
call fcn.00432a00
add esp, 8
xor eax, eax
jmp 0x407500
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x71c], cl
add eax, 1
test cl, cl
jne 0x407500
lea ecx, [esp + 0x71c]
push 0x5c
push ecx
call fcn.00432fa0
add esp, 8
test eax, eax
je 0x407539
add eax, 1
push str.systemPEN.DRV
push eax
call fcn.00432a00
add esp, 8
xor eax, eax
jmp 0x407540
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0xb1c], cl
add eax, 1
test cl, cl
jne 0x407540
lea edx, [esp + 0xb1c]
push 0x5c
push edx
call fcn.00432fa0
add esp, 8
test eax, eax
je 0x407579
add eax, 1
push str.Symbolsdllmgcm83.IA64.pdb
push eax
call fcn.00432a00
add esp, 8
mov ebp, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi], 0
mov dword [ebp], 0
cmp dword [esi], 0
jg 0x4076eb
lea eax, [esp + 0x31c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.erwq
push str.dsfd
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
add esp, 4
cmp dword [esi], 0
jg 0x4076e1
lea eax, [esp + 0x91c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.poio
push str.sdfa
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [esi]
add esp, 4
test eax, eax
jg 0x4076d6
lea eax, [esp + 0x51c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.sdfe
push str.dfsd
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [esi]
add esp, 4
test eax, eax
jg 0x4076d6
lea eax, [esp + 0x71c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.njuk
push str.bhyg
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [esi]
add esp, 4
test eax, eax
jg 0x4076d6
lea eax, [esp + 0xb1c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.njuk
push str.bhyg
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [esi]
add esp, 4
test eax, eax
jle 0x4076e1
push 0xffffffffffffffff
push eax
call fcn.00407860
add esp, 8
cmp dword [ebp], 0
jg 0x40783a
lea eax, [esp + 0x31c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.erwq1
push str.dsfd
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
mov esi, ebp
call fcn.00407180
add esp, 4
cmp dword [ebp], 0
jg 0x40783a
lea eax, [esp + 0x91c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.poio1
push str.sdfa
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [ebp]
add esp, 4
test eax, eax
jg 0x40782f
lea eax, [esp + 0x51c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.sdfe1
push str.dfsd
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [ebp]
add esp, 4
test eax, eax
jg 0x40782f
lea eax, [esp + 0x71c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.njuk1
push str.bhyg
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [ebp]
add esp, 4
test eax, eax
jg 0x40782f
lea eax, [esp + 0xb1c]
push eax
push 0x200
lea ecx, [esp + 0x124]
push ecx
push str.NULL
push str.njuk1
push str.bhyg
call edi
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.00407180
mov eax, dword [ebp]
add esp, 4
test eax, eax
jle 0x40783a
push eax
push 0xffffffffffffffff
call fcn.00407860
add esp, 8
mov ecx, dword [esp + 0xd1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0043197e
add esp, 0xd10
ret