Function at 0x465c40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dcb1
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x550144]
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.00456750
push str.HDD.db
lea ecx, [ebp - 0x358]
mov dword [ebp - 4], 0
call fcn.00455910
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.004e02e0
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 0x536d00
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 0x536d00
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 0x536d00
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 0x465d94
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x388]
call fcn.0044c0b0
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 0x465de2
sub ecx, edx
lea eax, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x370]
call fcn.0044c0b0
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 0x465e30
sub ecx, edx
lea eax, [ebp - 0x328]
push ecx
push eax
lea ecx, [ebp - 0x340]
call fcn.0044c0b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x378]
test edx, edx
je 0x465ee0
mov esi, dword [ebp - 0x360]
test esi, esi
je 0x465ee0
cmp dword [ebp - 0x330], 0
je 0x465ee0
lea ecx, [ebx + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x465e93
cmp dword [ebp - 0x374], 0x10
push edx
cmovae eax, dword [ebp - 0x388]
push eax
call fcn.0044c0b0
lea ecx, [ebx + 4]
lea eax, [ebp - 0x370]
cmp ecx, eax
je 0x465eb5
cmp dword [ebp - 0x35c], 0x10
push esi
cmovae eax, dword [ebp - 0x370]
push eax
call fcn.0044c0b0
lea ecx, [ebx + 0x1c]
lea eax, [ebp - 0x340]
cmp ecx, eax
je 0x465edc
cmp dword [ebp - 0x32c], 0x10
push dword [ebp - 0x330]
cmovae eax, dword [ebp - 0x340]
push eax
call fcn.0044c0b0
mov bl, 1
jmp 0x465ee2
xor bl, bl
mov edx, dword [ebp - 0x32c]
cmp edx, 0x10
jb 0x465f1c
mov ecx, dword [ebp - 0x340]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465f12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fdf
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp - 0x35c]
cmp edx, 0x10
jb 0x465f56
mov ecx, dword [ebp - 0x370]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465f4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fdf
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp - 0x374]
cmp edx, 0x10
jb 0x465f8c
mov ecx, dword [ebp - 0x388]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465f82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fdf
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp - 0x344]
cmp edx, 0x10
jb 0x465fc2
mov ecx, dword [ebp - 0x358]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465fb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fdf
push edx
push ecx
call fcn.004de50a
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.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
int3