Function at 0x43c9a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x43d0cc
push dword [ebp + 8]
lea ebx, [esi + 0x110]
push ebx
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x4c]
pop ecx
push 0x5901c8
push str._sRecord
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [ebp - 0x4c]
push 0x5b
push eax
call edi
add esp, 0x14
test eax, eax
je 0x43ca03
push 1
push 0x57eeac
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x5d
push eax
call edi
pop ecx
test eax, eax
pop ecx
je 0x43ca22
push 1
push 0x57eea8
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.RecordAmount
push eax
call edi
cmp eax, 0xffffffff
push ebx
je 0x43d06d
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.MusicRecord
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x43ca6f
push eax
lea ecx, [esi + 0x275d4]
call fcn.004940a4
push dword [ebp + 8]
call dword [sym.imp.NDSound.dll__DXSetMusicVolume_4]
push dword [ebp + 8]
jmp 0x43ca86
push 0x32
lea ecx, [esi + 0x275d4]
call fcn.004940a4
push 0x32
call dword [sym.imp.NDSound.dll__DXSetMusicVolume_4]
push 0x32
call fcn.0049c856
pop ecx
lea eax, [ebp - 0x4c]
push ebx
push 0xffffffffffffffff
push str.EffectRecord
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x43cab3
push eax
lea ecx, [esi + 0x2767c]
call fcn.004940a4
push dword [ebp + 8]
jmp 0x43cac2
push 0x50
lea ecx, [esi + 0x2767c]
call fcn.004940a4
push 0x50
call dword [sym.imp.NDSound.dll__DXSetSoundVolume_4]
push ebx
push 1
lea eax, [ebp - 0x4c]
push str.MusicSwitch
push eax
call edi
cmp eax, 1
mov dword [ebp + 8], eax
je 0x43cae2
and dword [ebp + 8], 0
push dword [ebp + 8]
lea ecx, [esi + 0x26fcc]
call fcn.004715c4
cmp dword [ebp + 8], 1
sete al
push eax
call fcn.0049c846
pop ecx
lea eax, [ebp - 0x4c]
push ebx
push 0xffffffffffffffff
push str.ShadowRecord
push eax
call edi
cmp eax, 0xffffffff
je 0x43cb16
mov dword [0x582b40], eax
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.RunModeRecord
push eax
call edi
cmp eax, 1
jne 0x43cb3c
push eax
lea ecx, [esi + 0x7d870]
call fcn.004715c4
mov ecx, esi
call fcn.004b0673
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.MapModeRecord
push eax
call edi
cmp eax, 1
jne 0x43cb62
push eax
lea ecx, [esi + 0x7d7c8]
call fcn.004715c4
mov ecx, esi
call fcn.0043bbf2
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.TalkModeRecord
push eax
call edi
test eax, eax
jne 0x43cb87
push eax
lea ecx, [esi + 0x7d720]
call fcn.004715c4
mov ecx, esi
call fcn.004b0673
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.PkModeRecord
push eax
call edi
push 1
push 3
mov ecx, 0x590140
cmp eax, 0xffffffff
call fcn.004bfb5e
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.ShiftRecord
push eax
call edi
cmp eax, 0xffffffff
je 0x43cbd5
test eax, eax
je 0x43cbd5
push 1
lea ecx, [esi + 0x27074]
call fcn.004715c4
lea ecx, [esi + 0x26cdc]
call fcn.00460942
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.KoShowRecord
push eax
call edi
cmp eax, 0xffffffff
je 0x43cbf1
test eax, eax
mov dword [0x582b58], eax
je 0x43cc09
push 1
lea ecx, [esi + 0x2711c]
call fcn.004715c4
lea ecx, [esi + 0x26cdc]
call fcn.00460979
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
push str.ChatColorRecord
push eax
call edi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x43ce21
cdq
mov ecx, 0x186a0
mov ebx, 0x58df80
idiv ecx
mov edi, str.Image36_d
test eax, eax
jle 0x43cc85
mov ecx, eax
imul ecx, ecx, 0xfffe7960
add dword [ebp + 8], ecx
dec eax
mov dword [esi + 0x4ab30], eax
mov ecx, ebx
push dword [esi + eax*4 + 0x4ab4c]
mov dword [ebp - 4], eax
push 0x7d7
call fcn.0049302f
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x4b6ec]
push 0
push 0
push eax
call fcn.0047808e
mov eax, dword [ebp + 8]
mov ecx, 0x2710
cdq
idiv ecx
mov ecx, eax
imul ecx, ecx, 0xffffd8f0
add dword [ebp + 8], ecx
dec eax
mov dword [esi + 0x4ab34], eax
mov ecx, ebx
push dword [esi + eax*4 + 0x4ab4c]
mov dword [ebp - 4], eax
push 0x7d9
call fcn.0049302f
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x4b934]
push 0
push 0
push eax
call fcn.0047808e
mov eax, dword [ebp + 8]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, eax
imul ecx, ecx, 0xfffffc18
add dword [ebp + 8], ecx
dec eax
mov dword [esi + 0x4ab38], eax
mov ecx, ebx
push dword [esi + eax*4 + 0x4ab4c]
mov dword [ebp - 4], eax
push 0x7d4
call fcn.0049302f
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x4b4a4]
push 0
push 0
push eax
call fcn.0047808e
mov eax, dword [ebp + 8]
push 0x64
cdq
pop ecx
idiv ecx
mov ecx, eax
imul ecx, ecx, 0xffffff9c
add dword [ebp + 8], ecx
dec eax
mov dword [esi + 0x4ab3c], eax
mov ecx, ebx
push dword [esi + eax*4 + 0x4ab4c]
mov dword [ebp - 4], eax
push 0x7d3
call fcn.0049302f
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x4b5c8]
push 0
push 0
push eax
call fcn.0047808e
mov eax, dword [ebp + 8]
cdq
push 0xa
pop ecx
idiv ecx
mov ecx, eax
imul ecx, ecx, 0xfffffff6
add dword [ebp + 8], ecx
dec eax
mov dword [esi + 0x4ab40], eax
mov ecx, ebx
push dword [esi + eax*4 + 0x4ab4c]
mov dword [ebp - 4], eax
push 0x7d1
call fcn.0049302f
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x4b810]
push 0
push 0
push eax
call fcn.0047808e
mov eax, dword [ebp + 8]
mov ecx, ebx
dec eax
mov dword [esi + 0x4ab44], eax
mov dword [ebp - 4], eax
push dword [esi + eax*4 + 0x4ab4c]
push 0x7d2
call fcn.0049302f
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x4ba58]
push 0
push 0
push eax
call fcn.0047808e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x54a2b0
push 0xffffffffffffffff
push str.InterfaceRecord
push str.Interface
call edi
cmp eax, 0xffffffff
je 0x43ce6d
mov dword [esi + 0x26d40], eax
inc eax
push eax
lea eax, [ebp - 0x2c]
push str.Button101_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [esi + 0x26e2c]
push eax
call fcn.00471274
lea ecx, [esi + 0x26cdc]
call fcn.004609b0
mov dword [ebp + 8], 1
push 1
lea ecx, [esi + 0x7b458]
pop eax
push eax
push dword [ebp + 8]
call fcn.00477645
test eax, eax
jne 0x43cf7c
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push str.QItem_dRecord
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esi + 0x110]
push eax
lea eax, [ebp - 0x5c]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x4c]
push eax
call edi
mov ecx, eax
cmp ecx, 0xffffffff
mov dword [ebp - 8], ecx
je 0x43cf6f
push 0xa
cdq
pop ebx
idiv ebx
xor ebx, ebx
sub edx, ebx
je 0x43cef4
dec edx
je 0x43cee9
dec edx
je 0x43cee3
dec edx
jne 0x43cf6f
push ebx
push ebx
push 3
jmp 0x43ceed
push ebx
push ebx
push 2
jmp 0x43ceed
push ebx
push ebx
push 1
push 3
push ebx
mov eax, ecx
jmp 0x43cf58
push 0x5911d8
mov ecx, 0x5911e8
mov dword [ebp - 4], ebx
call fcn.004f29ce
test eax, eax
jle 0x43cf6f
push dword [ebp - 4]
mov ecx, 0x590140
call fcn.004c7bbf
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x43cf2f
mov eax, dword [ebp - 8]
push 0xa
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], eax
je 0x43cf48
inc dword [ebp - 4]
push 0x5911d8
mov ecx, 0x5911e8
call fcn.004f29ce
cmp dword [ebp - 4], eax
jl 0x43cf0a
jmp 0x43cf6f
push 1
push ebx
push ebx
call fcn.004cae0f
push eax
mov eax, dword [ebp - 8]
push dword [ebp - 4]
push 0xa
cdq
pop ecx
idiv ecx
lea ecx, [esi + 0x7b458]
push eax
push dword [ebp + 8]
push 1
call fcn.0047766e
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xa
jle 0x43ce74
lea eax, [esi + 0x110]
push eax
lea eax, [ebp - 0x190]
push 0x132
push eax
push 0x58db80
lea eax, [ebp - 0x4c]
push str.TalkListRecord
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x190], 0
je 0x43d0cc
push 0
push 0
push 0x18b
push dword [esi + 0x2bce8]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x43d0cc
lea eax, [ebp - 0x190]
push 0x7c
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, eax
lea eax, [ebp - 0x190]
mov edi, ebx
sub edi, eax
lea eax, [ebp - 0x190]
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
and byte [ebp + edi - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0x18
and dword [ebp + 8], 0
mov dword [ebp - 8], eax
push 0x10
pop eax
cmp dword [ebp - 8], eax
jg 0x43d01e
mov eax, dword [ebp - 8]
cmp dword [ebp + 8], eax
jge 0x43d0cc
lea edi, [ebx + 1]
push 0x7c
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, eax
mov dword [ebp - 0xc], eax
sub ebx, edi
lea eax, [ebp - 0x1c]
push ebx
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
and byte [ebp + ebx - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x180
push dword [esi + 0x2bce8]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
jmp 0x43d013
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
push ebx
lea eax, [ebp - 0x4c]
push str._RecordAmount1
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
push 0x32
lea ecx, [esi + 0x275d4]
call fcn.004940a4
push 0x32
call dword [sym.imp.NDSound.dll__DXSetMusicVolume_4]
push 0x32
call fcn.0049c856
pop ecx
push 0x50
lea ecx, [esi + 0x2767c]
call fcn.004940a4
push 0x50
call dword [sym.imp.NDSound.dll__DXSetSoundVolume_4]
push 1
push 3
mov ecx, 0x590140
call fcn.004bfb5e
pop edi
pop esi
pop ebx
leave
ret 4