Function at 0x4454d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x414], 0
mov al, byte [0x526bb5]
mov byte [ebp - 0x204], al
push 0xfe
push 0
lea ecx, [ebp - 0x203]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x526bb6]
mov byte [ebp - 0x404], dl
push 0xfe
push 0
lea eax, [ebp - 0x403]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x526bb7]
mov byte [ebp - 0x104], cl
push 0xfe
push 0
lea edx, [ebp - 0x103]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x526bc0]
mov byte [ebp - 0x304], al
push 0xfe
push 0
lea ecx, [ebp - 0x303]
push ecx
call fcn.004b6780
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ca5db
add esp, 4
mov dword [ebp - 0x408], 0
jmp 0x4455ae
mov eax, dword [ebp - 0x408]
add eax, 1
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x408]
cmp ecx, dword [0x526bd4]
jge 0x4455ef
cmp dword [ebp - 0x414], 0
jne 0x4455ef
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax*4 + 0x18a0260]
push ecx
call fcn.004bab10
add esp, 8
test eax, eax
jne 0x4455ed
mov dword [ebp - 0x414], 1
jmp 0x44559f
cmp dword [ebp - 0x414], 0
jne 0x4458ab
push 0x4fef80
push 0x4fa370
push 0x4e413c
lea edx, [ebp - 0x404]
push edx
call fcn.004b6e08
add esp, 0x10
push 0x4e4144
mov eax, dword [ebp + 8]
push eax
push 0x4e4150
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b6e08
add esp, 0x10
mov edx, dword [ebp + 0x10]
push edx
call fcn.004b5f60
add esp, 4
test eax, eax
je 0x445666
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b5e60
add esp, 8
mov dword [ebp - 0x40c], 1
jmp 0x4456d9
mov dword [ebp - 0x410], 0
lea edx, [ebp - 0x404]
push edx
push 0xff
lea eax, [ebp - 0x104]
push eax
push 0x526bc1
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4e4158
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x40c], eax
push 0x4e4160
lea edx, [ebp - 0x104]
push edx
call fcn.004b5ff0
add esp, 8
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x4456d9
mov eax, dword [ebp - 0x410]
add eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b5e60
add esp, 8
cmp dword [ebp - 0x40c], 0
je 0x4458ab
lea edx, [ebp - 0x204]
push edx
push 0xff
lea eax, [ebp - 0x304]
push eax
push 0x526bc2
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4e4164
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x304]
push eax
call fcn.004bab10
add esp, 8
test eax, eax
je 0x4457b0
lea ecx, [ebp - 0x204]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4e416c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
jne 0x44579d
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x304]
push eax
push 0x4e4174
push 0
call fcn.004766d0
add esp, 0x10
lea ecx, [ebp - 0x304]
push ecx
push 0x4e4190
push 1
call fcn.004417b0
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x2ce
call fcn.004b6c11
add esp, 4
mov ecx, dword [0x526bd4]
mov dword [ecx*4 + 0x18a0260], eax
mov edx, dword [0x526bd4]
cmp dword [edx*4 + 0x18a0260], 0
jne 0x4457fb
push str.Out_of_memory_reading_records.ini
push 0x526bc3
push 0x4e41b8
push 0x4e41c8
call fcn.00458fb0
add esp, 0x10
jmp 0x4458ab
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [0x526bd4]
mov edx, dword [ecx*4 + 0x18a0260]
push edx
call fcn.004b5e60
add esp, 8
mov eax, dword [0x526bd4]
mov ecx, dword [eax*4 + 0x18a0260]
mov edx, 1
imul edx, edx, 0
mov byte [ecx + edx + 0x64], 0
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [0x526bd4]
mov edx, dword [ecx*4 + 0x18a0260]
add edx, 0x1c7
push edx
call fcn.004b5e60
add esp, 8
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [0x526bd4]
mov edx, dword [ecx*4 + 0x18a0260]
add edx, 0xc8
push edx
call fcn.004b5e60
add esp, 8
mov eax, dword [0x526bd4]
mov ecx, dword [eax*4 + 0x18a0260]
mov dword [ecx + 0x2c8], 0
mov edx, dword [0x526bd4]
mov eax, dword [0x526bd4]
mov dword [edx*4 + 0xf583a0], eax
mov ecx, dword [0x526bd4]
add ecx, 1
mov dword [0x526bd4], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret