Function at 0x1005f010
Capabilities:
Get common file path
Get disk information
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
push ebx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor eax, eax
push 0x80
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1005f23f
lea ecx, [ebp - 0xe0]
xor edx, edx
push esi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005f047
sub ecx, esi
je 0x1005f07d
cmp byte [ebp + edx - 0xe0], 0x5c
jne 0x1005f064
mov byte [ebp + edx - 0xdf], 0
lea eax, [ebp - 0xe0]
inc edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005f070
sub eax, esi
cmp edx, eax
jb 0x1005f052
push 0x105
lea eax, [ebp - 0x464]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x105
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1005f23e
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
je 0x1005f23e
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x158]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x35c]
push str._d_s_d
push eax
call fcn.10050480
push 0x40
push 0
push ebx
call fcn.10063ea0
lea edi, [ebp - 0x35c]
add esp, 0x20
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x1005f100
sub edi, ecx
xor eax, eax
movups xmm0, xmmword [str.klzmopqyswuabcdef]
mov ax, word [0x100a149c]
lea esi, [edi + 1]
push esi
mov dword [ebp - 8], 0
xor ebx, ebx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x1c], ax
call fcn.10061c92
lea ecx, [ebp - 0x35c]
mov dword [ebp - 0x10], eax
push ecx
push esi
push eax
call fcn.10070864
add esp, 0x10
lea eax, [ebp - 8]
push 0xf0000000
push 1
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push ebx
push edi
mov edi, dword [ebp - 0x10]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x10
push eax
lea eax, [ebp - 0x60]
push eax
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov esi, dword [ebp - 0xc]
xor edx, edx
test esi, esi
je 0x1005f1d7
nop word [eax + eax]
movzx ecx, byte [ebp + edx - 0x60]
lea ebx, [ebx + 2]
mov eax, ecx
inc edx
shr eax, 4
and ecx, 0xf
movzx eax, byte [ebp + eax - 0x2c]
mov byte [ebp + ebx - 0x52], al
movzx eax, byte [ebp + ecx - 0x2c]
mov byte [ebp + ebx - 0x51], al
cmp edx, esi
jb 0x1005f1b0
lea ecx, [ebp - 0x50]
mov edx, 0x20
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005f1e2
sub ecx, esi
cmp ecx, edx
jbe 0x1005f20d
nop
lea ecx, [ebp - 0x50]
mov byte [ebp + edx - 0x50], 0
inc edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005f200
sub ecx, esi
cmp edx, ecx
jb 0x1005f1f0
lea eax, [ebp - 0x50]
push eax
push 0x40
push dword [ebp - 0x18]
call fcn.10070864
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 1
push edi
call fcn.10061b63
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret