Function at 0x446250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x526bd2]
mov byte [ebp - 0x104], al
push 0xfe
push 0
lea ecx, [ebp - 0x103]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x526bd3]
mov byte [ebp - 0x604], dl
push 0x1ff
push 0
lea eax, [ebp - 0x603]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x526cd7]
mov byte [ebp - 0x204], cl
push 0xfe
push 0
lea edx, [ebp - 0x203]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x526cdc]
mov byte [ebp - 0x404], al
push 0x1ff
push 0
lea ecx, [ebp - 0x403]
push ecx
call fcn.004b6780
add esp, 0xc
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x618], 0
push 0x4e435c
push 0x4fc4b8
push 0x4e4400
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x610]
push eax
push 1
push 1
lea ecx, [ebp - 0x618]
push ecx
lea edx, [ebp - 0x104]
push edx
push 0x4e4364
lea eax, [ebp - 0x204]
push eax
push 0
call fcn.00497900
add esp, 0x20
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
jne 0x446622
cmp dword [ebp - 0x610], 0
jne 0x446389
jmp 0x4465eb
lea ecx, [ebp - 0x104]
push ecx
call fcn.004b5f60
add esp, 4
cmp eax, 8
je 0x4463a2
jmp 0x4465eb
lea edx, [ebp - 0x104]
push edx
call fcn.004ca5db
add esp, 4
lea eax, [ebp - 0x104]
push eax
call fcn.0042be20
add esp, 4
push eax
lea ecx, [ebp - 0x604]
push ecx
call fcn.004b5e60
add esp, 8
lea edx, [ebp - 0x604]
push edx
call fcn.004196c0
add esp, 4
test eax, eax
jne 0x4463e8
jmp 0x4465eb
lea eax, [ebp - 0x604]
push eax
push 0x200
lea ecx, [ebp - 0x404]
push ecx
push 0x526cdd
push str.fix_version
push 0x4e4414
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x60c], eax
cmp dword [ebp - 0x60c], 0
je 0x446433
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x404]
test eax, eax
jne 0x446438
jmp 0x4465eb
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x608], 0
jmp 0x44645d
mov ecx, dword [ebp - 0x608]
add ecx, 1
mov dword [ebp - 0x608], ecx
mov edx, dword [ebp - 0x608]
cmp edx, dword [0x526bd4]
jge 0x4464e7
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x608]
mov edx, dword [ecx*4 + 0x18a0260]
push edx
call fcn.004bab10
add esp, 8
test eax, eax
jne 0x4464e2
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x608]
mov edx, dword [ecx*4 + 0x18a0260]
add edx, 0x1c7
push edx
call fcn.004bab10
add esp, 8
test eax, eax
je 0x4464d6
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x608]
mov edx, dword [ecx*4 + 0x18a0260]
add edx, 0x1c7
push edx
call fcn.004b5e60
add esp, 8
mov dword [ebp - 0x614], 1
jmp 0x4464e7
jmp 0x44644e
cmp dword [ebp - 0x614], 0
jne 0x4465eb
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 0x44653f
push str.Out_of_memory_reading_dyned.ini
push 0x526cde
push 0x4e4440
push 0x4e4450
call fcn.00458fb0
add esp, 0x10
jmp 0x446622
lea eax, [ebp - 0x104]
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 - 0x404]
push eax
mov ecx, dword [0x526bd4]
mov edx, dword [ecx*4 + 0x18a0260]
add edx, 0x1c7
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 + 0xc8], 0
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
lea edx, [ebp - 0x610]
push edx
push 1
push 0
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x104]
push ecx
push 0x4e4470
lea edx, [ebp - 0x204]
push edx
push 0
call fcn.00497900
add esp, 0x20
test eax, eax
je 0x44637b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret