Function at 0x40230f
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc64
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, 0x80000002
push 1
push esi
push 0x401138
lea ecx, [ebp - 0xb8]
call fcn.004029a9
push 0x401180
lea ecx, [ebp - 0xb8]
call fcn.00402b90
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push 0x401904
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x1cc]
push 0x4018fc
push eax
call ebx
add esp, 0x10
lea ecx, [ebp - 0x9c]
push edi
push 1
push 0x80000001
push 0x40115c
call fcn.004029a9
push edi
push 0x401198
lea ecx, [ebp - 0x9c]
call fcn.00402b42
mov dword [ebp - 8], eax
mov edi, 0x104
lea eax, [ebp - 0x854]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [ebp + 0xc], 2
jne 0x4023c8
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x750]
push 0x4018b4
push eax
call ebx
add esp, 0xc
jmp 0x402454
lea eax, [ebp - 0x64c]
push edi
push eax
call fcn.00401bc5
cmp dword [ebp + 0xc], 1
mov eax, 0x40186c
je 0x4023e5
mov eax, 0x401828
lea ecx, [ebp - 0x64c]
push ecx
push eax
lea eax, [ebp - 0x750]
push eax
call ebx
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x430]
push 0x401818
push eax
call ebx
add esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x402454
cmp dword [ebp - 8], 2
jne 0x402454
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x32c]
push edi
push eax
push 0x4011b0
push 0x4011c4
push 0x4017ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x32c]
push 0x4011d4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4024b7
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
and dword [ebp - 0x70], eax
lea eax, [ebp - 0x854]
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x750]
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x74], 0x640
mov dword [ebp - 0x68], 0x401710
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4024b7
cmp dword [ebp - 0x40], 0
je 0x4024b7
push 0x7530
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1cc]
push 0x401808
push eax
call fcn.00402ce8
test eax, eax
mov dword [ebp - 0xc], eax
je 0x4024d2
and byte [eax], 0
push 0x401368
lea eax, [ebp - 0x228]
push 0x401320
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x28]
push 0
push 1
push esi
push eax
call fcn.004029a9
push 0x401390
push 0x401360
lea ecx, [ebp - 0x28]
call fcn.00402ad5
lea eax, [ebp - 0x1cc]
lea ecx, [ebp - 0x28]
push eax
push 0x4013b8
call fcn.00402ad5
push 0x401804
push 0x401400
lea ecx, [ebp - 0x28]
call fcn.00402ad5
lea eax, [ebp - 0x1cc]
push 0x12e
push eax
mov esi, 0x401410
lea eax, [ebp - 0x548]
push esi
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x548]
lea ecx, [ebp - 0x28]
push eax
push 0x4013f0
call fcn.00402ad5
lea eax, [ebp - 0x1cc]
push 0x12d
push eax
lea eax, [ebp - 0x548]
push esi
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x548]
lea ecx, [ebp - 0x28]
push eax
push 0x4013f8
call fcn.00402ad5
mov esi, 0x4017f0
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x28]
push eax
push 0x4013c0
movsw word es:[edi], word [esi]
call fcn.00402ad5
push 0x401678
push 0x4013dc
lea ecx, [ebp - 0x28]
call fcn.00402ad5
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x28]
push eax
push 0x4013e8
call fcn.00402ad5
mov esi, 0x401250
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x958]
push dword [esi + 4]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x958]
push dword [ebp - 8]
push eax
push dword [esi]
push dword [ebp - 0x28]
call fcn.004022ae
add esi, 8
cmp esi, 0x401320
jl 0x4025da
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40261d
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x40261d
mov byte [eax], 0x20
push 0x4011f0
lea eax, [ebp - 0xc64]
push dword [ebp - 4]
push 0x4018fc
push eax
call ebx
add esp, 0x10
mov edi, 0x104
lea eax, [ebp - 0xa5c]
push edi
push eax
lea eax, [ebp - 0xc64]
push eax
call fcn.00401bf1
test eax, eax
je 0x40271e
lea eax, [ebp - 0xb60]
push edi
push eax
push 0x4011f0
call fcn.00401bf1
test eax, eax
je 0x40271e
lea eax, [ebp - 0xb60]
push eax
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40271e
cmp dword [ebp + 8], esi
je 0x40275b
cmp dword [ebp + 0x10], esi
jne 0x40275b
push 0x4011e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x40275b
lea ecx, [ebp - 0x32c]
push edi
push ecx
push 0x7d0
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x430]
push eax
call ebx
add esp, 0xc
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffff9c
push 0xc00000
push 0x4017ec
push 0x4017e4
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x3c]
push 0x40010
push eax
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40275b
cmp dword [ebp + 0xc], esi
je 0x402729
cmp dword [ebp + 0xc], 2
jne 0x40275b
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x80], 0x44
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1cc]
push dword [ebp - 4]
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x28]
call fcn.004029d8
lea ecx, [ebp - 0x9c]
call fcn.004029d8
lea ecx, [ebp - 0xb8]
call fcn.004029d8
pop edi
pop esi
pop ebx
leave
ret 0xc