Function at 0x52a7e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x573911
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x5e736c
mov dword [esp + 0x28], esi
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0xc8], ebx
mov eax, dword [esi + 0x70]
sub eax, 0x10
call fcn.00410660
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.HWID.ini
lea edi, [esp + 0x20]
mov byte [esp + 0xcc], 1
call fcn.00410c20
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52a9e0
mov dword [esp + 0x24], str.RT2500
mov dword [esp + 0x2c], ebx
xor ebp, ebp
lea esp, [esp]
push 0x7e
lea ecx, [esp + 0x42]
push 0
push ecx
mov word [esp + 0x48], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
add ebp, 1
push ebp
push str.DeviceID__d
lea edi, [esp + 0x28]
call fcn.00410c00
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 8
push edx
mov edx, dword [esp + 0x28]
push 0x40
lea eax, [esp + 0x44]
push eax
push 0x58c320
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
call fcn.0040ff50
mov byte [esp + 0xc8], 2
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 0xc]
test esi, esi
je 0x52a99d
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x52a925
mov ecx, esi
lea eax, [esp + 0x18]
call fcn.00410610
mov eax, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wcslwr_s]
add esp, 8
test esi, esi
jl 0x52aa63
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x52aa63
mov ebx, dword [esp + 0x28]
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
add ebx, 0x78
mov word [edx + esi*2], 0
call fcn.0052b8f0
mov byte [esp + 0xc8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x52a993
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x52a890
jmp 0x52a9c1
add eax, 0xfffffff0
mov byte [esp + 0xc8], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52a9c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x24], 0x20
add eax, 0x20
cmp eax, 0x140
mov dword [esp + 0x2c], eax
jb 0x52a88a
mov esi, dword [esp + 0x28]
mov esi, dword [esi + 0x80]
mov byte [esp + 0xc8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52aa0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc8], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x52aa39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00569ed6
add esp, 0xb8
ret
push 0x80070057
call fcn.0040fcd0
int3