Function at 0x4029c0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x30c
mov eax, dword [0x43e0c0]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push str.Set_Up_Start
mov ebx, ecx
push 0x431dd0
lea ebp, [ebx + 0xc1c]
push str._s_t_s
push ebp
mov dword [esp + 0x18], ebx
call fcn.00408c80
add esp, 0x10
cmp dword [ebx + 0xa8], 0
jne 0x402a34
push 0x431db0
push 0x431dd0
push str._s_t_s
push ebp
call fcn.00408c80
add esp, 0x10
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.00419953
add esp, 0x30c
ret
push 0x100
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00419c30
add esp, 0xc
add ebx, 0x2b4
mov eax, ebx
mov ecx, ebx
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402a52
push esi
push edi
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402a68
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402a87
mov ecx, dword [str.inf_sysoc.inf]
mov edx, dword [0x431da4]
mov dword [eax], ecx
mov ecx, dword [0x431da8]
mov dword [eax + 4], edx
mov dx, word [0x431dac]
mov dword [eax + 8], ecx
mov cl, byte [0x431dae]
mov word [eax + 0xc], dx
lea edx, [esp + 0x14]
push edx
push str.sysoc.inf
push 0x431dd0
push str._s_t_s_t_s
push ebp
mov byte [eax + 0xe], cl
call fcn.00408c80
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push 0x100
lea ecx, [esp + 0x11c]
push ecx
push 0x431660
push str.Signature
push str.Version
call esi
lea edx, [esp + 0x114]
push edx
push str._Version__Signature
push 0x431dd0
push str._s_t_s_t_s
push ebp
call fcn.00408c80
add esp, 0x14
lea eax, [esp + 0x14]
push eax
push 0x100
lea ecx, [esp + 0x11c]
push ecx
push 0x431660
push str.DriverVer
push str.Version
call esi
lea edx, [esp + 0x114]
push edx
push str._Version__DriverVer
push 0x431dd0
push str._s_t_s_t_s
push ebp
call fcn.00408c80
add esp, 0x14
push 0x104
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00419c30
lea edi, [esp + 0x20]
add esp, 0xc
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402b96
mov edx, dword [0x431d38]
mov eax, ebx
mov dword [edi], edx
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402bb0
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402bc4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402be3
mov ecx, dword [str.inf_sysoc.inf__u:]
mov edx, dword [0x431d28]
mov ebx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [0x431d2c]
mov dword [eax + 4], edx
mov edx, dword [0x431d30]
mov dword [eax + 8], ecx
mov cx, word [0x431d34]
mov dword [eax + 0xc], edx
mov dl, byte [0x431d36]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebx + 0xac]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402c30
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402c44
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebx + 0x1b0]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x402c64
lea edi, [esp + 0x14]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x402c78
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]
call fcn.00401250
test eax, eax
jne 0x402cc6
lea eax, [esp + 0x14]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x402ca0
mov ecx, dword [str.__x__q]
mov dx, word [0x431d20]
mov dword [eax], ecx
mov cl, byte [0x431d22]
mov word [eax + 4], dx
mov byte [eax + 6], cl
push str.Set_Up
push 0x431dd0
push str._s_t_s
push ebp
call fcn.00408c80
lea edi, [esp + 0x24]
add esp, 0x10
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x402ce5
mov edx, dword [0x431d0c]
push str.Run_Start
push 0x431dd0
push str._s_t_s
push ebp
mov dword [edi], edx
call fcn.00408c80
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push str.sysocmgr.exe
lea ecx, [esp + 0x21c]
push ecx
lea ecx, [ebx + 0x528]
call fcn.00401080
test eax, eax
pop edi
pop esi
jne 0x402d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x431cd0
push str._s___d
push ebp
call fcn.00408c80
add esp, 0x10
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.00419953
add esp, 0x30c
ret
mov ecx, dword [esp + 0x310]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00419953
add esp, 0x30c
ret