Function at 0x5c0900
Capabilities:
Hash data via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f88e
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x6d3438]
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 ebx, ecx
mov dword [ebp - 0xb0], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0xa8], 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
push 0
sub eax, edx
mov dword [ebp - 4], 0
push eax
push edx
push dword [ebx]
mov dword [ebp - 0xb4], edi
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x5c0e2c
push 0
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0
push eax
push 0
push 2
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x5c0e69
mov ebx, dword [ebp - 0xac]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x5c0a1d
cmp ebx, 0x7fffffff
ja 0x5c0ea0
cmp ebx, 0x1000
jb 0x5c09f6
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x5c0ea5
push eax
call fcn.0060862c
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x5c0eaa
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x5c09ff
push ebx
call fcn.0060862c
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], eax
add eax, ebx
push ebx
mov dword [edi + 8], eax
mov esi, dword [edi]
push 0
push esi
call fcn.0060a8e0
lea eax, [esi + ebx]
add esp, 0xc
mov dword [edi + 4], eax
push 0
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
push eax
push dword [edi]
mov eax, dword [ebp - 0xb0]
push 2
mov dword [ebp - 0xa8], 1
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x5c0a6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x677cc8
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0042a5a0
mov dword [ebp - 4], 3
jmp 0x5c0e85
mov dword [ebp - 0x150], 0x666e3c
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push 0
push 0
lea eax, [ebp - 0x14c]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0xa8], 3
call fcn.004ded80
mov eax, dword [ebp - 0x150]
push 8
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x154], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0060862c
mov esi, eax
add esp, 4
test esi, esi
je 0x5c0b2c
push 1
mov byte [ebp - 4], 6
call fcn.005f3b84
add esp, 4
mov dword [esi + 4], eax
jmp 0x5c0b2e
xor esi, esi
lea eax, [ebp - 0x148]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x144]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 4
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 7
mov eax, dword [eax + 4]
or dword [ebp + eax - 0x13c], 4
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffffebf
or eax, 0x80
mov dword [ecx], eax
lea ecx, [ebp - 0x13c]
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0xb8], ecx
cmp eax, ecx
je 0x5c0ca8
mov edi, eax
nop dword [eax]
mov bl, byte [edi]
lea eax, [ebp - 0x38]
push 0
push 2
push eax
call fcn.005f580d
add esp, 0xc
lea ecx, [ebp - 0x150]
mov esi, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x150]
mov eax, dword [eax + 4]
add eax, ecx
mov ecx, esi
push eax
call dword [0x659730]
call esi
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x150]
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x110], 0x30
movzx eax, bl
push eax
call fcn.004e2370
inc edi
cmp edi, dword [ebp - 0xb8]
jne 0x5c0c40
mov edi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x110]
xor ebx, ebx
and al, 0x22
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 8
mov edx, 0xf
mov dword [ebp - 0x18], ebx
xorps xmm0, xmm0
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x28], bl
mov dword [ebp - 0xa8], 0xb
movq qword [ebp - 0x34], xmm0
cmp al, 2
je 0x5c0d06
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
test ecx, ecx
je 0x5c0d06
mov eax, dword [ebp - 0x13c]
cmp ecx, dword [ebp - 0x114]
cmovb ecx, dword [ebp - 0x114]
mov esi, dword [eax]
sub ecx, esi
jmp 0x5c0d41
test byte [ebp - 0x110], 4
jne 0x5c0d3b
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x5c0d3b
mov eax, dword [ebp - 0x140]
mov esi, dword [eax]
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax]
sub ecx, esi
add ecx, dword [ebp - 0xb4]
jmp 0x5c0d41
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x5c0d55
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0042f5a0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 7
mov dword [ebp - 0xa8], 7
mov eax, dword [edi]
lea esi, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edx, 0x10
mov dword [edi + 4], eax
lea eax, [ebp - 0x28]
cmovae eax, ecx
mov byte [ebp - 4], 9
add ebx, eax
cmp edx, 0x10
cmovae esi, ecx
cmp esi, ebx
je 0x5c0dc1
nop word [eax + eax]
mov cl, byte [esi]
mov eax, dword [edi + 4]
mov byte [ebp - 0xa1], cl
cmp eax, dword [edi + 8]
je 0x5c0da7
mov byte [eax], cl
inc dword [edi + 4]
jmp 0x5c0db6
lea ecx, [ebp - 0xa1]
push ecx
push eax
mov ecx, edi
call fcn.00487980
inc esi
cmp esi, ebx
jne 0x5c0d90
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x5c0def
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c0de5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c0eaa
push edx
push ecx
call fcn.00608415
add esp, 8
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004df1f0
mov eax, edi
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.00608185
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x677cac
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0042a5a0
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa0]
call fcn.005c0130
push 0x6c67cc
lea eax, [ebp - 0xa0]
push eax
call fcn.0060a2f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x677cc8
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.0042a5a0
mov dword [ebp - 4], 2
push esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x7c]
call fcn.005c0130
push 0x6c67cc
lea eax, [ebp - 0x7c]
push eax
call fcn.0060a2f4
call fcn.0042cc10
call fcn.0042f4a0
call fcn.0060e0d0
int3