Function at 0x10004d60
Capabilities:
Hash data via bcrypt

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e5cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x1e8
mov eax, dword [0x1003b080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1c8], edi
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1c4], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
push 0x10036e09
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0xf8], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.1000b560
push 0xb8
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.10011c10
add esp, 0xc
mov dword [ebp - 0x1b0], 0x100370ec
lea ecx, [ebp - 0x140]
call fcn.10009ae0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1c4], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
lea eax, [ebp - 0x1a0]
push eax
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1b0]
movlpd qword [ebp - 0x1a8], xmm0
add ecx, dword [eax + 4]
call fcn.1000a5c0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.1000a2b0
mov ecx, dword [0x1004e220]
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x198]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x188]
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x170], eax
mov eax, dword [0x1004e21c]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x158], 0
mov byte [ebp - 0x163], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x168], 0
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a0]
push esi
call fcn.100098d0
test eax, eax
jne 0x10004fe6
mov eax, dword [ebp - 0x1b0]
lea ecx, [ebp - 0x1b0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10002090
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1b0]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x1a4], 6
je 0x100050af
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0x1b4], ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x140]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.1000cb6e
add esp, 4
mov eax, edi
jmp 0x10005ba4
push 0
push 0
push 0x10036ee0
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jns 0x10005166
mov eax, dword [ebp - 0x1b0]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
mov byte [ebp - 4], 8
jmp 0x1000508f
push 0
lea eax, [ebp - 0x50]
push eax
push 4
lea eax, [ebp - 0xf8]
push eax
push str.ObjectLength
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
jns 0x10005235
push 0
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0x1b0]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
mov byte [ebp - 4], 9
jmp 0x1000508f
push dword [ebp - 0xf8]
call fcn.1000d71f
add esp, 4
mov esi, eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x1c0], esi
push 0
push 0
push 0
push dword [ebp - 0xf8]
push esi
push eax
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jns 0x10005323
push esi
call fcn.1000d30d
add esp, 4
push 0
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0x1b0]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
mov byte [ebp - 4], 0xb
jmp 0x1000508f
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
push 0x400
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.1000d3c7
add esp, 4
mov esi, eax
mov dword [ebp - 0x40], esi
push 0x400
lea eax, [esi + 0x400]
push 0
push esi
mov dword [ebp - 0x38], eax
call fcn.10011c10
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0xc
nop dword [eax]
mov eax, dword [ebp - 0x1b0]
push 0
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x1a4], 0
jne 0x100054d4
sub ecx, esi
push ecx
mov dword [ebp - 0x1b8], ecx
lea ecx, [ebp - 0x1b0]
push esi
call fcn.10008370
cmp dword [ebp - 0x1a4], 0
mov ecx, dword [ebp - 0x38]
jl 0x10005380
mov eax, dword [ebp - 0x1a8]
jg 0x100053c6
test eax, eax
je 0x10005380
push 0
push eax
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
mov ecx, dword [ebp - 0x38]
test eax, eax
jns 0x10005380
push dword [ebp - 0xf0]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push dword [ebp - 0x1c0]
call fcn.1000d30d
add esp, 4
push 0
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x34]
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 4], 6
test esi, esi
je 0x10005472
mov ecx, dword [ebp - 0x1b8]
mov eax, esi
cmp ecx, 0x1000
jb 0x10005468
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bcc
push ecx
push esi
call fcn.1000d711
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
mov byte [ebp - 4], 0xd
jmp 0x1000508f
lea eax, [ebp - 0x50]
push eax
push 4
lea eax, [ebp - 0xf4]
push eax
push str.HashDigestLength
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
jns 0x100055f0
push dword [ebp - 0xf0]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push dword [ebp - 0x1c0]
call fcn.1000d30d
add esp, 4
push 0
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x34]
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 4], 6
test esi, esi
je 0x1000558e
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10005584
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bcc
push ecx
push esi
call fcn.1000d711
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
mov byte [ebp - 4], 0xe
jmp 0x1000508f
mov edx, dword [ebp - 0xf4]
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
xor ecx, ecx
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test edx, edx
je 0x1000569b
cmp edx, 0x7fffffff
ja 0x10005bc2
cmp edx, 0x1000
jb 0x1000565f
lea eax, [edx + 0x23]
cmp eax, edx
jbe 0x10005bc7
push eax
call fcn.1000d3c7
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10005bcc
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10005668
push edx
call fcn.1000d3c7
add esp, 4
mov edx, dword [ebp - 0x1b8]
push edx
push 0
push eax
lea ecx, [eax + edx]
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], ecx
call fcn.10011c10
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov edx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x48], ecx
push 0
push edx
push eax
mov byte [ebp - 4], 0xf
push dword [ebp - 0xf0]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jns 0x100057e8
push dword [ebp - 0xf0]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push dword [ebp - 0x1c0]
call fcn.1000d30d
add esp, 4
push 0
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov ecx, dword [ebp - 0x1b4]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x34]
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x10005751
mov edx, dword [ebp - 0x44]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10005747
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bcc
push edx
push ecx
call fcn.1000d711
add esp, 8
mov byte [ebp - 4], 6
test esi, esi
je 0x10005786
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x1000577c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bcc
push ecx
push esi
call fcn.1000d711
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
mov byte [ebp - 4], 0x10
jmp 0x1000508f
push 0x98
lea eax, [ebp - 0xe8]
push 0
push eax
call fcn.10011c10
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.100075e0
mov edi, dword [ebp - 0x1b4]
xor eax, eax
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1b8], eax
cmp eax, dword [ebp - 0xf4]
jae 0x1000588c
add eax, edi
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0xe8]
push 0
push 2
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.1000ccc9
add esp, 0xc
lea ecx, [ebp - 0xe8]
mov edx, eax
call fcn.1000b090
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov byte [eax + ecx + 0x40], 0x30
mov eax, dword [ebp - 0x1bc]
movzx eax, byte [eax]
push eax
call fcn.100081b0
mov eax, dword [ebp - 0x1b8]
inc eax
jmp 0x10005815
lea eax, [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0xe8]
call fcn.100074f0
mov edi, eax
lea eax, [ebp - 0x34]
cmp eax, edi
je 0x100058fd
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x100058db
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100058d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.1000d711
add esp, 8
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x1e4]
cmp ecx, 0xf
jbe 0x10005937
mov edx, dword [ebp - 0x1f8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000592d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd1
push ecx
push edx
call fcn.1000d711
add esp, 8
push dword [ebp - 0xf0]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push dword [ebp - 0x1c0]
call fcn.1000d30d
add esp, 4
push 0
push dword [ebp - 0xec]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.100086f0
cmp dword [ebp - 0x1cc], 0xf
lea edi, [ebp - 0x1e0]
jbe 0x10005987
mov edi, dword [ebp - 0x1e0]
mov ecx, edi
jmp 0x1000598d
lea ecx, [ebp - 0x1e0]
mov eax, dword [ebp - 0x1d0]
mov edx, edi
add eax, ecx
mov dword [ebp - 0x1bc], eax
cmp edx, eax
je 0x100059b8
movzx eax, byte [edi]
push eax
call fcn.10015535
mov byte [edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x1bc]
jne 0x100059a1
mov edi, dword [ebp - 0x1c8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0xe8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x1e0]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x1e0], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1d0]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x1cc], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xec], eax
lea ecx, [ebp - 0xe4]
call fcn.10007c70
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xec], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.1000cb6e
mov ecx, dword [ebp - 0x1b4]
add esp, 4
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x10005ab5
mov edx, dword [ebp - 0x44]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10005aab
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd6
push edx
push ecx
call fcn.1000d711
add esp, 8
mov byte [ebp - 4], 6
test esi, esi
je 0x10005aea
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10005ae0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd6
push ecx
push esi
call fcn.1000d711
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b4], eax
lea ecx, [ebp - 0x1a0]
call fcn.10007390
mov eax, dword [ebp - 0x1b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1b4], eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x13
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1000cb6e
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, 0xf
jbe 0x100050a8
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005b8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005bd6
push ecx
push edx
call fcn.1000d711
add esp, 8
mov eax, edi
jmp 0x10005ba4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000d2ff
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1000c3e0
call fcn.10001510
call fcn.1001a594
call fcn.1001a594
call fcn.1001a594
int3