Function at 0x40dad0
Capabilities:
Get disk information
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4aeda0
push 0x4684a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4bc4a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov word [ebp - 0x1f], ax
mov byte [ebp - 0x1d], al
push 0x400
push eax
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00466720
push 0x288
call fcn.004683a6
add esp, 0x10
mov ebx, eax
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x454], 0
lea edx, [ebp - 0x454]
push edx
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40db94
push ebx
call fcn.0046824f
mov eax, dword [ebp - 0x454]
push eax
call fcn.004683a6
add esp, 8
mov dword [ebp - 0x450], eax
mov ebx, eax
lea ecx, [ebp - 0x454]
push ecx
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x40dc28
test ebx, ebx
je 0x40dc28
lea ecx, [ecx]
movzx edx, byte [ebx + 0x199]
push edx
movzx eax, byte [ebx + 0x198]
push eax
movzx ecx, byte [ebx + 0x197]
push ecx
movzx edx, byte [ebx + 0x196]
push edx
movzx eax, byte [ebx + 0x195]
push eax
movzx ecx, byte [ebx + 0x194]
push ecx
push str._02X_02X_02X_02X_02X_02X
lea edx, [ebp - 0x3c]
push edx
call fcn.0046759c
add esp, 0x20
lea eax, [ebp - 0x3c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dbf6
sub eax, esi
lea edi, [ebp - 0x44c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dc06
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40dbb0
mov ebx, dword [ebp - 0x450]
push ebx
call fcn.0046824f
add esp, 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x458]
push eax
push 0
push 0
push 0x49d138
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call ebx
mov ecx, dword [ebp - 0x458]
push ecx
push 0x49d134
lea edx, [ebp - 0x3c]
push edx
call fcn.0046759c
add esp, 0xc
lea eax, [ebp - 0x3c]
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40dc70
sub eax, ecx
mov esi, ecx
lea edi, [ebp - 0x44c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dc82
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x458]
push eax
push 0
push 0
push 0x49d130
call ebx
mov ecx, dword [ebp - 0x458]
push ecx
push 0x49d134
lea edx, [ebp - 0x3c]
push edx
call fcn.0046759c
add esp, 0xc
lea eax, [ebp - 0x3c]
mov ecx, eax
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40dcd0
sub eax, ecx
mov esi, ecx
lea edi, [ebp - 0x44c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dce2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
xor esi, esi
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov word [ebp - 0x3f], ax
mov byte [ebp - 0x3d], al
mov dword [ebp - 0x450], eax
mov dword [ebp - 4], eax
mov eax, 0
cpuid
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov eax, 1
cpuid
mov dword [ebp - 0x450], edx
jmp 0x40dd46
mov dword [ebp - 4], 0xfffffffe
test esi, esi
jne 0x40dd9a
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x450]
push ecx
push str._u__s
lea edx, [ebp - 0x3c]
push edx
call fcn.0046759c
add esp, 0x10
lea eax, [ebp - 0x3c]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dd72
sub eax, edx
lea edi, [ebp - 0x44c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40dd82
mov ecx, eax
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00417380
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00466555
mov esp, ebp
pop ebp
ret