Function at 0x180046150
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x18008a040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, qword [0x1800d9728]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x39], rsi
mov r12, rsi
mov eax, dword [rsi + 0x1b20]
and byte [rcx + 0xb5], 0xfb
mov dword [rcx + 0x98], eax
mov qword [rcx + 0x90], r14
mov qword [rcx + 0x88], r14
cmp qword [rcx + 0x10], r14
jne 0x1800462f0
call fcn.180045e80
mov ecx, r14d
mov edx, r14d
mov qword [rbp - 0x11], rcx
mov dword [rbp - 9], edx
cmp dword [rdi + 0x28], r14d
jle 0x1800461d8
mov rcx, rdi
mov edx, 1
mov qword [rbp - 0x11], rcx
mov dword [rbp - 9], edx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r14
cmovne rax, rdi
mov qword [rbp - 0x19], rax
cmp edx, 1
jle 0x1800461f5
test rax, rax
jne 0x180046235
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x180046215
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.180045e00
mov edx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x180046235
lea rdx, [rbp - 0x19]
mov rcx, r8
call fcn.180045e00
mov edx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x19]
mov qword [rdi + 0x88], rax
cmp edx, 1
mov rax, r14
cmove rax, rcx
mov qword [rdi + 0x90], rax
cmp dword [rdi + 0xa4], r14d
jne 0x180046267
test rcx, rcx
je 0x1800462e9
mov eax, dword [rcx]
mov dword [rdi + 0xa4], eax
test rcx, rcx
je 0x1800462e9
mov rax, qword [rcx + 0x30]
mov r8d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x74], eax
movsxd rax, dword [rcx + 0x28]
cmp eax, r8d
jle 0x1800462e9
mov r10, qword [rcx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
nop dword [rax + rax]
mov rax, qword [rcx]
cmp byte [rax + 0x2d], r14b
je 0x1800462ca
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x1800462b0
jmp 0x1800462e9
movsxd rax, r8d
mov rax, qword [r10 + rax*8]
movups xmm0, xmmword [rax + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movsd xmm1, qword [rax + 0x24]
movsd qword [rdi + 0x6c], xmm1
mov eax, dword [rax + 0x2c]
mov dword [rdi + 0x74], eax
mov rsi, qword [0x1800d9728]
cmp qword [rdi + 0x38], r14
je 0x18004630f
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x18004630f
mov rcx, rdi
call fcn.180048050
mov rsi, qword [0x1800d9728]
mov edx, dword [rdi + 0x28]
mov qword [rsp + 0x108], rbx
cmp edx, 1
jg 0x1800464dd
cmp qword [rdi + 0x10], r14
jne 0x1800464dd
test dword [rdi + 8], 0x400
jne 0x1800464dd
cmp qword [rdi + 0x18], r14
jne 0x1800464dd
cmp byte [r12 + 0xca], r14b
jne 0x1800464dd
test edx, edx
je 0x180046404
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x2c], r14b
jne 0x1800464dd
cmp edx, 1
jne 0x180046404
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb0]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x48]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rbx + 0x58]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x48], xmm1
mov dword [rdi + 0xb0], eax
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x1800463ce
cmp qword [r12 + 0x1d78], rax
jne 0x1800463ce
mov rcx, rbx
call fcn.18003acf0
mov rsi, qword [0x1800d9728]
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x180046404
mov rdx, qword [rax + 0x30]
mov qword [rbx + 0x30], rdx
mov rax, qword [rdi + 0x78]
mov ecx, dword [rax + 0x38]
mov dword [rbx + 0x38], ecx
mov rax, qword [rdi + 0x78]
cmp byte [rax + 0xbe], r14b
je 0x180046404
mov qword [rdx + 0x98], rbx
mov byte [rbx + 0xbe], 1
mov rax, qword [rdi + 0x78]
test rax, rax
je 0x180046421
cmp qword [rax + 0x450], rdi
jne 0x18004641d
mov qword [rax + 0x450], r14
mov qword [rdi + 0x78], r14
cmp dword [rdi + 0x28], 1
jne 0x18004643f
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x80], rax
mov rax, qword [rcx]
and byte [rax + 0x472], 0xfe
cmp qword [rdi + 0x38], r14
je 0x180046454
mov rcx, rdi
call fcn.180048050
mov rsi, qword [0x1800d9728]
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xc], 1
and al, 0xe3
mov dword [rdi + 0xac], r14d
mov byte [rdi + 0xb4], al
mov eax, dword [r12 + 0x1b20]
mov dword [rdi + 0x9c], eax
jge 0x180046e37
cmp dword [rdi + 0x28], 1
jne 0x180046e37
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.18002f870
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1bc0], rbx
movss dword [rsi + 0x1c18], xmm1
movss dword [rsi + 0x1c1c], xmm0
and byte [rdi + 0xb4], 0x7f
jmp 0x180046e37
test byte [rdi + 0xb4], 1
je 0x18004656c
cmp qword [rdi + 0x78], r14
jne 0x18004656c
cmp qword [rdi + 0x10], r14
jne 0x18004656c
test dword [rdi + 8], 0x400
jne 0x18004656c
cmp qword [rdi + 0x18], r14
jne 0x18004656c
mov r9d, dword [rdi + 0xa8]
test r9d, r9d
je 0x180046547
mov r8d, dword [rdi + 0x28]
mov ecx, r14d
test r8d, r8d
jle 0x180046547
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x180046537
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x180046521
jmp 0x180046547
mov rax, qword [rdi + 0x30]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x18004654e
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
cmp byte [rdx + 0xd4], r14b
jg 0x180046560
cmp byte [rdx + 0xd5], r14b
jle 0x18004656c
mov dword [rdi + 0xc], 2
jmp 0x180046e37
mov eax, dword [rdi + 8]
mov rbx, r14
movzx edx, byte [rdi + 0xb4]
mov qword [rsp + 0x110], r13
mov r13d, eax
or r13d, dword [rdi + 4]
shr eax, 0xa
movaps xmmword [rsp + 0xc0], xmm6
mov byte [rbp - 0x68], bl
test al, 1
je 0x1800465cf
mov rbx, qword [rdi + 0x78]
and dl, 0xef
mov ecx, r13d
mov eax, r13d
shr ecx, 0xf
shl cl, 2
shr eax, 0xe
not cl
shl al, 3
xor cl, dl
not al
and cl, 4
xor cl, dl
xor al, cl
and al, 8
xor al, cl
mov byte [rdi + 0xb4], al
jmp 0x18004694f
mov ecx, dword [rdi + 0x28]
test ecx, ecx
jle 0x1800465e8
bt r13d, 0xf
jb 0x1800465e8
and dl, 0xef
or dl, 4
movzx eax, dl
jmp 0x1800465f2
and dl, 0xeb
movzx eax, dl
test ecx, ecx
jle 0x180046606
bt r13d, 0xe
jb 0x180046606
or al, 8
mov r8d, r14d
mov byte [rdi + 0xb4], al
jmp 0x180046616
and dl, 0xf7
mov r8d, r14d
mov byte [rdi + 0xb4], dl
test ecx, ecx
jle 0x18004666f
mov r9, r14
nop dword [rax]
mov rax, qword [rdi + 0x30]
lea r9, [r9 + 8]
cmp ecx, 1
setg cl
inc r8d
mov rdx, qword [r9 + rax - 8]
movzx eax, byte [rdx + 0x472]
and al, 0xfe
or cl, al
mov byte [rdx + 0x472], cl
movzx edx, byte [rdx + 0xc8]
movzx eax, byte [rdi + 0xb4]
shl dl, 4
or dl, al
and al, 0xef
and dl, 0x10
xor dl, al
mov byte [rdi + 0xb4], dl
mov ecx, dword [rdi + 0x28]
cmp r8d, ecx
jl 0x180046620
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1800468e4
test dl, 1
je 0x1800468f6
test ecx, ecx
jle 0x180046692
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x180046695
mov rcx, r14
mov eax, dword [rdi + 0xb0]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x1800466b9
test rcx, rcx
je 0x1800466e9
or dword [rsi + 0x1c48], 1
movsd xmm0, qword [rcx + 0x48]
jmp 0x1800466c9
cmp eax, 1
jne 0x1800466e9
or dword [rsi + 0x1c48], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rsi + 0x1c84], 1
mov dword [rsi + 0x1c4c], 1
mov qword [rsi + 0x1c64], r14
movsd qword [rsi + 0x1c5c], xmm0
mov eax, dword [rdi + 0xb0]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x18004670c
test rcx, rcx
je 0x18004672f
or dword [rsi + 0x1c48], eax
movsd xmm0, qword [rcx + 0x58]
jmp 0x18004671d
cmp eax, 1
jne 0x18004672f
or dword [rsi + 0x1c48], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rsi + 0x1c50], 1
movsd qword [rsi + 0x1c6c], xmm0
mov eax, dword [rdi + 0xb0]
and al, 0x38
cmp al, 0x10
jne 0x18004675e
test rcx, rcx
je 0x18004675e
movzx eax, byte [rcx + 0xc2]
or dword [rsi + 0x1c48], 8
mov byte [rsi + 0x1c85], al
mov dword [rsi + 0x1c54], 1
mov eax, dword [rdi + 0xb0]
and eax, 0x1c0
cmp eax, 0x80
jne 0x180046788
test rcx, rcx
je 0x180046788
mov eax, dword [rcx + 0x38]
or dword [rsi + 0x1c48], 0x100
mov dword [rsi + 0x1cac], eax
or dword [rsi + 0x1c48], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x5c]
mov edx, 0x14
lea rcx, [rbp - 1]
movups xmmword [rsi + 0x1cb4], xmm0
movsd xmm1, qword [rdi + 0x6c]
movsd qword [rsi + 0x1cc4], xmm1
mov eax, dword [rdi + 0x74]
mov dword [rsi + 0x1ccc], eax
mov r9d, dword [rdi]
call fcn.18002cf10
mov rbx, qword [0x1800d9728]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 1
movss xmm1, dword [rbx + 0x1644]
lea rcx, [rbx + 0x1d00]
movss xmm0, dword [rbx + 0x1648]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x51], xmm0
call fcn.18004cd40
xor edx, edx
mov qword [rbx + 0x1644], r14
mov r8d, 0x20081139
lea rcx, [rbp - 1]
call fcn.180037810
mov rsi, qword [0x1800d9728]
lea r9, [0x180078300]
movsxd rax, dword [rsi + 0x1d00]
mov rdx, qword [rsi + 0x1d08]
lea rcx, [rax + rax*2]
movsxd rax, dword [rdx + rcx*4 - 0xc]
lea rax, [rax + rax*2]
cmp dword [r9 + rax*4], 8
mov r8d, dword [r9 + rax*4 + 8]
jne 0x180046885
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x180046868
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
jmp 0x180046885
cmp eax, 2
jne 0x180046885
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rsi + 0x1640], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rsi + 0x1644], eax
dec dword [rsi + 0x1d00]
mov rbx, qword [r12 + 0x1b98]
mov qword [rdi + 0x78], rbx
mov byte [rbp - 0x68], 1
movss xmm0, dword [rbx + 0x48]
movss xmm1, dword [rbx + 0x4c]
movss dword [rbx + 0x118], xmm0
movss dword [rbx + 0x11c], xmm1
mov qword [rbx + 0x450], rdi
mov rcx, qword [rdi + 0x78]
movss dword [rdi + 0x40], xmm0
movss dword [rdi + 0x44], xmm1
movsd xmm0, qword [rbx + 0x50]
movsd qword [rdi + 0x48], xmm0
cmp byte [rcx + 0xc5], r14b
je 0x1800468ec
call fcn.18003ac40
jmp 0x1800468ec
mov rbx, qword [rax + 0x78]
mov qword [rdi + 0x78], rbx
and dword [rdi + 0xb0], 0xfffffe00
cmp byte [rdi + 0xb4], r14b
jge 0x18004694f
mov r14, qword [rdi + 0x78]
test r14, r14
je 0x18004694f
mov rcx, r14
call fcn.18002f870
movss xmm1, dword [rsi + 0x3c8]
movss xmm0, dword [rsi + 0x3cc]
subss xmm1, dword [rdi + 0x40]
subss xmm0, dword [rdi + 0x44]
mov qword [rsi + 0x1bc0], r14
movss dword [rsi + 0x1c18], xmm1
movss dword [rsi + 0x1c1c], xmm0
and byte [rdi + 0xb4], 0x7f
mov rsi, qword [0x1800d9728]
cmp qword [rdi + 0x10], 0
jne 0x1800469cb
mov rax, qword [r12 + 0x1d78]
test rax, rax
je 0x180046987
mov rcx, qword [rax + 0x3f0]
mov rax, qword [rcx + 0x448]
test rax, rax
je 0x180046987
cmp qword [rcx + 0x3e0], rbx
jne 0x180046987
mov eax, dword [rax]
mov dword [rdi + 0xa4], eax
test rbx, rbx
je 0x1800469cb
test r13b, 8
je 0x1800469cb
mov rdx, qword [rbx + 0x318]
mov byte [rbp - 0x69], 1
lea rcx, [rdx + 0xa8]
call fcn.1800581c0
mov rdx, qword [rbx + 0x318]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.1800586f0
mov rsi, qword [0x1800d9728]
jmp 0x1800469cf
mov byte [rbp - 0x69], 0
cmp qword [rdi + 0x10], 0
xorps xmm6, xmm6
mov r14, qword [rdi + 0x88]
mov qword [rsp + 0x118], r15
jne 0x180046b4c
test rbx, rbx
je 0x180046b4c
test r13b, 8
je 0x180046b4c
test r14, r14
je 0x180046b4c
cmp qword [r14 + 0x18], 0
jne 0x180046b4c
cmp dword [r14 + 0x28], 0
jne 0x180046b4c
cmp byte [rsi + 0x1efc], 0
lea r12, [rsi + 0x1f10]
mov eax, 0
mov r15b, 1
cmove r12, rax
test r12, r12
je 0x180046a76
cmp dword [r12 + 0x14], 0xffffffff
je 0x180046a76
lea rdx, [r12 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180046a76
mov rdx, qword [r12]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1800480e0
test al, al
je 0x180046a76
mov rax, qword [rdi + 0x10]
jmp 0x180046b5c
movss xmm3, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movaps xmm4, xmm3
addss xmm4, dword [r14 + 0x48]
subss xmm3, dword [0x18007dca4]
movaps xmm1, xmm2
addss xmm1, dword [r14 + 0x4c]
subss xmm2, dword [0x18007dca4]
subss xmm4, dword [0x18007daf4]
subss xmm1, dword [0x18007daf4]
comiss xmm3, xmm4
ja 0x180046a6d
comiss xmm2, xmm1
ja 0x180046a6d
mov rcx, qword [rbx + 0x3e0]
subss xmm1, xmm2
subss xmm4, xmm3
movaps xmm0, xmm3
cvttss2si edx, xmm1
cvttss2si r8d, xmm4
mov word [rbp - 0x57], dx
movaps xmm1, xmm2
mov word [rbp - 0x59], r8w
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x2d0], eax
subss xmm0, dword [rbx + 0x48]
subss xmm1, dword [rbx + 0x4c]
cvttss2si eax, xmm0
mov word [rbp - 0x59], ax
cvttss2si eax, xmm1
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x2d4], eax
mov word [rbp - 0x59], r8w
mov word [rbp - 0x57], dx
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2d0], eax
subss xmm3, dword [rcx + 0x48]
subss xmm2, dword [rcx + 0x4c]
cvttss2si eax, xmm3
mov word [rbp - 0x59], ax
cvttss2si eax, xmm2
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2d4], eax
mov rax, qword [rdi + 0x10]
jmp 0x180046b5c
mov rax, qword [rdi + 0x10]
xor r15b, r15b
test rbx, rbx
je 0x180046c0b
test rax, rax
jne 0x180046b83
mov r8, qword [rbx + 0x50]
xor r9d, r9d
mov rdx, qword [rbx + 0x48]
mov rcx, rdi
call fcn.180049c60
mov rcx, rdi
call fcn.18004a0d0
mov rsi, qword [0x1800d9728]
cmp qword [rdi + 0x18], 0
jne 0x180046c07
cmp dword [rdi + 0x28], 0
jne 0x180046c07
test byte [rdi + 0xb4], 1
je 0x180046c07
test r13b, 8
jne 0x180046c07
movups xmm0, xmmword [rsi + 0x1974]
lea rcx, [rbp - 0x29]
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1640]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rdi + 0x48]
addss xmm0, dword [rdi + 0x40]
movss dword [rbp - 0x59], xmm0
call fcn.18002d460
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x59]
movss dword [rsp + 0x20], xmm6
call fcn.180057c90
mov r12, qword [rbp - 0x39]
cmp byte [rbp - 0x69], 0
mov r13, qword [rsp + 0x110]
je 0x180046d3a
test byte [rdi + 0xb4], 1
je 0x180046d3a
mov rdx, qword [rbx + 0x318]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.1800586f0
mov rax, qword [0x1800d9728]
lea rcx, [rbp - 0x29]
movups xmm0, xmmword [rax + 0x1724]
movups xmmword [rbp - 0x29], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1640]
movss dword [rbp - 0x1d], xmm0
movss xmm0, dword [rdi + 0x40]
test r15b, r15b
je 0x180046ce4
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x39], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x35], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x55], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x59], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x31], xmm1
movss dword [rbp - 0x2d], xmm2
movss dword [rbp - 0x4d], xmm3
movss dword [rbp - 0x51], xmm0
call fcn.18002d460
mov rcx, qword [rbx + 0x318]
lea rdx, [rbp - 0x59]
mov r9d, eax
movss dword [rsp + 0x20], xmm6
lea r8, [rbp - 0x39]
call fcn.18005cce0
jmp 0x180046d27
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x35], xmm1
movss dword [rbp - 0x39], xmm0
call fcn.18002d460
mov rcx, qword [rbx + 0x318]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], 0xf
lea r8, [rbp - 0x39]
movss dword [rsp + 0x20], xmm6
call fcn.180057c90
mov rdx, qword [rbx + 0x318]
lea rcx, [rdx + 0xa8]
call fcn.180058380
movaps xmm6, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0x118]
test rbx, rbx
je 0x180046d62
cmp dword [rdi + 0x28], 0
jle 0x180046d62
mov rdx, rbx
mov rcx, rdi
call fcn.180047070
jmp 0x180046d7d
movzx eax, byte [rdi + 0xb4]
and al, 0xdf
mov dword [rdi + 0xac], 0
and al, 0xfd
mov byte [rdi + 0xb4], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x180046d95
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x180046d95
mov dword [rdi + 0xa8], ecx
jmp 0x180046dab
cmp dword [rdi + 0x28], 0
jle 0x180046dab
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xa8], eax
test rbx, rbx
je 0x180046dee
test byte [rdi + 0xb4], 1
je 0x180046dee
cmp qword [rdi + 0x10], 0
jne 0x180046dee
mov rax, qword [r12 + 0x1bc0]
test rax, rax
je 0x180046dd6
cmp qword [rax + 0x3e8], rbx
je 0x180046dee
mov rcx, rbx
call fcn.18004b3f0
mov eax, dword [r12 + 0x1b20]
mov dword [rdi + 0x9c], eax
jmp 0x180046e01
mov eax, dword [r12 + 0x1b20]
mov dword [rdi + 0x9c], eax
test rbx, rbx
je 0x180046e2c
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180046e0f
call fcn.180046150
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180046e1d
call fcn.180046150
cmp qword [rdi + 0x10], 0
jne 0x180046e2c
mov rcx, rbx
call fcn.180036460
cmp byte [rbp - 0x68], 0
je 0x180046e37
call fcn.18003aa80
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800717c0
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret