Function at 0x4a2886
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb2e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x10]
call fcn.00404900
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
add eax, 0x6e4
push eax
push 0
push str.ENSNINDICATOR
push 0x53e7c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x27a8], eax
push 0x44
push 0
mov edx, dword [ebp - 0x44]
add edx, 0x27ac
push edx
call fcn.004be790
add esp, 0xc
push 0x165
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x27f0
push eax
call fcn.004be790
add esp, 0xc
push 0x44
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2958
push ecx
call fcn.004be790
add esp, 0xc
push 0x231
push 0
mov edx, dword [ebp - 0x44]
add edx, 0x299c
push edx
call fcn.004be790
add esp, 0xc
push 0x44
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x2bd0
push eax
call fcn.004be790
add esp, 0xc
push 0x2b9
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2c14
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x27a8], 0
jne 0x4a2982
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e2e21
jmp 0x4a2bdb
mov dword [ebp - 0x40], 0
jmp 0x4a2994
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x10
jge 0x4a2a79
push 0x29
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0x40]
add edx, 1
push edx
push str.PHYSICALDRIVE_d_SN
lea eax, [ebp - 0x10]
push eax
call fcn.004d89f2
add esp, 0xc
mov ecx, dword [ebp - 0x44]
add ecx, 0x6e4
push ecx
push 0x15
lea edx, [ebp - 0x3c]
push edx
push 0x53e7e4
lea ecx, [ebp - 0x10]
call fcn.00404920
push eax
push 0x53e7ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x27b0], 1
push str.DEFAULT
lea edx, [ebp - 0x3c]
push edx
call fcn.004bf5f0
add esp, 8
test eax, eax
jne 0x4a2a28
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x27b0], 0
jmp 0x4a2a74
movsx edx, byte [ebp - 0x3c]
test edx, edx
jne 0x4a2a52
push 0x14
push 0x20
mov eax, dword [ebp - 0x40]
add eax, 1
imul eax, eax, 0x15
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax + 0x27f0]
push edx
call fcn.004be790
add esp, 0xc
jmp 0x4a2a74
push 0x14
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
imul ecx, ecx, 0x15
mov edx, dword [ebp - 0x44]
lea eax, [edx + ecx + 0x27f0]
push eax
call fcn.004bee30
add esp, 0xc
jmp 0x4a298b
mov dword [ebp - 0x40], 0
jmp 0x4a2a8b
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0x10
jge 0x4a2b23
push 0x29
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.004be790
add esp, 0xc
mov eax, dword [ebp - 0x40]
add eax, 1
push eax
push str.PHYSICALDRIVE_d_WWN
lea ecx, [ebp - 0x10]
push ecx
call fcn.004d89f2
add esp, 0xc
mov edx, dword [ebp - 0x44]
add edx, 0x6e4
push edx
push 0x21
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.00404920
push eax
push 0x53e814
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x3c]
test ecx, ecx
je 0x4a2b1e
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [eax + edx*4 + 0x295c], 1
push 0x20
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
add edx, 1
imul edx, edx, 0x21
mov eax, dword [ebp - 0x44]
lea ecx, [eax + edx + 0x299c]
push ecx
call fcn.004bee30
add esp, 0xc
jmp 0x4a2a82
mov dword [ebp - 0x40], 0
jmp 0x4a2b35
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x10
jge 0x4a2bcc
push 0x29
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x40]
add ecx, 1
push ecx
push str.PHYSICALDRIVE_d_MD
lea edx, [ebp - 0x10]
push edx
call fcn.004d89f2
add esp, 0xc
mov eax, dword [ebp - 0x44]
add eax, 0x6e4
push eax
push 0x29
lea ecx, [ebp - 0x3c]
push ecx
push 0
lea ecx, [ebp - 0x10]
call fcn.00404920
push eax
push str.SNINDICATOR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x3c]
test edx, edx
je 0x4a2bc7
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x2bd4], 1
push 0x28
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
add eax, 1
imul eax, eax, 0x29
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax + 0x2c14]
push edx
call fcn.004bee30
add esp, 0xc
jmp 0x4a2b2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004e2e21
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret