Function at 0x6e911a30
Capabilities:
Encrypt data using des via winapi
Get session user name
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
lea eax, [ebp - 0x20]
xor esi, esi
mov dword [ebp - 4], edi
xor edi, edi
mov dword [esp + 0x10], eax
mov eax, 0x8004
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
call sub.advapi32.dll_CryptCreateHash
sub esp, 0x14
test eax, eax
jne 0x6e911ad0
test byte [0x6e928c40], 2
mov esi, eax
jne 0x6e911a90
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, str.CryptCreateHash_n
mov edx, str.load_encryption_key
mov dword [esp + 0xc], eax
mov ecx, 0x6e928c40
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], 1
call fcn.6e911740
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
mov esi, dword fs:[0x18]
mov dword [ebp - 0x1c], 0
mov edi, dword [esi + 0x34]
lea ecx, [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], 0
mov dword [ebp - 0x34], edi
call sub.advapi32.dll_GetUserNameA
sub esp, 8
test eax, eax
je 0x6e911b60
mov dword [esi + 0x34], edi
xor edi, edi
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, 0x13
mov dword [esp + 8], eax
mov eax, str.Im_hunting_wabbits
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
jne 0x6e911ba8
xor esi, esi
test byte [0x6e928c40], 2
jne 0x6e911b78
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_CryptDestroyHash
sub esp, 4
mov dword [esp], edi
call sym.crypt32.dll_CryptMemFree
mov ebx, dword [ebp - 0xc]
mov eax, esi
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
sub esp, 4
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x34], 0x7a
je 0x6e911c80
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [esi + 0x34], eax
jmp 0x6e911b03
mov dword [esp], 1
mov eax, str.CryptHashData_n
mov dword [esp + 0xc], eax
mov eax, str.load_encryption_key
mov dword [esp + 8], eax
mov eax, 0x6e928c40
mov dword [esp + 4], eax
call fcn.6e911740
jmp 0x6e911b38
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [edx]
mov dword [esp + 8], eax
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
je 0x6e911b2d
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
test ecx, ecx
je 0x6e911c0d
xor edx, edx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
je 0x6e911b2d
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov edx, dword [ebp + 0xc]
mov esi, 0x6603
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x30]
shl edx, 0x10
or edx, 1
mov dword [esp + 0xc], edx
call sub.advapi32.dll_CryptDeriveKey
sub esp, 0x14
test eax, eax
mov esi, eax
jne 0x6e911ce3
test byte [0x6e928c40], 2
je 0x6e911b38
mov edx, str.load_encryption_key
mov ecx, 0x6e928c40
mov dword [esp + 8], edx
mov eax, str.CryptDeriveKey_n
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], 1
call fcn.6e911740
jmp 0x6e911b38
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6e911b6a
mov dword [esp], eax
call sym.crypt32.dll_CryptMemAlloc
sub esp, 4
test eax, eax
mov edi, eax
je 0x6e911ced
mov byte [eax], 0
lea ecx, [ebp - 0x1c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x34], eax
xor eax, eax
sub esp, 8
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
je 0x6e911b2d
jmp 0x6e911b03
mov esi, 1
jmp 0x6e911b38
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x34], eax
jmp 0x6e911b03