Function at 0x4309e5
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push 0x4aadc2
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x430c52
mov dword [ebp - 0xc], eax
push 0x800000
push 0x40
call fcn.00401030
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.kernel32.dll_GlobalLock
mov edi, dword [ebp - 4]
mov esi, 0x45c93e
call fcn.0043068b
mov ax, 0xa0d
stosw word es:[edi], ax
mov ax, 0x31
mov byte [ebp - 0x5c], al
mov byte [ebp - 0x5b], ah
push 0x45cb12
push 0x40
lea eax, [ebp - 0x4c]
push eax
push 0x44ef8c
lea eax, [ebp - 0x5c]
push eax
push str.MakeFiles
call sub.kernel32.dll_GetPrivateProfileStringA
lea esi, [ebp - 0x4c]
dec esi
inc esi
mov al, byte [esi]
cmp al, 0x2e
jne 0x430a6a
mov eax, 0xa0d
mov dword [esi], eax
lea esi, [ebp - 0x4c]
call fcn.0043068b
push 0x800
push 0x4aaec2
push 0x7d1
push dword [ebp + 8]
call sub.user32.dll_GetDlgItemTextA
mov esi, 0x4aaec2
call fcn.0043068b
mov al, byte [edi - 1]
cmp al, 0xa
je 0x430aae
mov ax, 0xa0d
stosw word es:[edi], ax
mov esi, str._BEGINPRO__r_n
call fcn.0043068b
mov esi, str._BEGINDEF__r_n
call fcn.0043068b
push str.MakeDef
call fcn.0043098e
push str.MakeFiles
call fcn.0043098e
push str.Resource
call fcn.0043098e
push str.StringTable
call fcn.0043098e
push str.Accel
call fcn.0043098e
push str.VerInf
call fcn.0043098e
push str.Group
call fcn.0043098e
mov esi, str._ENDDEF__r_n
call fcn.0043068b
mov dword [ebp - 0x60], 1
push dword [ebp - 0x60]
call fcn.004275b1
or eax, eax
je 0x430b6f
push eax
push 0x45de5e
push 0x45cf22
call fcn.004010a7
pop eax
push eax
push 0x45cf22
call fcn.004010c5
push dword [ebp + 8]
call fcn.00430927
cmp eax, 0xffffffff
je 0x430b6f
add edi, eax
mov eax, edi
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
call sub.kernel32.dll_WriteFile
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp eax, 0x5e8
jl 0x430b19
mov esi, str._ENDPRO__r_n
call fcn.0043068b
mov eax, edi
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
call sub.kernel32.dll_WriteFile
mov edi, dword [ebp - 4]
push 0
push 0
push 0x18b
push 0x7d2
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
or eax, eax
je 0x430c33
mov dword [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x60]
push 0x189
push 0x7d2
push dword [ebp + 8]
call sub.user32.dll_SendDlgItemMessageA
push 0x45de5e
push 0x45cf22
call fcn.004010a7
lea eax, [ebp - 0x4c]
push eax
push 0x45cf22
call fcn.004010c5
push dword [ebp + 8]
call fcn.00430927
cmp eax, 0xffffffff
je 0x430c2c
add edi, eax
mov eax, edi
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp - 0xc]
call sub.kernel32.dll_WriteFile
mov edi, dword [ebp - 4]
pop eax
inc dword [ebp - 0x60]
dec eax
jne 0x430bc7
push dword [ebp - 0xc]
call sub.kernel32.dll_CloseHandle
push dword [ebp - 4]
call sub.kernel32.dll_GlobalUnlock
push dword [ebp - 4]
call sub.kernel32.dll_GlobalFree
mov eax, 0
jmp 0x430c88
push 0x44ece9
push 0x467936
call fcn.004010a7
push 0x4aadc2
push 0x467936
call fcn.004010c5
push 0x10
push 0x44f25f
push 0x467936
push 0
call sub.user32.dll_MessageBoxA
mov eax, 1
pop edi
leave
ret 4