Function at 0x52fbd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60dfed
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.005ddc60
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1088], ecx
mov eax, dword [ebp + 8]
xor bl, bl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x1074], 0
cmp eax, 0xffffffff
jne 0x52fc2c
xor al, al
jmp 0x52fe30
xorps xmm0, xmm0
movlpd qword [ebp - 0x1038], xmm0
movlpd qword [ebp - 0x1030], xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x107c]
mov edx, dword [0x6b9640]
push str.cd.dat
call fcn.0048e450
add esp, 4
push dword [eax]
push 1
push str.NTFSSCSICTL
push str.Scan
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [ebp - 0x1074], 0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [ebp - 0x107c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x52fca4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x52fe28
mov esi, dword [ebp - 0x1078]
lea eax, [ebp - 0x1084]
push 0
push eax
push 0
push 0
push 0x10
lea eax, [ebp - 0x1038]
push eax
push 0x900e7
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x52fe28
push 0
lea eax, [ebp - 0x1084]
push eax
push 0x38
lea eax, [ebp - 0x1070]
push eax
push 0
push 0
push 0x900f4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x52fe28
mov eax, dword [edi]
xorps xmm0, xmm0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp - 0x104c]
push 0
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1074]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
movlpd qword [ebp - 0x1028], xmm0
push eax
push 0x18
lea eax, [ebp - 0x1028]
movlpd qword [ebp - 0x1020], xmm0
push eax
push 0x900b3
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x52fe1c
nop dword [eax + eax]
mov eax, dword [ebp - 0x1088]
cmp byte [eax + 0x40], 0
jne 0x52fe1c
mov ebx, dword [ebp - 0x1074]
lea esi, [ebp - 0x1008]
add ebx, 0xfffffff8
je 0x52fdcc
mov eax, dword [edi + 4]
xor edx, edx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x1080], ecx
mov dword [ebp - 0x107c], edx
cmp dword [edi + 8], eax
je 0x52fdb5
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [edi + 4], 8
jmp 0x52fdc4
lea ecx, [ebp - 0x1080]
push ecx
push eax
mov ecx, edi
call fcn.00532370
mov eax, dword [esi]
add esi, eax
sub ebx, eax
jne 0x52fd91
mov eax, dword [ebp - 0x1010]
mov esi, dword [ebp - 0x1078]
mov dword [ebp - 0x1028], eax
mov eax, dword [ebp - 0x100c]
push 0
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x1074]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push 0x18
lea eax, [ebp - 0x1028]
push eax
push 0x900b3
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x52fd70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
sete bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 8