Function at 0x49ca70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b5f
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.004048c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
add eax, 0x6e4
push eax
push 0
push str.ENSNINDICATOR
push 0x537538
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x268c], eax
push 0x44
push 0
mov edx, dword [ebp - 0x44]
add edx, 0x2690
push edx
call fcn.004b9030
add esp, 0xc
push 0x165
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x26d4
push eax
call fcn.004b9030
add esp, 0xc
push 0x44
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x283c
push ecx
call fcn.004b9030
add esp, 0xc
push 0x231
push 0
mov edx, dword [ebp - 0x44]
add edx, 0x2880
push edx
call fcn.004b9030
add esp, 0xc
push 0x44
push 0
mov eax, dword [ebp - 0x44]
add eax, 0x2ab4
push eax
call fcn.004b9030
add esp, 0xc
push 0x2b9
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2af8
push ecx
call fcn.004b9030
add esp, 0xc
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x268c], 0
jne 0x49cb6c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd6c1
jmp 0x49cdc5
mov dword [ebp - 0x40], 0
jmp 0x49cb7e
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x10
jge 0x49cc63
push 0x29
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004b9030
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.004d3292
add esp, 0xc
mov ecx, dword [ebp - 0x44]
add ecx, 0x6e4
push ecx
push 0x15
lea edx, [ebp - 0x3c]
push edx
push 0x537558
lea ecx, [ebp - 0x10]
call fcn.004048e0
push eax
push 0x537560
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x2694], 1
push str.DEFAULT
lea edx, [ebp - 0x3c]
push edx
call fcn.004b9e90
add esp, 8
test eax, eax
jne 0x49cc12
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x2694], 0
jmp 0x49cc5e
movsx edx, byte [ebp - 0x3c]
test edx, edx
jne 0x49cc3c
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 + 0x26d4]
push edx
call fcn.004b9030
add esp, 0xc
jmp 0x49cc5e
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 + 0x26d4]
push eax
call fcn.004b96d0
add esp, 0xc
jmp 0x49cb75
mov dword [ebp - 0x40], 0
jmp 0x49cc75
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0x10
jge 0x49cd0d
push 0x29
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.004b9030
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.004d3292
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.004048e0
push eax
push 0x537588
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx ecx, byte [ebp - 0x3c]
test ecx, ecx
je 0x49cd08
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [eax + edx*4 + 0x2840], 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 + 0x2880]
push ecx
call fcn.004b96d0
add esp, 0xc
jmp 0x49cc6c
mov dword [ebp - 0x40], 0
jmp 0x49cd1f
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0x10
jge 0x49cdb6
push 0x29
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004b9030
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.004d3292
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.004048e0
push eax
push str.SNINDICATOR
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movsx edx, byte [ebp - 0x3c]
test edx, edx
je 0x49cdb1
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 0x2ab8], 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 + 0x2af8]
push edx
call fcn.004b96d0
add esp, 0xc
jmp 0x49cd16
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004dd6c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret