Function at 0x180012450
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov r13d, edx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov dword [rbp + 0x40], ebx
mov dword [rbp], 0x80
cmp edx, 1
jge 0x180012498
lea r13d, [rbx + 1]
jmp 0x1800124a4
mov eax, 2
cmp r13d, eax
cmovg r13d, eax
mov rdx, qword [0x180113de8]
test rdx, rdx
jne 0x1800124c6
lea rdx, [0x1800f7c64]
cmp qword [0x180113e18], rbx
cmovne rdx, qword [0x180113e08]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jns 0x18001251c
lea rsi, vtable.CVolObject.0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea r14, vtable.CVolMem.0
mov qword [rdi], r14
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov r15d, 0x40
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
jmp 0x18001306f
mov r8, qword [0x180114988]
test r8, r8
je 0x18001253c
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r8 + rax*2], bx
jne 0x180012530
jmp 0x180012568
mov rax, qword [0x1801149b8]
mov rcx, rax
test rax, rax
jne 0x180012550
mov rax, rbx
jmp 0x180012556
shr rax, 1
dec rax
lea r8, [0x1800f7c64]
test rcx, rcx
cmovne r8, qword [0x1801149a8]
lea r9d, [rax*2 + 2]
mov dword [rsp + 0x20], ebx
lea rdx, str.ChainingMode
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptSetProperty]
test eax, eax
jns 0x1800125da
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea rsi, vtable.CVolObject.0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea r14, vtable.CVolMem.0
mov qword [rdi], r14
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov r15d, 0x40
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
jmp 0x18001306f
mov r8, qword [0x180113f08]
test r8, r8
jne 0x1800125fc
lea r8, [0x1800f7c64]
cmp qword [0x180113f38], rbx
cmovne r8, qword [0x180113f28]
mov rax, qword [0x180113de8]
test rax, rax
jne 0x18001261e
lea rax, [0x1800f7c64]
cmp qword [0x180113e18], rbx
cmovne rax, qword [0x180113e08]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180012635
add rax, 2
test ecx, ecx
jne 0x180012621
test edx, edx
jne 0x1800126ab
mov dword [rsp + 0x20], ebx
lea r9d, [rdx + 4]
lea r8, [rbp]
lea rdx, str.EffectiveKeyLength
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptSetProperty]
test eax, eax
jns 0x1800126ab
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea rsi, vtable.CVolObject.0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea r14, vtable.CVolMem.0
mov qword [rdi], r14
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov r15d, 0x40
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
jmp 0x18001306f
mov r8, qword [0x180114a48]
test r8, r8
jne 0x1800126cd
lea r8, [0x1800f7c64]
cmp qword [0x180114a78], rbx
cmovne r8, qword [0x180114a68]
mov rax, qword [0x180114988]
test rax, rax
jne 0x1800126ef
lea rax, [0x1800f7c64]
cmp qword [0x1801149b8], rbx
cmovne rax, qword [0x1801149a8]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180012706
add rax, 2
test ecx, ecx
jne 0x1800126f2
test edx, edx
jne 0x18001277c
mov dword [rsp + 0x20], ebx
lea r9d, [rdx + 4]
lea r8, [rbp + 0x40]
lea rdx, str.MessageBlockLength
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptSetProperty]
test eax, eax
jns 0x18001277c
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea rsi, vtable.CVolObject.0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea r14, vtable.CVolMem.0
mov qword [rdi], r14
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov r15d, 0x40
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
jmp 0x18001306f
mov dword [rsp + 0x28], ebx
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0xd8]
lea rdx, str.BlockLength
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
jns 0x1800127ff
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
lea rsi, vtable.CVolObject.0
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea r14, vtable.CVolMem.0
mov qword [rdi], r14
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov r15d, 0x40
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
jmp 0x18001306f
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x70], rax
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea r14, vtable.CVolMem.0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x50], rbx
mov r15d, 0x40
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x70], r14
mov rbx, qword [rbp + 0xe0]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180003f00
nop
mov rax, qword [rbx + 0x28]
lea rcx, [rbp - 0x70]
cmp rax, 0x10
jle 0x18001286f
lea edx, [r15 - 0x30]
call fcn.1800418f0
jmp 0x180012893
mov r12d, reloc.WS2_32.dll_recv
sub r12, rax
mov rbx, qword [rbp - 0x48]
lea rdx, [rbx + r12]
call fcn.1800418f0
lea rcx, [rbx + rax]
mov r8, r12
xor edx, edx
call fcn.18009db60
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x38], rsi
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], r15
mov qword [rbp - 0x38], r14
mov rbx, qword [rbp + 0xb8]
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.180003f00
nop
mov eax, dword [rbp]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r12, eax
mov rax, qword [rbx + 0x28]
lea rcx, [rbp - 0x38]
cmp rax, r12
jle 0x1800128fe
mov rdx, r12
call fcn.1800418f0
jmp 0x18001291c
sub r12, rax
mov rbx, qword [rbp - 0x10]
lea rdx, [rbx + r12]
call fcn.1800418f0
lea rcx, [rbx + rax]
mov r8, r12
xor edx, edx
call fcn.18009db60
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
test rax, rax
mov ebx, 0
cmove rcx, rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptGenerateSymmetricKey]
test eax, eax
jns 0x1800129e5
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov qword [rdi], rsi
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi], r14
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1800129ac
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x70], r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x1800129d4
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x50], rbx
jmp 0x18001306b
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x78], r15
cmp r13d, 1
jne 0x180012cc5
mov qword [rbp + 8], rax
mov qword [rbp + 8], rsi
xor r13d, r13d
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov qword [rbp + 8], r14
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x38], r15
mov qword [rbp + 8], r14
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp + 8]
call fcn.180003f00
nop
mov rcx, qword [rsp + 0x70]
cmp qword [rbp - 0x80], r13
cmove rcx, r13
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
test rax, rax
cmove rdx, r13
mov dword [rsp + 0x48], 1
lea r8, [rbp + 0xa8]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, eax
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
jns 0x180012ba6
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov qword [rdi], rsi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov qword [rdi], r14
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
mov qword [rbp + 8], r14
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x180012b16
lea rcx, [rbp + 8]
mov rax, qword [rbp + 8]
call qword [rax + Ordinal_26]
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x28], r13
mov qword [rbp + 8], rsi
mov qword [rsp + 0x58], r14
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x180012b42
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x58], rsi
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x180012b6d
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x70], r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x180012b95
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r13
jmp 0x18001306b
mov r12d, dword [rbp + 0xa8]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180012bcb
mov edx, r12d
lea rcx, [rsp + 0x58]
call fcn.1800418f0
mov rax, qword [rsp + 0x70]
jmp 0x180012c06
test r12, r12
je 0x180012c06
mov rbx, qword [rbp - 0x78]
test rbx, rbx
cmovle rbx, r15
mov rax, r12
cqo
idiv rbx
sub rbx, rdx
add rbx, r12
mov rdx, rbx
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], r12
mov r8, qword [rbp - 0x80]
xor edx, edx
mov rcx, rax
call fcn.18009db60
mov rax, qword [rbp + 0xe0]
test byte [rax + 8], 1
je 0x180012c29
mov r10d, r13d
mov r9, r13
jmp 0x180012c38
mov r10, qword [rbp - 0x48]
mov r9, qword [rbp - 0x58]
test r10, r10
cmove r9, r13
mov r8, qword [rsp + 0x70]
cmp qword [rbp - 0x80], 0
cmove r8, r13
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x30]
test rcx, rcx
cmove rdx, r13
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0xa8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], r9
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov ebx, eax
mov qword [rbp + 8], r14
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je 0x180012cb0
lea rcx, [rbp + 8]
mov r8, qword [rbp + 8]
call qword [r8 + Ordinal_27]
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x28], r13
mov qword [rbp + 8], rsi
jmp 0x180012edf
mov rbx, qword [rbp + 0xb0]
mov rax, qword [rbx + 0x28]
xor r13d, r13d
test rax, rax
mov edx, r13d
je 0x180012cdf
mov rdx, qword [rbx + 0x18]
mov dword [rsp + 0x48], 1
lea rcx, [rbp + 0xa8]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8d, eax
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
test eax, eax
jns 0x180012de4
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov qword [rdi], rsi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov qword [rdi], r14
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], r14
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x180012d80
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x58], rsi
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x180012dab
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x70], r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x180012dd3
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r13
jmp 0x18001306b
mov r12d, dword [rbp + 0xa8]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180012e09
mov edx, r12d
lea rcx, [rsp + 0x58]
call fcn.1800418f0
mov rax, qword [rsp + 0x70]
jmp 0x180012e4b
test r12, r12
je 0x180012e4b
mov rbx, qword [rbp - 0x78]
test rbx, rbx
cmovle rbx, r15
mov rax, r12
cqo
idiv rbx
sub rbx, rdx
add rbx, r12
mov rdx, rbx
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], r12
mov rbx, qword [rbp + 0xb0]
mov r8, qword [rbp - 0x80]
xor edx, edx
mov rcx, rax
call fcn.18009db60
mov rax, qword [rbp + 0xe0]
test byte [rax + 8], 1
je 0x180012e6e
mov edx, r13d
mov rcx, r13
jmp 0x180012e7d
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x58]
test rdx, rdx
cmove rcx, r13
mov r8, qword [rsp + 0x70]
cmp qword [rbp - 0x80], 0
cmove r8, r13
mov r11, qword [rbx + 0x28]
test r11, r11
mov r10, r13
je 0x180012e9b
mov r10, qword [rbx + 0x18]
mov dword [rsp + 0x48], 1
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0xa8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, r11d
mov rdx, r10
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptDecrypt]
mov ebx, eax
mov rcx, qword [rbp + 0xd0]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp + 0xc0]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
test ebx, ebx
jns 0x180012fa9
mov qword [rdi], rsi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov qword [rdi], r14
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x30], r15
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], r14
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x180012f45
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x58], rsi
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x180012f70
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x70], r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x180012f98
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r13
jmp 0x18001306b
mov edx, dword [rbp + 0xa8]
lea rcx, [rsp + 0x58]
call fcn.1800418f0
mov qword [rdi], rsi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov qword [rdi], r14
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x28], r13
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x30], r15
mov qword [rdi], r14
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.180003f00
nop
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x58], r14
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x18001300c
lea rcx, [rsp + 0x58]
mov rax, qword [rsp + 0x58]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x58], rsi
mov qword [rbp - 0x38], r14
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x180013037
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x10], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x70], r14
mov rdx, qword [rbp - 0x58]
test rdx, rdx
je 0x18001305f
lea rcx, [rbp - 0x70]
mov rax, qword [rbp - 0x70]
call qword [rax + Ordinal_26]
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x70], rsi
mov rax, rdi
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret