Function at 0x47f900
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3750
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 8]
mov esi, 0x10000000
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
test ebx, ebx
je 0x47fb96
test ecx, ecx
je 0x47fb96
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
jne 0x47f99e
mov esi, 0x10000009
jmp 0x47fb9b
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x1c], 8
mov dword [edi + 0xb8], 0
mov dword [ebp - 0x20], 0
mov dword [eax], 0
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x38], ecx
cmovae eax, dword [ebp - 0x48]
cmp dword [ebp - 0x54], 0x3ffff
mov word [eax], cx
jne 0x47f9f9
lea eax, [edi + 0x1c4]
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x47f9f9
push 0xffffffffffffffff
push 0
push eax
call fcn.00409030
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x47fb3d
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0047fea0
mov esi, eax
cmp esi, 0x10000000
jne 0x47fb9b
mov ecx, edi
call fcn.0047f700
cmp dword [edi + 8], 0
je 0x47fb3a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
lea ebx, [eax + 1]
push ebx
call fcn.004a3e8e
mov ecx, eax
add esp, 4
mov dword [ebp - 0x54], ecx
test ecx, ecx
jne 0x47fa53
mov esi, 0x10000008
jmp 0x47fb9b
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push ebx
cmovae eax, dword [ebp - 0x48]
push eax
push ebx
push ecx
lea eax, [ebp - 0x68]
push eax
call fcn.004a8cf6
add esp, 0x14
push 0
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x47fa8d
mov esi, 0x10000001
jmp 0x47fb9b
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x4c]
push 0
push eax
push 0
push 2
push dword [edi + 8]
call ebx
cmp eax, 1
jne 0x47fad7
mov eax, dword [ebp - 0x4c]
inc eax
push eax
call fcn.004a3e8e
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x47fac5
mov esi, 0x10000008
jmp 0x47fb9b
push 0
lea ecx, [ebp - 0x4c]
push ecx
push eax
push 2
push dword [edi + 8]
call ebx
test eax, eax
jne 0x47fae1
mov esi, 0x10000001
jmp 0x47fb9b
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
jbe 0x47fb1d
mov edi, dword [ebp - 0x50]
nop dword [eax + eax]
movzx eax, byte [ebx + edi]
push eax
push str._02x
lea eax, [ebp - 0x18]
push 3
push eax
call fcn.00451f20
add esp, 0x10
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
call fcn.00408d10
inc ebx
cmp ebx, dword [ebp - 0x4c]
jb 0x47faf0
mov edi, dword [ebp - 0x60]
push dword [ebp - 0x50]
call fcn.004a2e5c
push dword [ebp - 0x54]
call fcn.004a2e5c
add esp, 8
mov ecx, edi
call fcn.0047f760
mov ebx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x58], 0
jne 0x47fb47
mov dword [ebx], ecx
jmp 0x47fb72
mov edx, dword [ebx]
lea eax, [edx - 1]
cmp ecx, eax
jbe 0x47fb59
mov dword [ebx], ecx
mov esi, 0x10000007
jmp 0x47fb9b
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
push edx
push dword [ebp - 0x58]
call fcn.004a9535
add esp, 0x10
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edi + 0xb8]
mov dword [ecx], eax
lea ecx, [edi + 0x1c4]
lea eax, [ebp - 0x30]
cmp ecx, eax
je 0x47fb9b
push 0xffffffffffffffff
push 0
push eax
call fcn.00409030
jmp 0x47fb9b
mov esi, 0x10000002
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x47fbb2
push 2
inc eax
push eax
push dword [ebp - 0x30]
call fcn.00402ff0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp ecx, 8
jb 0x47fbdd
push 2
inc ecx
push ecx
push dword [ebp - 0x48]
call fcn.00402ff0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret 0xc