Function at 0x1000aa5b
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov eax, 0x10043de2
call fcn.10029f1c
sub esp, 0x8c
push ebx
push esi
push edi
xor ecx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], ecx
lea edi, [ebp - 0x5c]
mov esi, str.NTPASSWORD
mov byte [ebp - 0xd], cl
push 2
cmp dword [eax + 4], 0x14
pop ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.LMPASSWORD
lea edi, [ebp - 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jne 0x1000abed
push 0xf0000000
push 1
push ecx
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1000abed
xor eax, eax
lea edi, [ebp - 0x3b]
xor ecx, ecx
mov byte [ebp - 0x3c], cl
stosd dword es:[edi], eax
push 0x10
pop esi
mov dword [ebp - 0x1c], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
push ecx
push ecx
push 0x8003
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
xor edi, edi
push edi
push esi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push dword [ebp - 0x14]
call esi
push edi
push 4
lea eax, [ebp + 0x18]
push eax
push dword [ebp - 0x14]
call esi
cmp byte [ebp + 0x1c], 0
lea ecx, [ebp - 0x68]
push edi
push 0xb
lea eax, [ebp - 0x5c]
cmove eax, ecx
push eax
push dword [ebp - 0x14]
call esi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x10
lea eax, [ebp - 0x2c]
push eax
push 0x6801
push 0x10
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0x14]
push 0x10
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
add eax, 0xd0
add eax, ecx
push eax
call fcn.100072bd
add esp, 0x1c
test al, al
je 0x1000abed
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x18]
call fcn.1000acdb
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x18]
call fcn.1000ad24
push edi
push edi
mov edi, 0x6601
lea eax, [ebp - 0x50]
push edi
push 8
pop esi
push esi
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.100072bd
add esp, 0x2c
test al, al
je 0x1000abe9
push 0
push 0
push edi
push esi
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.100072bd
add esp, 0x1c
test al, al
je 0x1000abe9
xor edi, edi
mov byte [ebp - 0xd], 1
push edi
push 0x10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.100229f6
add esp, 0x10
xor ebx, ebx
inc ebx
jmp 0x1000abfa
mov byte [ebp - 0xd], 0
push 0x100466b0
lea ecx, [ebp - 0x80]
call fcn.10003846
mov ecx, dword [ebp + 8]
push eax
call fcn.100085c7
test bl, 2
je 0x1000ac17
push 0
push 1
lea ecx, [ebp - 0x80]
and ebx, 0xfffffffd
call fcn.10003be3
pop edi
pop esi
test bl, 1
pop ebx
je 0x1000ac2e
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.10003be3
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret