Function at 0x465b20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a5d1
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x358]
call fcn.00456610
push str.HDD.db
lea ecx, [ebp - 0x358]
mov dword [ebp - 4], 0
call fcn.004557c0
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.004dcc10
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x358]
add esp, 0xc
cmp dword [ebp - 0x344], 0x10
cmovae eax, dword [ebp - 0x358]
push eax
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
push str.SerialNumber
push 0x532b70
call esi
cmp dword [ebp - 0x344], 0x10
lea eax, [ebp - 0x358]
cmovae eax, dword [ebp - 0x358]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push str.ModelNumber
push 0x532b70
call esi
cmp dword [ebp - 0x344], 0x10
lea eax, [ebp - 0x358]
cmovae eax, dword [ebp - 0x358]
push eax
push 0x104
lea eax, [ebp - 0x328]
push eax
push 0
push str.RevisionNumber
push 0x532b70
call esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x388], 0
mov dword [ebp - 0x378], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x374], 0xf
mov byte [ebp - 0x388], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465c74
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x388]
call fcn.0044c030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x370], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x35c], 0xf
mov byte [ebp - 0x370], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465cc2
sub ecx, edx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x370]
call fcn.0044c030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x340], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0xf
mov byte [ebp - 0x340], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465d10
sub ecx, edx
lea eax, [ebp - 0x328]
push ecx
push eax
lea ecx, [ebp - 0x340]
call fcn.0044c030
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x378]
test edx, edx
je 0x465dc0
mov esi, dword [ebp - 0x360]
test esi, esi
je 0x465dc0
cmp dword [ebp - 0x330], 0
je 0x465dc0
lea ecx, [ebx + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x465d73
cmp dword [ebp - 0x374], 0x10
push edx
cmovae eax, dword [ebp - 0x388]
push eax
call fcn.0044c030
lea ecx, [ebx + 4]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x465d95
cmp dword [ebp - 0x35c], 0x10
push esi
cmovae eax, dword [ebp - 0x370]
push eax
call fcn.0044c030
lea ecx, [ebx + 0x1c]
lea eax, [ebp - 0x340]
cmp ecx, eax
je 0x465dbc
cmp dword [ebp - 0x32c], 0x10
push dword [ebp - 0x330]
cmovae eax, dword [ebp - 0x340]
push eax
call fcn.0044c030
mov bl, 1
jmp 0x465dc2
xor bl, bl
mov edx, dword [ebp - 0x32c]
cmp edx, 0x10
jb 0x465dfc
mov ecx, dword [ebp - 0x340]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465df2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ebf
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp - 0x35c]
cmp edx, 0x10
jb 0x465e36
mov ecx, dword [ebp - 0x370]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465e2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ebf
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp - 0x374]
cmp edx, 0x10
jb 0x465e6c
mov ecx, dword [ebp - 0x388]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465e62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ebf
push edx
push ecx
call fcn.004dafca
add esp, 8
mov edx, dword [ebp - 0x344]
cmp edx, 0x10
jb 0x465ea2
mov ecx, dword [ebp - 0x358]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465e98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465ebf
push edx
push ecx
call fcn.004dafca
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
call fcn.004e002c
int3