Function at 0x18002d890
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rbp
sub rsp, 0x140
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov rax, qword [rbp + 0xf0]
mov qword [rbp - 0x20], rax
mov rax, qword [0x1800950a8]
xor rax, rbp
mov qword [rbp + 0xb8], rax
mov dword [rbp - 0x14], 0x947c6f93
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0x44], eax
sub eax, 0x8682377d
je 0x18002ddfb
jmp 0x18002d8e9
mov eax, dword [rbp - 0x44]
sub eax, 0x8b909274
je 0x18002e204
jmp 0x18002d8fc
mov eax, dword [rbp - 0x44]
sub eax, 0x90be2cde
je 0x18002df11
jmp 0x18002d90f
mov eax, dword [rbp - 0x44]
sub eax, 0x947c6f93
je 0x18002dc45
jmp 0x18002d922
mov eax, dword [rbp - 0x44]
sub eax, 0x9bcb824b
je 0x18002e1af
jmp 0x18002d935
mov eax, dword [rbp - 0x44]
sub eax, 0xa62f0018
je 0x18002dfd2
jmp 0x18002d948
mov eax, dword [rbp - 0x44]
sub eax, 0xa87df006
je 0x18002e067
jmp 0x18002d95b
mov eax, dword [rbp - 0x44]
sub eax, 0xab987c05
je 0x18002ddde
jmp 0x18002d96e
mov eax, dword [rbp - 0x44]
sub eax, 0xb1671ebb
je 0x18002dfab
jmp 0x18002d981
mov eax, dword [rbp - 0x44]
sub eax, 0xb7faede7
je 0x18002df05
jmp 0x18002d994
mov eax, dword [rbp - 0x44]
sub eax, 0xc1857975
je 0x18002de6b
jmp 0x18002d9a7
mov eax, dword [rbp - 0x44]
sub eax, 0xcca4adf4
je 0x18002df78
jmp 0x18002d9ba
mov eax, dword [rbp - 0x44]
sub eax, 0xd5a3fa60
je 0x18002dea5
jmp 0x18002d9cd
mov eax, dword [rbp - 0x44]
sub eax, 0xd61515d7
je 0x18002e116
jmp 0x18002d9e0
mov eax, dword [rbp - 0x44]
sub eax, 0xd6f926c2
je 0x18002dd1d
jmp 0x18002d9f3
mov eax, dword [rbp - 0x44]
sub eax, 0xde0a14af
je 0x18002deef
jmp 0x18002da06
mov eax, dword [rbp - 0x44]
sub eax, 0xe5fcb072
je 0x18002dec0
jmp 0x18002da19
mov eax, dword [rbp - 0x44]
sub eax, 0xf7d1711c
je 0x18002e0cb
jmp 0x18002da2c
mov eax, dword [rbp - 0x44]
sub eax, 0xfc8b52c9
je 0x18002dc9c
jmp 0x18002da3f
mov eax, dword [rbp - 0x44]
sub eax, 0x15c4dfcb
je 0x18002e045
jmp 0x18002da52
mov eax, dword [rbp - 0x44]
sub eax, 0x21d32b4c
je 0x18002e0eb
jmp 0x18002da65
mov eax, dword [rbp - 0x44]
sub eax, 0x22a8100e
je 0x18002ddc1
jmp 0x18002da78
mov eax, dword [rbp - 0x44]
sub eax, 0x29989411
je 0x18002e1e7
jmp 0x18002da8b
mov eax, dword [rbp - 0x44]
sub eax, 0x2ada7f93
je 0x18002de23
jmp 0x18002da9e
mov eax, dword [rbp - 0x44]
sub eax, 0x39c15f76
je 0x18002dc7c
jmp 0x18002dab1
mov eax, dword [rbp - 0x44]
sub eax, 0x39c59448
je 0x18002dd84
jmp 0x18002dac4
mov eax, dword [rbp - 0x44]
sub eax, 0x3e6ad73d
je 0x18002df5a
jmp 0x18002dad7
mov eax, dword [rbp - 0x44]
sub eax, 0x3f29fbcc
je 0x18002e22d
jmp 0x18002daea
mov eax, dword [rbp - 0x44]
sub eax, 0x3f92b4fe
je 0x18002e08b
jmp 0x18002dafd
mov eax, dword [rbp - 0x44]
sub eax, 0x404861b4
je 0x18002de2f
jmp 0x18002db10
mov eax, dword [rbp - 0x44]
sub eax, 0x4109ad76
je 0x18002e0ad
jmp 0x18002db23
mov eax, dword [rbp - 0x44]
sub eax, 0x46e9ce1b
je 0x18002dedd
jmp 0x18002db36
mov eax, dword [rbp - 0x44]
sub eax, 0x48fae0f2
je 0x18002dfb7
jmp 0x18002db49
mov eax, dword [rbp - 0x44]
sub eax, 0x497c3e78
je 0x18002de4c
jmp 0x18002db5c
mov eax, dword [rbp - 0x44]
sub eax, 0x4cef7e67
je 0x18002dd58
jmp 0x18002db6f
mov eax, dword [rbp - 0x44]
sub eax, 0x5147761c
je 0x18002e00a
jmp 0x18002db82
mov eax, dword [rbp - 0x44]
sub eax, 0x57e18a0e
je 0x18002df39
jmp 0x18002db95
mov eax, dword [rbp - 0x44]
sub eax, 0x5d6eb7fe
je 0x18002dcd3
jmp 0x18002dba8
mov eax, dword [rbp - 0x44]
sub eax, 0x616bedbe
je 0x18002e05b
jmp 0x18002dbbb
mov eax, dword [rbp - 0x44]
sub eax, 0x636b7bb3
je 0x18002e028
jmp 0x18002dbce
mov eax, dword [rbp - 0x44]
sub eax, 0x68f6dc00
je 0x18002e18b
jmp 0x18002dbe1
mov eax, dword [rbp - 0x44]
sub eax, 0x6a12edb8
je 0x18002e100
jmp 0x18002dbf4
mov eax, dword [rbp - 0x44]
sub eax, 0x6da87905
je 0x18002dd31
jmp 0x18002dc07
mov eax, dword [rbp - 0x44]
sub eax, 0x7420eef8
je 0x18002e210
jmp 0x18002dc1a
mov eax, dword [rbp - 0x44]
sub eax, 0x78230022
je 0x18002df95
jmp 0x18002dc2d
mov eax, dword [rbp - 0x44]
sub eax, 0x7a0000f9
je 0x18002de0d
jmp 0x18002dc40
jmp 0x18002e252
mov eax, 0x10
mov qword [rbp - 0x50], rax
call fcn.18008acc0
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rcx, rsp
mov qword [rbp + 0x10], rcx
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x18], rax
mov dword [rbp - 0x14], 0x39c15f76
jmp 0x18002e252
mov eax, 0x10
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x14], 0xfc8b52c9
jmp 0x18002e252
mov eax, 0x10
mov qword [rbp - 0x58], rax
call fcn.18008acc0
sub rsp, rax
mov rax, qword [rbp - 0x58]
mov rcx, rsp
mov qword [rbp + 0x28], rcx
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x30], rax
mov dword [rbp - 0x14], 0x5d6eb7fe
jmp 0x18002e252
mov eax, 0x10
mov qword [rbp - 0x60], rax
call fcn.18008acc0
sub rsp, rax
mov rax, qword [rbp - 0x60]
mov rcx, rsp
mov qword [rbp + 0x38], rcx
call fcn.18008acc0
sub rsp, rax
mov rax, qword [rbp - 0x60]
mov rcx, rsp
mov qword [rbp + 0x40], rcx
call fcn.18008acc0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x14], 0xd6f926c2
jmp 0x18002e252
mov rax, qword [rbp - 0x20]
mov qword [rbp], rax
mov dword [rbp - 0x14], 0x6da87905
jmp 0x18002e252
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 8], rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rax], rcx
mov dword [rbp - 0x14], 0x4cef7e67
jmp 0x18002e252
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp + 0x18]
mov qword [rax], rcx
mov rax, qword [rbp + 0x18]
mov rax, qword [rax]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x20]
mov dword [rax], 0
mov dword [rbp - 0x14], 0x39c59448
jmp 0x18002e252
mov rcx, qword [rbp + 0x28]
mov edx, 0x18
mov r8d, 0xf0000000
sub rsp, 0x20
call fcn.180031d40
add rsp, 0x20
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call fcn.180031f30
add rsp, 0x20
mov qword [rbp + 0x58], rax
mov dword [rbp - 0x14], 0x22a8100e
jmp 0x18002e252
mov rdx, qword [rbp + 0x58]
mov eax, 0x404861b4
mov ecx, 0xab987c05
cmp rdx, 0
cmove eax, ecx
mov dword [rbp - 0x14], eax
jmp 0x18002e252
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0x64], eax
mov dword [rbp - 0x14], 0x8682377d
jmp 0x18002e252
mov eax, dword [rbp + 0x64]
mov dword [rbp + 0xc], eax
mov dword [rbp - 0x14], 0x7a0000f9
jmp 0x18002e252
mov rax, qword [rbp + 0x30]
mov dword [rax], 1
mov dword [rbp - 0x14], 0x2ada7f93
jmp 0x18002e252
mov dword [rbp - 0x14], 0x7420eef8
jmp 0x18002e252
mov rcx, qword [rbp + 0x38]
sub rsp, 0x20
call fcn.180033060
add rsp, 0x20
mov dword [rbp - 0x14], 0x497c3e78
jmp 0x18002e252
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 8]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x70], rax
mov dword [rbp - 0x14], 0xc1857975
jmp 0x18002e252
mov rax, qword [rbp + 0x70]
mov r8, qword [rax]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
mov r9, qword [rbp + 0x68]
sub rsp, 0x20
call fcn.180033150
add rsp, 0x20
mov ecx, eax
xor eax, eax
cmp eax, ecx
setne al
and al, 1
mov byte [rbp + 0x7b], al
mov dword [rbp - 0x14], 0xd5a3fa60
jmp 0x18002e252
mov dl, byte [rbp + 0x7b]
mov eax, 0x90be2cde
mov ecx, 0xe5fcb072
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x14], eax
jmp 0x18002e252
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0x7c], eax
mov dword [rbp - 0x14], 0x46e9ce1b
jmp 0x18002e252
mov eax, dword [rbp + 0x7c]
mov dword [rbp + 0xc], eax
mov dword [rbp - 0x14], 0xde0a14af
jmp 0x18002e252
mov rax, qword [rbp + 0x30]
mov dword [rax], 1
mov dword [rbp - 0x14], 0xb7faede7
jmp 0x18002e252
mov dword [rbp - 0x14], 0x29989411
jmp 0x18002e252
mov rcx, qword [rbp + 0x38]
mov edx, 1
sub rsp, 0x20
call fcn.180033620
add rsp, 0x20
mov dword [rbp + 0x80], eax
mov dword [rbp - 0x14], 0x57e18a0e
jmp 0x18002e252
mov ecx, dword [rbp + 0x80]
xor eax, eax
cmp eax, ecx
setne al
and al, 1
mov byte [rbp + 0x87], al
mov dword [rbp - 0x14], 0x3e6ad73d
jmp 0x18002e252
mov dl, byte [rbp + 0x87]
mov eax, 0x48fae0f2
mov ecx, 0xcca4adf4
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x14], eax
jmp 0x18002e252
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0xc], eax
mov dword [rbp - 0x14], 0x78230022
jmp 0x18002e252
mov rax, qword [rbp + 0x30]
mov dword [rax], 1
mov dword [rbp - 0x14], 0xb1671ebb
jmp 0x18002e252
mov dword [rbp - 0x14], 0x29989411
jmp 0x18002e252
mov rax, qword [rbp + 0x50]
add rax, 0x10
mov qword [rbp + 0x88], rax
mov dword [rbp - 0x14], 0xa62f0018
jmp 0x18002e252
mov rax, qword [rbp + 0x88]
mov rdx, qword [rax]
mov rcx, qword [rbp + 0x38]
sub rsp, 0x20
call fcn.180033800
add rsp, 0x20
mov ecx, eax
xor eax, eax
cmp eax, ecx
setne al
and al, 1
mov byte [rbp + 0x97], al
mov dword [rbp - 0x14], 0x5147761c
jmp 0x18002e252
mov dl, byte [rbp + 0x97]
mov eax, 0xa87df006
mov ecx, 0x636b7bb3
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x14], eax
jmp 0x18002e252
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0xc], eax
mov dword [rbp - 0x14], 0x15c4dfcb
jmp 0x18002e252
mov rax, qword [rbp + 0x30]
mov dword [rax], 1
mov dword [rbp - 0x14], 0x616bedbe
jmp 0x18002e252
mov dword [rbp - 0x14], 0x29989411
jmp 0x18002e252
mov rcx, qword [rbp + 0x38]
sub rsp, 0x20
call fcn.180033980
add rsp, 0x20
mov qword [rbp + 0x98], rax
mov dword [rbp - 0x14], 0x3f92b4fe
jmp 0x18002e252
mov rax, qword [rbp + 0x98]
cmp rax, 0
sete al
and al, 1
mov byte [rbp + 0xa3], al
mov dword [rbp - 0x14], 0x4109ad76
jmp 0x18002e252
mov dl, byte [rbp + 0xa3]
mov eax, 0xd61515d7
mov ecx, 0xf7d1711c
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x14], eax
jmp 0x18002e252
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0xa4], eax
mov dword [rbp - 0x14], 0x21d32b4c
jmp 0x18002e252
mov eax, dword [rbp + 0xa4]
mov dword [rbp + 0xc], eax
mov dword [rbp - 0x14], 0x6a12edb8
jmp 0x18002e252
mov rax, qword [rbp + 0x30]
mov dword [rax], 1
mov dword [rbp - 0x14], 0x29989411
jmp 0x18002e252
mov rax, qword [rbp - 8]
mov ecx, eax
mov rax, qword [rbp + 0x40]
mov dword [rax], ecx
mov rax, qword [rbp - 0x10]
mov dword [rbp - 0x64], eax
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp + 0x38]
sub rsp, 0x20
call fcn.180033980
mov r11, qword [rbp - 0x70]
add rsp, 0x20
mov rcx, rax
mov eax, dword [rbp - 0x64]
mov r10, qword [rbp + 0x40]
xor edx, edx
xor r9d, r9d
sub rsp, 0x40
mov r8d, r9d
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x30], eax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
add rsp, 0x40
mov ecx, eax
mov rax, qword [rbp + 0x48]
mov dword [rax], ecx
mov dword [rbp - 0x14], 0x68f6dc00
jmp 0x18002e252
mov rax, qword [rbp + 0x40]
mov eax, dword [rax]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
mov dword [rbp - 0x14], 0x9bcb824b
jmp 0x18002e252
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
mov qword [rax], rcx
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x30]
mov dword [rax], 1
mov dword [rbp - 0x14], 0x29989411
jmp 0x18002e252
mov rcx, qword [rbp + 0x38]
sub rsp, 0x20
call fcn.180033a70
add rsp, 0x20
mov dword [rbp - 0x14], 0x8b909274
jmp 0x18002e252
mov dword [rbp - 0x14], 0x7420eef8
jmp 0x18002e252
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call fcn.180032fa0
add rsp, 0x20
mov dword [rbp - 0x14], 0x3f29fbcc
jmp 0x18002e252
mov eax, dword [rbp + 0xc]
mov dword [rbp - 0x74], eax
mov rcx, qword [rbp + 0xb8]
xor rcx, rbp
sub rsp, 0x20
call fcn.18008ac40
mov eax, dword [rbp - 0x74]
lea rsp, [rbp + 0xc0]
pop rbp
ret
jmp 0x18002d8d3