Function at 0x4171c6
Capabilities:
Get disk information

Disassembly:
push 0xf0
mov eax, 0x437fe3
call fcn.004220d8
mov al, byte [ebp + 8]
mov esi, ecx
push str.CApplicationLicense::GetMachineInformation
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xe8], al
call fcn.00402035
lea edi, [esi + 0x1b84]
push dword [edi]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x41720c
push edi
mov ecx, esi
call fcn.00416806
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xe0]
push eax
push ebx
push ebx
push 0x43c940
mov dword [ebp - 0xe0], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp byte [ebp - 0xe8], bl
je 0x417272
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x41723e
lea eax, [ebp - 0x2c]
push dword [ebp - 0xe0]
push eax
push str._s___Volume_ID_lx
call fcn.00402064
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
jae 0x41725e
lea eax, [ebp - 0x2c]
push dword [ebp - 0xe0]
push eax
push str._s___2_Volume_ID_lx
call fcn.00402064
add esp, 0xc
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0xdc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 4], 2
cmp dword [esi + 0x1ad4], ebx
jne 0x4172d8
push 8
call fcn.00421b71
pop ecx
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4172cc
mov ecx, eax
call fcn.0041dd3f
jmp 0x4172ce
xor eax, eax
mov byte [ebp - 4], 2
mov dword [esi + 0x1ad4], eax
mov ecx, dword [esi + 0x1ad4]
cmp ecx, ebx
je 0x417328
push dword [ebp - 0xe8]
lea eax, [ebp - 0xec]
push eax
call fcn.0041ddd0
push eax
lea ecx, [ebp - 0xe4]
call fcn.0041471e
push dword [ebp - 0xec]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0xe4], ebx
je 0x417328
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41732c
xor eax, eax
jmp 0x417347
lea esi, [eax + eax]
mov eax, esi
call fcn.004230b0
mov eax, esp
push 3
push esi
push dword [ebp - 0xe4]
push eax
call fcn.0040590f
push eax
lea ecx, [ebp - 0x48]
call fcn.00402035
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.00415d3b
mov esi, dword [ebp - 0xfc]
pop ecx
pop ecx
cmp byte [ebp - 0xe8], bl
je 0x4173e2
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417380
lea eax, [ebp - 0x2c]
movzx ecx, byte [esi + 5]
push ecx
movzx ecx, byte [esi + 4]
push ecx
movzx ecx, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
push ecx
movzx ecx, byte [esi + 1]
push ecx
movzx ecx, byte [esi]
push ecx
push eax
push str._s___Best_MAC_Address_02x__02x__02x__02x__02x__02x
call fcn.00402064
mov eax, dword [ebp - 0x2c]
add esp, 0x20
cmp dword [ebp - 0x18], 0x10
jae 0x4173b7
lea eax, [ebp - 0x2c]
movzx ecx, byte [esi + 5]
push ecx
movzx ecx, byte [esi + 4]
push ecx
movzx ecx, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
push ecx
movzx ecx, byte [esi + 1]
push ecx
movzx ecx, byte [esi]
push ecx
push eax
push str._s___2_Best_MAC_Address_02x__02x__02x__02x__02x__02x
call fcn.00402064
add esp, 0x20
movzx edi, byte [esi + 3]
movzx eax, byte [esi + 2]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 5]
shl edi, 8
add edi, eax
movzx eax, byte [esi + 1]
add edi, eax
movzx eax, byte [esi + 4]
shl edi, 8
add edi, eax
movzx eax, byte [esi]
add edi, eax
cmp byte [ebp - 0xe8], bl
je 0x41742f
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417420
lea eax, [ebp - 0x2c]
push edi
push eax
push str._s___dwMACAddress_lx
call fcn.00402064
add esp, 0xc
or dword [ebp - 0xe0], edi
cmp byte [ebp - 0xe8], bl
je 0x41745d
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x417449
lea eax, [ebp - 0x2c]
push dword [ebp - 0xe0]
push eax
push str._s___final_value_lx
call fcn.00402064
add esp, 0xc
mov esi, dword [ebp - 0xe0]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401836
push dword [ebp - 0xe4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0xfc]
call fcn.00415994
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401836
mov eax, esi
lea esp, [ebp - 0x10c]
call fcn.0042215b
ret 4