Function at 0x1400079d0
Capabilities:
Hash data via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x260
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, qword [0x140262920]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r15, r8
mov qword [rsp + 0x68], r8
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rbx, [rcx + 0xe8]
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call fcn.14019b0c4
test eax, eax
jne 0x14000829e
mov byte [r14 + 0x138], al
xor r9d, r9d
xor r8d, r8d
mov edx, 0x18b
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov ecx, 0x400000
call fcn.140006790
mov rsi, rax
mov qword [rsp + 0x50], rax
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], r12
mov qword [rbp + 0xd8], r12
mov dword [rbp + 0xe0], 0x8003
mov eax, r12d
mov dword [rsp + 0x38], eax
test edi, edi
jle 0x1400081fc
mov r12d, 6
movsd xmm8, qword [0x14022f6d8]
movsxd r13, eax
mov qword [rsp + 0x70], r13
xor r9d, r9d
mov r8, r13
mov edx, 0x199
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp qword [rax + 0x28], 0
je 0x140007aef
mov r9, rax
xorps xmm2, xmm2
mov edx, 1
mov rcx, r15
call fcn.140003c20
jmp 0x140007e0d
xor eax, eax
mov qword [rbp + 0xc0], rax
mov rbx, qword [rdi]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140007b1a
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140007b34
call fcn.14001aef0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x140008293
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
or dword [rsp + 0x30], 1
mov rdx, qword [rbx]
mov dword [rsp + 0x20], 1
lea r9, [0x14022ee08]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000bf50
mov r8, qword [rdi + 8]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.14000a930
nop
and dword [rsp + 0x30], 0xfffffffe
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007ba6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x50]
call fcn.14019dc80
mov rdx, qword [rbp + 0xc0]
lea rcx, [rbp - 0x50]
call fcn.14000a2e0
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x40], 6
jne 0x140008124
mov r8d, 0x40000
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14000a700
lea rcx, [rbp + 0xc8]
call fcn.1400067a0
xor r9d, r9d
mov r8d, dword [rbp - 0x48]
mov rdx, rsi
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rcx, [rbp + 0xc8]
call fcn.140006950
mov qword [rdi + 0x20], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x40], 1
je 0x140007e26
lea rcx, [rbp - 0x40]
call fcn.14000aec0
test rax, rax
jne 0x140007c6f
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, r12d
cmp qword [rbp + rcx - 8], 0
mov edx, 2
cmovne eax, edx
or eax, dword [rbp + rcx - 0x40]
and eax, 0x17
mov dword [rbp + rcx - 0x40], eax
and eax, dword [rbp + rcx - 0x3c]
jne 0x1400082a6
mov ecx, 8
call fcn.14000d7f0
mov rsi, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140007d07
xor eax, eax
mov qword [rsi], rax
mov rcx, qword [rdi + 0x20]
mov r13, qword [rcx]
lea rbx, [r13 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x140007cb6
cmp rax, qword [rbx]
jne 0x140007cb6
lock inc dword [rbx + 0x10]
jmp 0x140007cf4
lea r15, [rbx + 8]
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [r15]
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1400082f0
mov ecx, dword [r15]
mov dword [rax + 8], ecx
mov r9d, dword [r15]
inc r9d
movsxd rdx, r9d
lea rcx, [rax + 0x18]
mov r8, r13
call fcn.140005720
mov r15, qword [rsp + 0x68]
lea rax, [rbx + 0x18]
mov qword [rsi], rax
mov r13, qword [rsp + 0x70]
mov ebx, 0xffffffff
jmp 0x140007d09
xor esi, esi
mov qword [rdi + 0x28], rsi
lea r9, [rbp + 0xe8]
mov r8, r13
mov edx, 0x198
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x140007d6d
cmp dword [rbp + 0xf4], 0
jl 0x140007d6d
lea rdx, [rbp + 0x108]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x114]
sub eax, dword [rbp + 0x10c]
cmp dword [rbp + 0xec], eax
jg 0x140007d6d
xor r8d, r8d
lea rdx, [rbp + 0xe8]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov r9, rdi
xorps xmm2, xmm2
mov edx, 1
mov rcx, r15
call fcn.140003c20
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14000a040
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.14019bb34
nop
mov rdx, qword [rbp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007e08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rsi, qword [rsp + 0x50]
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp eax, dword [rsp + 0x58]
jge 0x1400081f7
jmp 0x140007ab0
lea rcx, [rbp - 0x50]
call fcn.14000a570
lea rcx, [rbp + 0xc8]
call fcn.1400067a0
mov rcx, qword [rdi + 0x18]
xorps xmm0, xmm0
test rcx, rcx
js 0x140007e4e
cvtsi2sd xmm0, rcx
jmp 0x140007e63
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
movaps xmm7, xmm8
divsd xmm7, xmm0
xorps xmm6, xmm6
nop
cmp byte [r14 + 0x138], 0
jne 0x14000804d
mov r8d, 0x400000
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14000a700
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
movzx eax, byte [rbp + rcx - 0x40]
and al, 1
jne 0x140007ee7
test byte [rbp + rcx - 0x40], 6
jne 0x140007ed7
xor r9d, r9d
mov r8d, 0x400000
mov rdx, rsi
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
addsd xmm6, xmm7
mov r9, rdi
movaps xmm2, xmm6
xor edx, edx
mov rcx, r15
call fcn.140003c20
jmp 0x140007e70
mov r13d, 2
mov edx, r13d
xor edi, edi
jmp 0x140007f77
xor r9d, r9d
mov r8d, dword [rbp - 0x48]
mov rdx, rsi
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
lea rcx, [rbp + 0xc8]
call fcn.140006950
mov qword [rdi + 0x28], rax
lea r9, [rbp + 0xf8]
mov r8, r13
mov edx, 0x198
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x140007f6e
cmp dword [rbp + 0x104], 0
jl 0x140007f6e
lea rdx, [rbp + 0x118]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 0x124]
sub eax, dword [rbp + 0x11c]
cmp dword [rbp + 0xfc], eax
jg 0x140007f6e
xor r8d, r8d
lea rdx, [rbp + 0xf8]
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov edx, 1
lea r13d, [rdx + 1]
mov r9, rdi
xorps xmm2, xmm2
mov rcx, r15
call fcn.140003c20
lea rcx, [rbp - 0x40]
call fcn.14000aec0
test rax, rax
jne 0x140007fbd
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, r12d
cmp qword [rbp + rcx - 8], 0
cmovne eax, r13d
or eax, dword [rbp + rcx - 0x40]
and eax, 0x17
mov dword [rbp + rcx - 0x40], eax
and eax, dword [rbp + rcx - 0x3c]
jne 0x1400082f6
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14000a040
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.14019bb34
nop
mov rdx, qword [rbp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007e0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140007e0d
lea rcx, [rbp - 0x40]
call fcn.14000aec0
test rax, rax
jne 0x14000808b
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 8], 0
mov eax, 2
cmovne r12d, eax
or r12d, dword [rbp + rcx - 0x40]
and r12d, 0x17
mov dword [rbp + rcx - 0x40], r12d
and r12d, dword [rbp + rcx - 0x3c]
jne 0x140008340
mov rcx, rsi
call fcn.14000d838
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14000a040
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.14019bb34
nop
mov rdx, qword [rbp + 0xc0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000811a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
jmp 0x140008208
xor r9d, r9d
xorps xmm2, xmm2
mov edi, 2
mov edx, edi
mov rcx, r15
call fcn.140003c20
lea rcx, [rbp - 0x40]
call fcn.14000aec0
test rax, rax
jne 0x140008172
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 8], 0
cmovne r12d, edi
or r12d, dword [rbp + rcx - 0x40]
and r12d, 0x17
mov dword [rbp + rcx - 0x40], r12d
and r12d, dword [rbp + rcx - 0x3c]
jne 0x140008246
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.14000a040
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x60]
call fcn.14019bb34
nop
mov rdx, qword [rbp + 0xc0]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400081f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rcx, rsi
call fcn.14000d838
nop
mov rcx, rbx
call fcn.14019b108
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.140199ac0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r12b, 4
je 0x140008255
lea rdx, str.ios_base::badbit_set
jmp 0x14000826a
test dil, r12b
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006f10
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.1400077b0
lea rdx, [0x14025bfb0]
lea rcx, [rsp + 0x78]
call fcn.14019de10
nop
mov ecx, 0x80004005
call fcn.140005930
nop
mov ecx, eax
call fcn.14019ad78
nop
test al, 4
je 0x1400082b3
lea rdx, str.ios_base::badbit_set
jmp 0x1400082c7
test dl, al
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006f10
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.1400077b0
lea rdx, [0x14025bfb0]
lea rcx, [rsp + 0x78]
call fcn.14019de10
nop
call fcn.140005870
nop
test al, 4
je 0x140008303
lea rdx, str.ios_base::badbit_set
jmp 0x140008317
test al, 2
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006f10
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.1400077b0
lea rdx, [0x14025bfb0]
lea rcx, [rsp + 0x78]
call fcn.14019de10
int3
test r12b, 4
je 0x14000834f
lea rdx, str.ios_base::badbit_set
jmp 0x140008364
test al, r12b
lea rdx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006f10
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.1400077b0
lea rdx, [0x14025bfb0]
lea rcx, [rsp + 0x78]
call fcn.14019de10
int3