Function at 0x43ade0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov al, byte [esp + 0x10]
lea ebp, [esp + 0x10]
test al, al
je 0x43ae1b
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x43ae13
mov eax, str._save_
mov edx, ebp
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43ae24
mov esi, dword [esp + 0x118]
mov edi, dword [esp + 0x120]
mov ebx, dword [esp + 0x11c]
push esi
push 0x104
lea edx, [esp + 0x18]
push edi
push edx
push str.SRAM
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str._state_
mov ecx, ebp
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43ae64
push esi
lea eax, [edi + 0x104]
push 0x104
lea ecx, [esp + 0x18]
push eax
push ecx
push str.State
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str._shot_
mov ecx, ebp
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43ae95
push esi
lea edx, [edi + 0x208]
push 0x104
lea eax, [esp + 0x18]
push edx
push eax
push str.Shot
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str.wave_
mov ecx, ebp
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43aec6
push esi
lea ecx, [edi + 0x30c]
push 0x104
lea edx, [esp + 0x18]
push ecx
push edx
push str.Wave
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str.movie_
mov ecx, ebp
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43aef7
push esi
lea eax, [edi + 0x618]
push 0x104
lea ecx, [esp + 0x18]
push eax
push ecx
push str.Movie
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str.genie_
mov ecx, ebp
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43af28
push esi
lea edx, [edi + 0x71c]
push 0x104
lea eax, [esp + 0x18]
push edx
push eax
push str.Genie
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str.cheat_
mov ecx, ebp
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x43af59
push esi
lea ecx, [edi + 0x820]
push 0x104
lea edx, [esp + 0x18]
push ecx
push edx
push str.NNNcht
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str.ips_
sub ebp, eax
mov cl, byte [eax]
mov byte [eax + ebp], cl
inc eax
test cl, cl
jne 0x43af88
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
lea eax, [edi + 0x924]
push 0x104
lea ecx, [esp + 0x18]
push eax
push ecx
push str.IPSPatch
push ebx
call ebp
push esi
lea edx, [edi + 0x410]
push 0x104
push edx
push 0x5167f8
push str.LastState
push ebx
call ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push 1
push str.UseSramPath
push ebx
call ebp
push esi
push 1
push str.UseStatePath
push ebx
mov byte [edi + 0xa28], al
call ebp
push esi
push 1
push str.UseShotPath
push ebx
mov byte [edi + 0xa29], al
call ebp
push esi
push 1
push str.UseWavePath
push ebx
mov byte [edi + 0xa2a], al
call ebp
push esi
push 1
push str.UseMoviePath
push ebx
mov byte [edi + 0xa2b], al
call ebp
push esi
push 1
push str.UseGeniePath
push ebx
mov byte [edi + 0xa2c], al
call ebp
push esi
push 1
push str.UseNNNchtPath
push ebx
mov byte [edi + 0xa2d], al
call ebp
push esi
push 1
push str.UseIPSPath
push ebx
mov byte [edi + 0xa2e], al
call ebp
mov byte [edi + 0xa2f], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret