Function at 0x4f9f80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab3f1
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x4b0], eax
lea ecx, [ebp - 0x4a0]
mov eax, dword [ebp + 0x10]
push str.CBaseInfoResBasicIni::Read_PrnInfo_Type
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4a4], esi
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4fa02b
test byte [ecx + 0x1c], 1
je 0x4fa02b
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5db828
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2a
call fcn.00401840
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x440], 0
push eax
push 0x5c6930
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.004035d0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5c6930
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.004035d0
push 0x410
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00571c00
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x420]
push 0x208
push eax
call fcn.005746e6
add esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, edi
push 1
push 0x208
push eax
call fcn.004fce40
mov dword [ebp - 0x4a8], eax
test eax, eax
jne 0x4fa23f
cmp dword [edi + 0x18], 8
lea ecx, [edi + 4]
jb 0x4fa0ea
mov ecx, dword [ecx]
push ecx
push 0
push str.TypeID
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x4b0]
push 0
push str.TypeName
mov dword [ecx], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x468]
mov ecx, edi
push eax
call fcn.00408820
mov esi, eax
lea eax, [ebp - 0x450]
cmp eax, esi
je 0x4fa160
mov ecx, eax
call fcn.00403570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x450], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x440], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x4fa1a0
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa196
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa402
push edx
push ecx
call fcn.0056deb6
add esp, 8
push 0
push str.TypePath
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00408820
mov esi, eax
lea eax, [ebp - 0x438]
cmp eax, esi
je 0x4fa1f9
mov ecx, eax
call fcn.00403570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x438], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x428], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x4fa239
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa22f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa407
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov esi, dword [ebp - 0x4a4]
mov ecx, dword [ebp - 0x4ac]
test ecx, ecx
je 0x4fa270
test esi, esi
je 0x4fa270
push 0x104
push 0
push ecx
call fcn.00571c00
push 0x104
push 0
push esi
call fcn.00571c00
mov ecx, dword [ebp - 0x4ac]
add esp, 0x18
cmp dword [ebp - 0x440], 0x104
ja 0x4fa2cb
cmp dword [ebp - 0x428], 0x104
ja 0x4fa2cb
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmovae eax, dword [ebp - 0x450]
push eax
push ecx
call esi
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push dword [ebp - 0x4a4]
call esi
mov esi, dword [ebp - 0x4a8]
jmp 0x4fa2da
mov esi, 0x80010001
mov dword [0x6183ec], 1
mov byte [ebp - 0x49c], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x4fa322
test byte [ecx + 0x1c], 1
je 0x4fa322
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5db828
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x2b
call fcn.004018a0
add esp, 0x10
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x4fa362
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa358
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa40c
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x4fa3bb
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa3b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa411
push edx
push ecx
call fcn.0056deb6
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.0040a570
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0x10
call fcn.00574908
call fcn.00574908
call fcn.00574908
call fcn.00574908
int3