Function at 0x76647fba
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
xor esi, esi
xor ebx, ebx
cmp dword [edi], 0x18
mov dword [ebp - 4], esi
jb 0x76648168
cmp dword [edi + 0x14], esi
jne 0x76648168
push 0x114
call fcn.765fc04a
mov ebx, eax
test ebx, ebx
je 0x76648173
push 0xac
call fcn.765fc04a
mov esi, eax
test esi, esi
je 0x76648173
test byte [ebp + 0xc], 0x40
je 0x76648028
push dword [ebp + 0x14]
call fcn.76641d13
test eax, eax
je 0x76648028
and dword [ebp + 0xc], 0xffffffbf
movzx eax, byte [ebp + 0xc]
shr eax, 5
and eax, 2
lea ecx, [esi + 4]
mov dword [esi], eax
push ecx
lea eax, [edi + 8]
push ebx
mov dword [ebp + 0x10], eax
call fcn.765fc823
test eax, eax
je 0x76648173
mov edi, dword [edi + 4]
test edi, edi
je 0x76648058
mov dword [ebx + 0x20], edi
jmp 0x76648071
push 0
mov dword [ebx + 0x24], 1
call sym.CRYPT32.dll_I_CryptGetDefaultCryptProv
test eax, eax
mov dword [ebx + 0x20], eax
je 0x76648173
mov eax, dword [ebp + 8]
push dword [ebp + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
inc edi
mov dword [ebx + 0x30], 5
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x40], edi
call fcn.76641cba
inc eax
push eax
push dword [ebp + 0x14]
call fcn.765ff93c
push 0xc
push dword [ebp + 0x18]
mov dword [ebx + 0x44], eax
call fcn.765ff93c
mov dword [ebx + 0x78], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push edi
call fcn.765ff8c2
test eax, eax
jne 0x766480cd
push 0x80091002
jmp 0x7664816d
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 0x14]
push dword [ebx + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x76648173
push 0xc
call fcn.765e42f1
xor edi, edi
cmp eax, edi
pop ecx
je 0x76648101
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x76648103
xor eax, eax
cmp eax, edi
mov dword [ebx + 0x50], eax
je 0x76648145
push 0x18
call fcn.765e42f1
pop ecx
mov ecx, eax
cmp ecx, edi
je 0x7664812a
mov dword [ecx + 4], edi
mov dword [ecx], edi
xor eax, eax
lea edi, [ecx + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
jmp 0x7664812c
xor ecx, ecx
cmp ecx, edi
je 0x76648145
lea edi, [ecx + 8]
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebx + 0x50]
call fcn.765fd1dd
jmp 0x766481bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
push 0x8007000e
call edi
jmp 0x76648173
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [ebp - 4], eax
call fcn.765e40a0
test ebx, ebx
je 0x766481bd
mov ecx, dword [ebx + 0x110]
test ecx, ecx
je 0x76648197
push 1
call fcn.765fa5cf
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x766481a5
push 1
call fcn.765fb391
push dword [ebx + 0x44]
call fcn.765e40a0
push dword [ebx + 0x78]
call fcn.765e40a0
push ebx
call fcn.765e40a0
xor ebx, ebx
push dword [ebp - 4]
call fcn.765ffbbd
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x14