Function at 0x1003c330
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100971b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
push 0xf0000000
push 0x18
push 0
mov edi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], edi
mov esi, edx
push 0
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1003c3c7
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
je 0x1003c3be
push dword [ebp + 8]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1003c3ff
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], 0
mov ecx, edi
mov dword [edi + 0x10], 0
push 0
mov dword [edi + 0x14], 0xf
push 0x1002ec8f
mov byte [edi], 0
call fcn.1003ae40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x30], 4
push eax
push 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1003c3b3
mov ecx, dword [ebp - 0x1c]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x34], ecx
xor esi, esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x1003c4b0
cmp ecx, 0x7fffffff
ja 0x1003c735
cmp ecx, 0x1000
jb 0x1003c480
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x1003c73a
push eax
call fcn.10079af2
add esp, 4
test eax, eax
je 0x1003c73f
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1003c48b
push ecx
call fcn.10079af2
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x34]
push eax
push 0
push ebx
lea ecx, [ebx + eax]
mov dword [ebp - 0x2c], ebx
mov esi, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], esi
call fcn.1007b860
mov eax, esi
mov dword [ebp - 0x20], ebx
add esp, 0xc
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push ebx
push 2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1003c538
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
mov dword [edi], 0
mov ecx, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x1002ec8f
mov byte [edi], 0
call fcn.1003ae40
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003c722
sub esi, eax
cmp esi, 0x1000
jb 0x1003c531
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c73f
mov eax, ecx
push esi
push eax
jmp 0x1003c71a
push ecx
lea ecx, [ebp - 0xe0]
call fcn.1003d0a0
mov esi, ebx
mov byte [ebp - 4], 1
cmp esi, dword [ebp - 0x18]
je 0x1003c5c6
mov edi, dword [ebp - 0x18]
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xcc]
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0xa0], 0x30
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], 2
mov dword [ebp + eax - 0xbc], 0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xe0]
movzx eax, byte [esi]
push eax
call fcn.1003d2d0
inc esi
cmp esi, edi
jne 0x1003c560
mov edi, dword [ebp - 0x38]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov edx, dword [ebp - 0xa0]
mov eax, edx
and al, 0x22
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 0x3c], 4
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
cmp al, 2
je 0x1003c63e
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003c63e
mov eax, dword [ebp - 0xcc]
cmp ecx, dword [ebp - 0xa4]
cmovb ecx, dword [ebp - 0xa4]
mov edx, dword [eax]
sub ecx, edx
jmp 0x1003c66b
test dl, 4
jne 0x1003c665
mov eax, dword [ebp - 0xc0]
mov esi, dword [eax]
test esi, esi
je 0x1003c665
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x1003c66b
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x1003c678
push ecx
push edx
mov ecx, edi
call fcn.1003ae40
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x1002ed70
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
call fcn.1003cd10
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], 0x1002ee10
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe4], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x90], 0x1002ed90
call fcn.1007945f
add esp, 4
test ebx, ebx
je 0x1003c722
mov ecx, dword [ebp - 0x24]
mov eax, ebx
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1003c718
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c73f
push ecx
push ebx
call fcn.10079b22
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1003b860
call fcn.1003ad40
call fcn.1007e1df
int3