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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637882
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], eax
push 0x104
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x160]
push 0
push eax
mov dword [ebp - 0x180], 0
call fcn.005feb40
push 0x53
lea eax, [ebp - 0x160]
push 0x6468c4
push eax
call fcn.005dc5a0
mov ebx, 0xf
mov dword [ebp - 4], 0
push 0x288
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], ebx
mov byte [ebp - 0x178], 0
mov dword [ebp - 0x180], 2
call fcn.0061435b
push 0x40
mov edi, eax
mov dword [ebp - 0x17c], 0x288
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.005feb40
add esp, 0x28
lea eax, [ebp - 0x17c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x5dc747
push edi
call fcn.006140b6
push dword [ebp - 0x17c]
call fcn.0061435b
add esp, 8
mov edi, eax
lea eax, [ebp - 0x17c]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x5dc816
mov esi, edi
test edi, edi
je 0x5dc823
nop word [eax + eax]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x5c]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.005dc600
add esp, 0x20
lea ecx, [ebp - 0x5c]
mov eax, str.00_00_00_00_00_00
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5dc7e0
test dl, dl
je 0x5dc7dc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5dc7e0
add ecx, 2
add eax, 2
test dl, dl
jne 0x5dc7c0
xor eax, eax
jmp 0x5dc7e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5dc7f1
mov esi, dword [esi]
test esi, esi
jne 0x5dc770
jmp 0x5dc816
lea ecx, [ebp - 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5dc7f7
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.00417150
mov ebx, dword [ebp - 0x164]
test edi, edi
je 0x5dc823
push edi
call fcn.006140b6
add esp, 4
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x178]
cmp ebx, 0x10
cmovae eax, esi
push eax
call fcn.005df5c0
mov ecx, dword [ebp - 0x164]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
cmp ecx, 0x10
jb 0x5dc87b
inc ecx
mov eax, esi
cmp ecx, 0x1000
jb 0x5dc871
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dca68
push ecx
push esi
call fcn.005c385c
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x17c]
push eax
push 0
push 0
push 0x6ad0b0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x5dc925
mov edx, dword [ebp - 0x17c]
mov eax, edx
mov ecx, dword [0x6ce4b4]
shr eax, 0x1c
mov byte [ebp - 0x18], 0x2d
mov byte [ebp - 0x13], 0
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x1c], al
mov eax, edx
shr eax, 0x18
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x14
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x1a], al
mov eax, edx
shr eax, 0x10
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x19], al
mov eax, edx
shr eax, 0xc
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x17], al
mov eax, edx
shr eax, 8
and eax, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x16], al
mov eax, edx
shr eax, 4
and eax, 0xf
and edx, 0xf
movzx eax, byte [eax + ecx]
mov byte [ebp - 0x15], al
movzx eax, byte [edx + ecx]
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x178], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5dc946
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.00417150
mov edi, dword [ebp - 0x164]
lea eax, [ebp - 0x178]
mov esi, dword [ebp - 0x178]
cmp edi, 0x10
cmovae eax, esi
push eax
call fcn.005df5c0
add esp, 4
add ebx, eax
cmp edi, 0x10
jb 0x5dc9b2
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x5dc9a8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5dca6d
push ecx
push esi
call fcn.005c385c
add esp, 8
lea edx, [ebp - 0x160]
xor edi, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x5dc9c0
sub edx, ecx
jne 0x5dc9cf
xor edi, edi
jmp 0x5dc9f6
xor esi, esi
test edx, edx
jle 0x5dc9f6
nop word [eax + eax]
movzx ecx, byte [ebp + esi - 0x160]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, ecx
cmp esi, edx
jl 0x5dc9e0
lea eax, [ebx + 0x64]
add eax, edi
push 0
push eax
lea eax, [ebp - 0x160]
push 0x6429c0
push eax
call fcn.005dc5a0
mov ebx, dword [ebp - 0x184]
lea ecx, [ebp - 0x160]
add esp, 0x10
lea edx, [ecx + 1]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5dca32
sub ecx, edx
lea eax, [ebp - 0x160]
push ecx
push eax
mov ecx, ebx
call fcn.00417150
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
call fcn.00606fc9
call fcn.00606fc9
int3