Function at 0x465cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d891
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.00456780
push str.HDD.db
lea ecx, [ebp - 0x358]
mov dword [ebp - 4], 0
call fcn.00455930
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.004dfec0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push 0
push eax
call fcn.004dfec0
add esp, 0xc
lea eax, [ebp - 0x328]
push 0x104
push 0
push eax
call fcn.004dfec0
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 0x536b10
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 0x536b10
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 0x536b10
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 0x465e04
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 0x465e52
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 0x465ea0
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 0x465f50
mov esi, dword [ebp - 0x360]
test esi, esi
je 0x465f50
cmp dword [ebp - 0x330], 0
je 0x465f50
lea ecx, [ebx + 0x34]
lea eax, [ebp - 0x388]
cmp ecx, eax
je 0x465f03
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 0x465f25
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 0x465f4c
cmp dword [ebp - 0x32c], 0x10
push dword [ebp - 0x330]
cmovae eax, dword [ebp - 0x340]
push eax
call fcn.0044c0b0
mov bl, 1
jmp 0x465f52
xor bl, bl
mov edx, dword [ebp - 0x32c]
cmp edx, 0x10
jb 0x465f8c
mov ecx, dword [ebp - 0x340]
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 0x46604f
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x35c]
cmp edx, 0x10
jb 0x465fc6
mov ecx, dword [ebp - 0x370]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465fbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46604f
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x374]
cmp edx, 0x10
jb 0x465ffc
mov ecx, dword [ebp - 0x388]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x465ff2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46604f
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x344]
cmp edx, 0x10
jb 0x466032
mov ecx, dword [ebp - 0x358]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466028
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46604f
push edx
push ecx
call fcn.004de0ea
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.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
int3