Function at 0x430d00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x4cbbe8]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [0x4d7008]
push ebx
mov ebx, dword [esp + 0x110]
push ebp
push esi
push edi
push ebx
push eax
push str.BGPicturePattern
call fcn.004309f0
mov ecx, dword [0x4d7010]
push ebx
push ecx
push str.BGPictureBaseColor
mov dword [0x4d7248], eax
call fcn.00430820
add esp, 0x18
push ebx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x4d7020
push str.BGPictureFile
push 0x4a8d78
mov dword [0x4d7250], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x104
lea eax, [esp + 0x14]
push 0x4d7260
push eax
call fcn.0042f330
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
push ebx
mov ecx, 0xff
sub ecx, dword [0x4d7014]
push ecx
push str.BGPictureTone
push 0x4a8d78
call ebp
mov edx, 0xff
sub edx, eax
mov edi, 0x4a5588
mov esi, 0x4d7260
mov ecx, 1
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov dword [0x4d7014], edx
jne 0x430dd1
mov dword [0x4d7014], 0xff
push ebx
mov ecx, 0xff
sub ecx, dword [0x4d7494]
push ecx
push str.BGFadeTone
push 0x4a8d78
call ebp
mov edx, 0xff
sub edx, eax
mov eax, dword [0x4d7490]
push ebx
push eax
push str.BGFadeColor
mov dword [0x4d7494], edx
call fcn.00430820
mov ecx, dword [0x4d76c8]
add esp, 0xc
push ebx
push ecx
push str.BGReverseTextTone
push 0x4a8d78
mov dword [0x4d7490], eax
call ebp
mov edx, dword [0x4d7004]
push ebx
push edx
push str.BGSrc1Type
mov dword [0x4d76c8], eax
call fcn.00430a50
mov dword [0x4d7004], eax
mov eax, dword [0x4d7008]
push ebx
push eax
push str.BGSrc1Pattern
call fcn.004309f0
mov ecx, dword [0x4d700c]
push ebx
push ecx
push str.BGSrc1AntiAlias
mov dword [0x4d7008], eax
call fcn.004309b0
mov edx, dword [0x4d7014]
add esp, 0x24
push ebx
push edx
push str.BGSrc1Alpha
push 0x4a8d78
mov dword [0x4d700c], eax
call ebp
mov dword [0x4d7014], eax
mov eax, dword [0x4d7010]
push ebx
push eax
push str.BGSrc1Color
call fcn.00430820
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push ebx
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x4d7020
push str.BGSrc1File
push 0x4a8d78
mov dword [0x4d7010], eax
call esi
push 0x104
lea edx, [esp + 0x14]
push 0x4d7020
push edx
call fcn.0042f330
mov eax, dword [0x4d7484]
push ebx
push eax
push str.BGSrc2Type
call fcn.00430a50
mov ecx, dword [0x4d7488]
push ebx
push ecx
mov dword [0x4d7484], eax
push str.BGSrc2Pattern
call fcn.004309f0
mov edx, dword [0x4d748c]
push ebx
push edx
push str.BGSrc2AntiAlias
mov dword [0x4d7488], eax
call fcn.004309b0
add esp, 0x30
push ebx
mov dword [0x4d748c], eax
mov eax, dword [0x4d7494]
push eax
push str.BGSrc2Alpha
push 0x4a8d78
call ebp
mov ecx, dword [0x4d7490]
push ebx
push ecx
push str.BGSrc2Color
mov dword [0x4d7494], eax
call fcn.00430820
add esp, 0xc
push ebx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x4d74a0
push str.BGSrc2File
push 0x4a8d78
mov dword [0x4d7490], eax
call esi
push 0x104
lea eax, [esp + 0x14]
push 0x4d74a0
push eax
call fcn.0042f330
mov ecx, dword [0x4d7244]
push ebx
push ecx
push str.BGDestType
call fcn.00430a50
mov edx, dword [0x4d7248]
push ebx
push edx
push str.BGDestPattern
mov dword [0x4d7244], eax
call fcn.004309f0
mov dword [0x4d7248], eax
mov eax, dword [0x4d724c]
push ebx
push eax
push str.BGDestAntiAlias
call fcn.004309b0
mov ecx, dword [0x4d7250]
push ebx
push ecx
push str.BGDestColor
mov dword [0x4d724c], eax
call fcn.00430820
add esp, 0x3c
push ebx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x4d7260
push str.BGDestFile
push 0x4a8d78
mov dword [0x4d7250], eax
call esi
push 0x104
lea eax, [esp + 0x14]
push 0x4d7260
push eax
call fcn.0042f330
mov ecx, dword [0x4d76c8]
add esp, 0xc
push ebx
push ecx
push str.BGReverseTextAlpha
push 0x4a8d78
call ebp
push ebx
mov dword [0x4d76c8], eax
call fcn.00430a90
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046fa34
add esp, 0x108
ret