Function at 0x18000a880
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x180055010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rbx, rcx
xor esi, esi
movzx ecx, byte [rcx + 0x22d]
sub ecx, 2
je 0x18000ac84
sub ecx, 2
je 0x18000ab9b
cmp ecx, 1
jne 0x18000b75d
cmp qword [rbx + 0x120], rsi
je 0x18000b761
cmp qword [rbx + 0x130], rsi
je 0x18000b761
cmp qword [rbx + 0x140], rsi
jne 0x18000a930
mov ecx, dword [rbx + 0x128]
mov rax, qword [0x180056fa8]
add ecx, 2
test rax, rax
je 0x18000a91b
call rax
jmp 0x18000a920
call fcn.180035030
mov qword [rbx + 0x140], rax
test rax, rax
je 0x18000ad0f
cmp qword [rbx + 0x150], rsi
jne 0x18000a967
mov ecx, dword [rbx + 0x128]
mov rax, qword [0x180056fa8]
add ecx, 2
test rax, rax
je 0x18000a952
call rax
jmp 0x18000a957
call fcn.180035030
mov qword [rbx + 0x150], rax
test rax, rax
je 0x18000ad0f
mov eax, dword [rbx + 0x138]
lea rcx, [rbp + 0x20]
mov r9, qword [rbx + 0x130]
mov r8d, dword [rbx + 0x128]
mov rdx, qword [rbx + 0x120]
mov dword [rsp + 0x20], eax
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x48], rsi
call fcn.180020870
mov edi, eax
test eax, eax
jne 0x18000a9d2
mov r8, qword [rbx + 0x150]
lea rax, [rbx + 0x148]
mov rdx, qword [rbx + 0x30]
lea r9, [rbx + 0x158]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x20]
mov rax, qword [rbx + 0x140]
mov qword [rsp + 0x20], rax
call fcn.180020460
mov edi, eax
lea rcx, [rbp + 0x20]
call fcn.1800210b0
lea rcx, [rbp + 0x38]
call fcn.1800210b0
test edi, edi
jne 0x18000af93
mov rax, qword [rbx + 0x10]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi + 0x98], sil
jne 0x18000aa00
cmp edi, 0x80
ja 0x18000abd5
mov ecx, dword [rbx + 0x148]
mov r13d, dword [rbx + 0x128]
add ecx, edi
add ecx, dword [rbx + 0x138]
add r13d, 8
add r13d, ecx
mov rcx, rbx
lea r15d, [r13 + 9]
mov edx, r15d
call fcn.180003c20
test eax, eax
jne 0x18000b766
mov r14d, dword [rbx + 0xe0]
lea ecx, [r13 + 4]
add r14, qword [rbx + 0xd8]
mov byte [r14], socket
movzx eax, byte [rbx + 0x21e]
mov byte [r14 + 1], al
movzx eax, byte [rbx + 0x21f]
mov byte [r14 + 2], al
cmp word [rbx + 0x2f8], si
jl 0x18000aa90
movzx eax, cx
mov byte [r14 + 4], cl
shr ax, 8
mov byte [r14 + 3], al
mov byte [r14 + 5], recv
lea rcx, [r14 + 0xb]
mov byte [r14 + 8], r13b
mov eax, r13d
shr eax, 0x10
mov byte [r14 + 6], al
mov eax, r13d
shr eax, 8
mov byte [r14 + 7], al
movzx eax, di
shr ax, 8
mov byte [r14 + 9], al
mov byte [r14 + 0xa], dil
mov rdx, qword [rbx + 0x10]
add rdx, 0x98
mov r8d, edi
call fcn.18002fd00
movzx ecx, word [rbx + 0x128]
add edi, 0xb
movzx eax, cx
shr ax, 8
mov byte [rdi + r14 + 1], cl
mov byte [rdi + r14], al
add edi, 2
mov r8d, dword [rbx + 0x128]
mov rdx, qword [rbx + 0x120]
mov ecx, edi
add rcx, r14
call fcn.18002fd00
movzx ecx, word [rbx + 0x138]
add edi, dword [rbx + 0x128]
movzx eax, cx
shr ax, 8
mov byte [rdi + r14 + 1], cl
mov byte [rdi + r14], al
add edi, 2
mov r8d, dword [rbx + 0x138]
mov rdx, qword [rbx + 0x130]
mov ecx, edi
add rcx, r14
call fcn.18002fd00
movzx ecx, word [rbx + 0x148]
add edi, dword [rbx + 0x138]
movzx eax, cx
shr ax, 8
mov byte [rdi + r14 + 1], cl
lea ecx, [rdi + 2]
mov byte [rdi + r14], al
add rcx, r14
mov r8d, dword [rbx + 0x148]
mov rdx, qword [rbx + 0x140]
call fcn.18002fd00
xor r9d, r9d
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
call fcn.1800039b0
test eax, eax
jne 0x18000b766
add dword [rbx + 0xe0], r15d
jmp 0x18000b743
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x98], sil
jne 0x18000abaf
xor eax, eax
jmp 0x18000b766
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi + 0x98], sil
jne 0x18000abc0
cmp edi, 0x80
jbe 0x18000abdf
mov eax, 0xfffffeb4
jmp 0x18000b766
mov r12d, edi
mov rcx, rbx
add edi, 2
lea r15d, [rdi + 9]
mov edx, r15d
call fcn.180003c20
test eax, eax
jne 0x18000b766
mov r14d, dword [rbx + 0xe0]
lea ecx, [rdi + 4]
add r14, qword [rbx + 0xd8]
mov byte [r14], socket
movzx eax, byte [rbx + 0x21e]
mov byte [r14 + 1], al
movzx eax, byte [rbx + 0x21f]
mov byte [r14 + 2], al
cmp word [rbx + 0x2f8], si
jl 0x18000ac3f
movzx eax, cx
mov byte [r14 + 4], cl
shr ax, 8
mov byte [r14 + 3], al
mov byte [r14 + 5], recv
lea rcx, [r14 + 0xb]
mov byte [r14 + 8], dil
mov eax, edi
shr eax, 0x10
mov r8, r12
mov byte [r14 + 6], al
mov eax, edi
shr eax, 8
sub di, 2
mov byte [r14 + 7], al
movzx eax, di
shr ax, 8
mov byte [r14 + 9], al
mov byte [r14 + 0xa], dil
mov rdx, qword [rbx + 0x10]
add rdx, 0x98
jmp 0x18000ab71
mov r13d, esi
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x38], esi
cmp qword [rbx + 0x120], rsi
je 0x18000b761
cmp qword [rbx + 0x130], rsi
je 0x18000b761
cmp qword [rbx + 0x140], rsi
jne 0x18000acdc
mov ecx, dword [rbx + 0x128]
mov rax, qword [0x180056fa8]
add ecx, 2
test rax, rax
je 0x18000accb
call rax
jmp 0x18000acd0
call fcn.180035030
mov qword [rbx + 0x140], rax
test rax, rax
je 0x18000ad0f
cmp qword [rbx + 0x150], rsi
jne 0x18000ad19
mov ecx, dword [rbx + 0x128]
mov rax, qword [0x180056fa8]
add ecx, 2
test rax, rax
je 0x18000acfe
call rax
jmp 0x18000ad03
call fcn.180035030
mov qword [rbx + 0x150], rax
test rax, rax
jne 0x18000ad19
mov eax, 0xffffff83
jmp 0x18000b766
mov eax, dword [rbx + 0x138]
lea rcx, [rbp + 0x50]
mov r9, qword [rbx + 0x130]
mov r8d, dword [rbx + 0x128]
mov rdx, qword [rbx + 0x120]
mov dword [rsp + 0x20], eax
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x78], rsi
call fcn.180020870
mov edi, eax
test eax, eax
jne 0x18000ad84
mov r8, qword [rbx + 0x150]
lea rax, [rbx + 0x148]
mov rdx, qword [rbx + 0x30]
lea r9, [rbx + 0x158]
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x50]
mov rax, qword [rbx + 0x140]
mov qword [rsp + 0x20], rax
call fcn.180020460
mov edi, eax
lea rcx, [rbp + 0x50]
call fcn.1800210b0
lea rcx, [rbp + 0x68]
call fcn.1800210b0
test edi, edi
jne 0x18000af93
mov ecx, dword [rbx + 0x148]
add ecx, dword [rbx + 0x138]
mov r15d, dword [rbx + 0x128]
add r15d, 6
add r15d, ecx
mov dword [rsp + 0x34], r15d
cmp word [rbx + 0x2fa], si
jl 0x18000aea7
mov rax, qword [rbx + 0x48]
mov rdi, 0xffffffffffffffff
mov qword [rbp + 0x18], rax
mov rax, qword [rbx + 0x168]
mov dword [rbp + 0x10], edi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x60], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp + 8], rsi
test rax, rax
je 0x18000af9a
mov rcx, qword [rax]
test rcx, rcx
je 0x18000af9a
mov r9d, dword [rax + 0x10]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x38]
call fcn.18001a180
mov edi, eax
test eax, eax
jne 0x18000af43
movsxd rax, dword [rsp + 0x50]
test eax, eax
jne 0x18000ae44
mov edx, esi
jmp 0x18000ae67
imul edx, eax, 0x1c
mov rcx, rax
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + rcx*4 - 4]
sub edx, 0x1c
test r8d, r8d
je 0x18000ae67
nop dword [rax]
inc edx
shr r8d, 1
jne 0x18000ae60
test dl, 7
mov eax, edx
cdq
mov ecx, esi
setne cl
and edx, 7
add r15d, 2
lea r13d, [rdx + rax]
movzx eax, byte [rbx + 0x21e]
sar r13d, 3
add r13d, ecx
add r15d, r13d
mov dword [rsp + 0x3c], r13d
cmp al, 3
jne 0x18000af25
cmp byte [rbx + 0x21f], al
jae 0x18000af3a
lea eax, [r15 + 9]
mov rcx, rbx
mov edx, eax
mov dword [rsp + 0x40], eax
call fcn.180003c20
mov r14d, eax
test eax, eax
je 0x18000afa4
cmp word [rbx + 0x2fa], si
jl 0x18000af1d
cmp dword [rbp + 0x10], 1
jne 0x18000af09
lea rcx, [rbp - 8]
call fcn.1800210b0
lea rcx, [rbp - 0x20]
call fcn.1800210b0
lea rcx, [rbp - 0x38]
call fcn.1800210b0
lea rcx, [rbp - 0x50]
call fcn.1800210b0
lea rcx, [rbp - 0x68]
call fcn.1800210b0
lea rcx, [rbp - 0x80]
call fcn.1800210b0
lea rcx, [rsp + 0x68]
call fcn.1800210b0
lea rcx, [rsp + 0x50]
call fcn.1800210b0
mov eax, r14d
jmp 0x18000b766
cmp al, 0xfe
jne 0x18000aea7
cmp byte [rbx + 0x21f], 0xfd
ja 0x18000aea7
add r15d, 2
jmp 0x18000aea7
cmp dword [rbp + 0x10], 1
jne 0x18000af7f
lea rcx, [rbp - 8]
call fcn.1800210b0
lea rcx, [rbp - 0x20]
call fcn.1800210b0
lea rcx, [rbp - 0x38]
call fcn.1800210b0
lea rcx, [rbp - 0x50]
call fcn.1800210b0
lea rcx, [rbp - 0x68]
call fcn.1800210b0
lea rcx, [rbp - 0x80]
call fcn.1800210b0
lea rcx, [rsp + 0x68]
call fcn.1800210b0
lea rcx, [rsp + 0x50]
call fcn.1800210b0
mov eax, edi
jmp 0x18000b766
mov eax, 0xfffffec3
jmp 0x18000b766
mov r12d, dword [rbx + 0xe0]
lea ecx, [r15 + 4]
add r12, qword [rbx + 0xd8]
mov byte [r12], socket
movzx eax, byte [rbx + 0x21e]
mov byte [r12 + 1], al
movzx eax, byte [rbx + 0x21f]
mov byte [r12 + 2], al
cmp word [rbx + 0x2f8], si
jl 0x18000afed
movzx eax, cx
mov byte [r12 + 4], cl
shr ax, 8
mov byte [r12 + 3], al
mov byte [r12 + 5], recv
mov eax, r15d
shr eax, 0x10
mov byte [r12 + 6], al
mov eax, r15d
mov byte [r12 + 8], r15b
shr eax, 8
mov byte [r12 + 7], al
movzx ecx, word [rbx + 0x128]
mov byte [r12 + 0xa], cl
movzx eax, cx
shr ax, 8
lea rcx, [r12 + 0xb]
mov byte [r12 + 9], al
mov r8d, dword [rbx + 0x128]
mov rdx, qword [rbx + 0x120]
call fcn.18002fd00
movzx ecx, word [rbx + 0x138]
mov edi, dword [rbx + 0x128]
movzx eax, cx
add edi, 0xb
shr ax, 8
mov byte [rdi + r12 + 1], cl
mov byte [rdi + r12], al
add edi, 2
mov r8d, dword [rbx + 0x138]
mov rdx, qword [rbx + 0x130]
mov ecx, edi
add rcx, r12
call fcn.18002fd00
movzx ecx, word [rbx + 0x148]
add edi, dword [rbx + 0x138]
movzx eax, cx
shr ax, 8
mov byte [rdi + r12 + 1], cl
mov byte [rdi + r12], al
add edi, 2
mov r8d, dword [rbx + 0x148]
mov rdx, qword [rbx + 0x140]
mov ecx, edi
add rcx, r12
call fcn.18002fd00
add edi, dword [rbx + 0x148]
cmp word [rbx + 0x2fa], si
jl 0x18000b724
movzx eax, byte [rbx + 0x21e]
xor r8b, r8b
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x31], sil
cmp al, 3
jne 0x18000b3aa
cmp byte [rbx + 0x21f], al
jae 0x18000b3bf
mov rax, qword [rbx + 8]
mov ecx, 1
movzx r8d, r8b
cmp byte [rax + 0x152], cl
cmove r8d, ecx
mov byte [rsp + 0x30], 1
movzx eax, r13w
mov byte [rdi + r12 + 1], r13b
shr ax, 8
mov r15d, 0x20
mov byte [rdi + r12], al
add edi, 2
mov dword [rsp + 0x38], edi
test r8b, r8b
je 0x18000b460
mov r13, qword [rbx + 0x10]
mov edx, esi
mov dword [rbp + 0x80], edx
add r13, 0x158
mov dword [rbp + 0xcc], 0x67452301
mov dword [rbp + 0xd0], 0xefcdab89
mov dword [rbp + 0xd4], 0x98badcfe
mov dword [rbp + 0xd8], 0x10325476
mov qword [rbp + 0x84], rsi
mov eax, edx
mov ecx, 0x40
sub ecx, edx
mov edi, r15d
cmp r15d, ecx
mov rdx, r13
cmovae edi, ecx
lea rcx, [rbp + 0x8c]
add rcx, rax
mov r8d, edi
call fcn.18002fd00
mov edx, dword [rbp + 0x80]
add r13, rdi
add edx, edi
sub r15d, edi
mov dword [rbp + 0x80], edx
cmp edx, 0x40
jne 0x18000b1de
lea rcx, [rbp + 0x80]
call fcn.180028c10
mov ecx, dword [rbp + 0x84]
lea eax, [rcx + 0x40]
mov dword [rbp + 0x84], eax
cmp eax, ecx
jae 0x18000b1d6
inc dword [rbp + 0x88]
mov edx, esi
mov dword [rbp + 0x80], edx
test r15d, r15d
jne 0x18000b171
mov r13, qword [rbx + 0x10]
mov r15d, 0x20
add r13, 0x178
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
mov ecx, 0x40
sub ecx, edx
mov edi, r15d
cmp r15d, ecx
mov rdx, r13
cmovae edi, ecx
lea rcx, [rbp + 0x8c]
add rcx, rax
mov r8d, edi
call fcn.18002fd00
mov edx, dword [rbp + 0x80]
add r13, rdi
add edx, edi
sub r15d, edi
mov dword [rbp + 0x80], edx
cmp edx, 0x40
jne 0x18000b26d
lea rcx, [rbp + 0x80]
call fcn.180028c10
mov ecx, dword [rbp + 0x84]
lea eax, [rcx + 0x40]
mov dword [rbp + 0x84], eax
cmp eax, ecx
jae 0x18000b265
inc dword [rbp + 0x88]
mov edx, esi
mov dword [rbp + 0x80], edx
test r15d, r15d
jne 0x18000b200
mov r8d, dword [rsp + 0x34]
lea r13, [r12 + 9]
mov rdx, r13
lea rcx, [rbp + 0x80]
call fcn.1800293e0
mov ecx, dword [rbp + 0x84]
mov edx, dword [rbp + 0x80]
lea eax, [rdx + rcx]
mov dword [rbp + 0x84], eax
cmp eax, ecx
jae 0x18000b2aa
inc dword [rbp + 0x88]
mov byte [rbp + rdx + 0x8c], 0x80
mov ecx, dword [rbp + 0x80]
inc ecx
mov dword [rbp + 0x80], ecx
cmp ecx, 0x38
jbe 0x18000b2ff
mov eax, ecx
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
lea rcx, [rbp + 0x8c]
add rcx, rax
call fcn.18002fae0
lea rcx, [rbp + 0x80]
mov dword [rbp + 0x80], 0x40
call fcn.180028c10
mov ecx, esi
mov dword [rbp + 0x80], ecx
mov eax, ecx
mov r8d, 0x38
sub r8d, ecx
xor edx, edx
lea rcx, [rbp + 0x8c]
add rcx, rax
call fcn.18002fae0
mov r8d, dword [rbp + 0x84]
mov ecx, r8d
mov eax, dword [rbp + 0x88]
shr ecx, 0x1d
shl r8d, 3
mov dword [rbp + 0x84], r8d
mov dword [rbp + 0xc4], r8d
lea edx, [rcx + rax*8]
lea rcx, [rbp + 0x80]
mov dword [rbp + 0x88], edx
mov dword [rbp + 0xc8], edx
call fcn.180028c10
movups xmm0, xmmword [rbp + 0xcc]
mov edi, dword [rsp + 0x38]
mov r15d, 0x20
mov dword [rbp + 0xcc], 0x67452301
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0xd0], 0xefcdab89
mov dword [rbp + 0xd4], 0x98badcfe
mov dword [rbp + 0xd8], 0x10325476
mov qword [rbp + 0x80], rsi
mov dword [rbp + 0x88], esi
jmp 0x18000b465
cmp al, 0xfe
jne 0x18000b0ec
cmp byte [rbx + 0x21f], 0xfd
ja 0x18000b0ec
mov rax, qword [rbx + 8]
lea ecx, [rdi + 1]
movzx eax, byte [rax + 0x151]
mov byte [rdi + r12], al
add edi, 2
mov rdx, qword [rbx + 8]
movzx eax, byte [rdx + 0x152]
mov byte [rcx + r12], al
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + 0x151]
cmp cl, 2
je 0x18000b103
cmp cl, 4
jne 0x18000b406
mov byte [rsp + 0x31], 1
jmp 0x18000b108
cmp dword [rbp + 0x10], 1
jne 0x18000b442
lea rcx, [rbp - 8]
call fcn.1800210b0
lea rcx, [rbp - 0x20]
call fcn.1800210b0
lea rcx, [rbp - 0x38]
call fcn.1800210b0
lea rcx, [rbp - 0x50]
call fcn.1800210b0
lea rcx, [rbp - 0x68]
call fcn.1800210b0
lea rcx, [rbp - 0x80]
call fcn.1800210b0
lea rcx, [rsp + 0x68]
call fcn.1800210b0
lea rcx, [rsp + 0x50]
call fcn.1800210b0
mov eax, 0xffffff7b
jmp 0x18000b766
lea r13, [r12 + 9]
cmp byte [rsp + 0x30], sil
je 0x18000b50a
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp + 0x150]
add rdx, 0x158
mov dword [rbp + 0x19c], 0x67452301
mov r8d, r15d
mov dword [rbp + 0x1a0], 0xefcdab89
mov dword [rbp + 0x1a4], 0x98badcfe
mov r14d, esi
mov dword [rbp + 0x1a8], 0x10325476
mov dword [rbp + 0x1ac], 0xc3d2e1f0
mov qword [rbp + 0x150], rsi
mov dword [rbp + 0x158], esi
call fcn.18002c200
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp + 0x150]
add rdx, 0x178
mov r8d, r15d
call fcn.18002c200
mov r8d, dword [rsp + 0x34]
lea rcx, [rbp + 0x150]
mov rdx, r13
call fcn.18002c200
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x150]
call fcn.18002c470
cmp byte [rsp + 0x31], sil
je 0x18000b5f9
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp + 0xe0]
add rdx, 0x158
mov dword [rbp + 0xec], 0x6a09e667
mov r8d, r15d
mov dword [rbp + 0xf0], 0xbb67ae85
mov dword [rbp + 0xf4], 0x3c6ef372
mov dword [rbp + 0xf8], 0xa54ff53a
mov dword [rbp + 0xfc], 0x510e527f
mov dword [rbp + 0x100], 0x9b05688c
mov dword [rbp + 0x104], 0x1f83d9ab
mov dword [rbp + 0x108], 0x5be0cd19
mov qword [rbp + 0xe0], rsi
mov dword [rbp + 0xe8], esi
call fcn.18002cf90
mov r14d, eax
test eax, eax
jne 0x18000b71b
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp + 0xe0]
add rdx, 0x178
mov r8d, r15d
call fcn.18002cf90
mov r14d, eax
test eax, eax
jne 0x18000b71b
mov r8d, dword [rsp + 0x34]
lea rcx, [rbp + 0xe0]
mov rdx, r13
call fcn.18002cf90
mov r14d, eax
test eax, eax
jne 0x18000b71b
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xe0]
call fcn.18002d200
mov r14d, eax
test eax, eax
jne 0x18000b71b
mov rcx, qword [rbx + 8]
cmp byte [rcx + 0x152], 1
jne 0x18000b724
movzx eax, byte [rbx + 0x21e]
lea r15, [rbp + 0x20]
mov r13d, 0x24
cmp al, 3
jne 0x18000b629
cmp byte [rbx + 0x21f], al
jb 0x18000b682
jmp 0x18000b636
cmp al, 0xfe
jne 0x18000b682
cmp byte [rbx + 0x21f], 0xfd
ja 0x18000b682
movzx eax, byte [rcx + 0x151]
lea rdx, [rbp + 0x30]
cmp al, 4
mov ecx, 0x58
mov r9d, 0x19e
mov r8d, 0x20
cmovne r9d, ecx
mov ecx, socket
cmovne r8d, ecx
lea rcx, [rbp + 0x1b0]
cmove rdx, rcx
lea rcx, [rbp + 0x1d0]
call fcn.18001c1b0
mov r13d, eax
lea r15, [rbp + 0x1d0]
test r14d, r14d
jne 0x18000b6aa
mov r9d, dword [rsp + 0x3c]
lea rax, [rsp + 0x50]
lea r8, [rdi + r12]
mov qword [rsp + 0x20], rax
mov edx, r13d
mov rcx, r15
call fcn.18002aef0
mov r14d, eax
test eax, eax
jle 0x18000b6cb
lea rax, [rsp + 0x50]
mov r9d, r13d
lea rcx, [rdi + r12]
mov qword [rsp + 0x20], rax
mov r8, r15
mov edx, r14d
call fcn.180002920
mov r14d, eax
cmp dword [rbp + 0x10], 1
jne 0x18000b707
lea rcx, [rbp - 8]
call fcn.1800210b0
lea rcx, [rbp - 0x20]
call fcn.1800210b0
lea rcx, [rbp - 0x38]
call fcn.1800210b0
lea rcx, [rbp - 0x50]
call fcn.1800210b0
lea rcx, [rbp - 0x68]
call fcn.1800210b0
lea rcx, [rbp - 0x80]
call fcn.1800210b0
lea rcx, [rsp + 0x68]
call fcn.1800210b0
lea rcx, [rsp + 0x50]
call fcn.1800210b0
test r14d, r14d
js 0x18000af1d
mov edi, dword [rsp + 0x40]
xor r9d, r9d
mov r8d, edi
mov rdx, r12
mov rcx, rbx
call fcn.1800039b0
test eax, eax
jne 0x18000b766
add dword [rbx + 0xe0], edi
test byte [rbx + 0x2fc], 0x10
jne 0x18000b756
mov rcx, rbx
call fcn.180003b00
mov esi, eax
mov byte [rbx + 0x301], 4
mov eax, esi
jmp 0x18000b766
mov eax, 0xfffffec1
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.18002d8d0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret