Function at 0x43bdb0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x3c]
push esi
push 0
push str.InfoStatusBar
push edi
call ebp
mov ebx, dword [esp + 0x40]
push esi
push 0
push str.WindowTopMost
push edi
mov byte [ebx + 0x12d], al
call ebp
push esi
push 0x3f800000
push str.zoom_size
push edi
mov byte [ebx + 0x12e], al
call ebp
push esi
push 0
push str.black_and_white
push edi
mov dword [ebx + 0x128], eax
call ebp
push esi
push 0
push str.show_more_than_8_sprites
push edi
mov byte [ebx], al
call ebp
push esi
push 0
push str.show_all_scanlines
push edi
mov byte [ebx + 1], al
call ebp
push esi
push 0
push str.draw_overscan
push edi
mov byte [ebx + 2], al
call ebp
push esi
push 0
push str.fullscreen_on_load
push edi
mov byte [ebx + 3], al
call ebp
push esi
push 0
push str.fullscreen_scaling
push edi
mov byte [ebx + 4], al
call ebp
push esi
push 0
push str.calculate_palette
push edi
mov byte [ebx + 5], al
call ebp
mov byte [ebx + 6], al
push esi
lea eax, [ebx + 9]
push 0x104
push eax
push 0x5167f8
push str.szPaletteFile
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x86
push str.tint
push edi
call ebp
push esi
push 0x9d
push 0x4a16b0
push edi
mov byte [ebx + 0x10d], al
call ebp
push esi
push 0x140
push str.fullscreen_width
push edi
mov byte [ebx + 0x10e], al
call ebp
lea ecx, [eax + eax*2]
push esi
shr ecx, 2
push ecx
push str.fullscreen_height
push edi
mov dword [ebx + 0x120], eax
call ebp
push esi
push 8
push str.fullscreen_BitDepth
push edi
mov dword [ebx + 0x124], eax
call ebp
push esi
lea edx, [esp + 0x14]
push 0x21
push edx
push 0x5167f8
push str.device_GUID
push edi
mov byte [ebx + 0x12f], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x43bf40
lea eax, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0043a020
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add esp, 4
add edx, 2
mov byte [ebx + ecx + 0x110], al
inc ecx
cmp ecx, 0x10
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
jb 0x43bf0b
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
jmp 0x43bf5a
xor edx, edx
mov dword [ebx + 0x110], edx
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x118], edx
mov dword [ebx + 0x11c], edx
push esi
push 0
push str.UseStretchBlt
push edi
call ebp
push esi
push 0
push str.EmulateTVScanline
push edi
mov byte [ebx + 7], al
call ebp
push esi
push 0
push str.WindowModeUseDdraw
push edi
mov byte [ebx + 8], al
call ebp
push esi
push 0
push str.WindowModeUseDdrawOverlay
push edi
mov byte [ebx + 0x13c], al
call ebp
push esi
push 0
push str.FullscreenModeUseNewMode
push edi
mov byte [ebx + 0x13d], al
call ebp
push esi
push 0
push str.FullscreenModeUseDefRefreshRate
push edi
mov byte [ebx + 0x13e], al
call ebp
push esi
push 0
push str.FullscreenModeBackBuffM
push edi
mov byte [ebx + 0x13f], al
call ebp
push esi
push 0
push str.WindowModeBackBuffM
push edi
mov byte [ebx + 0x140], al
call ebp
push esi
push 0
push str.DtvSize
push edi
mov byte [ebx + 0x141], al
call ebp
push esi
push 0
push str.ScreenShotUseBmp
push edi
mov byte [ebx + 0x12c], al
call ebp
push esi
push 0
push str.FullscreenModeNotUseFlip
push edi
mov byte [ebx + 0x148], al
call ebp
push esi
push 0
push str.DisableSpriteClipping
push edi
mov byte [ebx + 0x142], al
call ebp
push esi
push 0
push str.DisableBackGClipping
push edi
mov byte [ebx + 0x149], al
call ebp
push esi
push 0
mov byte [ebx + 0x14a], al
push str.WindowDDMode_NotuseGDI
push edi
call ebp
push esi
push 0
push str.WindowMode_2xsai
push edi
mov byte [ebx + 0x143], al
call ebp
push esi
push 0
push str.FullscreenMode_2xsai
push edi
mov byte [ebx + 0x144], al
call ebp
push esi
push 0
push str.WindowMode_2xsaiType
push edi
mov byte [ebx + 0x145], al
call ebp
push esi
push 0
push str.FullscreenMode_2xsaiType
push edi
mov byte [ebx + 0x146], al
call ebp
push esi
push bind
push str.WindowPos_x
push edi
mov byte [ebx + 0x147], al
call ebp
push esi
push bind
push str.WindowPos_y
push edi
mov dword [ebx + 0x134], eax
call ebp
pop edi
pop esi
mov dword [ebx + 0x138], eax
pop ebp
pop ebx
add esp, 0x24
ret