Function at 0x180029b30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov rax, qword [0x180140080]
xor rax, rsp
mov qword [rbp - 1], rax
mov r8, qword [0x180776070]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x49], r8
mov rsi, r8
mov eax, dword [r8 + 0x3f70]
and byte [rcx + 0xc8], 0xfb
mov dword [rcx + 0xac], eax
mov qword [rcx + 0xa0], r14
mov qword [rcx + 0x98], r14
cmp qword [rcx + 0x18], r14
jne 0x180029cf7
call fcn.180029730
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rdi + 0x30], eax
jle 0x180029bba
mov rdx, rdi
inc r8d
mov qword [rbp - 0x29], rdx
mov dword [rbp - 0x21], r8d
jmp 0x180029bbe
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov eax, dword [rdi + 0x10]
shr eax, 0xb
test al, 1
cmovne rcx, rdi
mov qword [rbp - 0x31], rcx
cmp r8d, 1
jle 0x180029bdd
test rcx, rcx
jne 0x180029c1f
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x180029bfe
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.1800296b0
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x180029c1f
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.1800296b0
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rdi + 0x98], rcx
mov rax, r14
mov dword [rdi + 0xa8], r8d
cmove rax, rdx
mov qword [rdi + 0xa0], rax
cmp dword [rdi + 0xb8], r14d
jne 0x180029c59
test rdx, rdx
je 0x180029cd9
mov eax, dword [rdx]
mov dword [rdi + 0xb8], eax
test rdx, rdx
je 0x180029cd9
mov rax, qword [rdx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rdi + 0x7c], eax
movsxd rax, dword [rdx + 0x30]
cmp eax, r9d
jle 0x180029cd9
mov r11, qword [rdx + 0x38]
mov r10, rax
mov r8d, r9d
lea rdx, [r11 + 8]
nop word [rax + rax]
mov rax, qword [rdx]
cmp byte [rax + 0x35], r14b
je 0x180029cba
inc r9d
inc r8
add rdx, 8
cmp r8, r10
jl 0x180029ca0
jmp 0x180029cd9
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rdi + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rdi + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rdi + 0x7c], eax
test rcx, rcx
je 0x180029cf0
nop
or byte [rcx + 0xc8], 0x20
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x180029ce0
mov r8, qword [0x180776070]
cmp qword [rdi + 0x40], r14
je 0x180029d16
mov eax, dword [rdi + 0x10]
shr eax, 0xc
test al, 1
je 0x180029d16
mov rcx, rdi
call fcn.18002ba40
mov r8, qword [0x180776070]
mov r10, qword [rdi + 0x18]
xor r9b, r9b
mov qword [rsp + 0xf8], rbx
test r10, r10
jne 0x180029eba
test dword [rdi + 0x10], 0x400
jne 0x180029eba
mov edx, dword [rdi + 0x30]
cmp edx, 1
jg 0x180029d63
cmp qword [rdi + 0x20], r14
jne 0x180029d63
cmp byte [rsi + 0x7a], r9b
jne 0x180029d63
test edx, edx
je 0x180029d60
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x34], r9b
jne 0x180029d63
mov r9b, 1
cmp dword [rdi + 0xa8], r14d
je 0x180029d75
test r9b, r9b
je 0x180029eba
cmp edx, 1
jne 0x180029e15
mov rax, qword [rdi + 0x38]
mov rbx, qword [rax]
mov eax, dword [rdi + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x48], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x50], xmm1
mov dword [rdi + 0xc4], eax
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x180029dd9
cmp qword [rsi + 0x4a78], rax
jne 0x180029dd9
xor edx, edx
mov rcx, rbx
call fcn.18001a530
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x180029e15
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x88]
cmp byte [rax + 0xea], r14b
je 0x180029e15
mov qword [rdx + 0x60], rbx
mov byte [rbx + 0xea], 1
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x180029e38
cmp qword [rax + 0x450], rdi
jne 0x180029e31
mov qword [rax + 0x450], r14
mov qword [rdi + 0x88], r14
cmp dword [rdi + 0x30], 1
jne 0x180029e56
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov qword [rdi + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x42d], 0xfe
cmp qword [rdi + 0x40], r14
je 0x180029e64
mov rcx, rdi
call fcn.18002ba40
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0x14], 1
and al, 0xe7
mov dword [rdi + 0xc0], r14d
test byte [rdi + 0xc9], 1
mov byte [rdi + 0xc8], al
mov eax, dword [rsi + 0x3f70]
mov dword [rdi + 0xb0], eax
je 0x18002a887
cmp dword [rdi + 0x30], 1
jne 0x18002a887
mov rdx, qword [rdi + 0x38]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.180029ac0
jmp 0x18002a887
test byte [rdi + 0xc8], 1
je 0x180029f4b
cmp qword [rdi + 0x88], r14
jne 0x180029f4b
test r10, r10
jne 0x180029f4b
test dword [rdi + 0x10], 0x400
jne 0x180029f4b
cmp qword [rdi + 0x20], r14
jne 0x180029f4b
mov r10d, dword [rdi + 0xbc]
test r10d, r10d
je 0x180029f26
mov r9d, dword [rdi + 0x30]
mov ecx, r14d
test r9d, r9d
jle 0x180029f26
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 0x10], r10d
je 0x180029f16
inc ecx
add rdx, 8
cmp ecx, r9d
jl 0x180029f00
jmp 0x180029f26
mov rax, qword [rdi + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x180029f2d
mov rax, qword [rdi + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0x108], r14b
jg 0x180029f3f
cmp byte [rdx + 0x109], r14b
jle 0x180029f4b
mov dword [rdi + 0x14], 2
jmp 0x18002a887
mov r9d, dword [rdi + 0x30]
mov qword [rsp + 0x100], r12
mov r12d, dword [rdi + 0x10]
mov qword [rsp + 0x108], r13
movaps xmmword [rsp + 0x90], xmm9
test r9d, r9d
jle 0x180029f90
bt r12d, 0xe
jb 0x180029f90
movzx eax, byte [rdi + 0xc8]
mov r10d, r14d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rdi + 0xc8], al
jmp 0x180029fac
movzx eax, byte [rdi + 0xc8]
mov r10d, r14d
and al, 0xef
mov ecx, r12d
and al, 0xf7
mov byte [rdi + 0xc8], al
test r9d, r9d
jle 0x18002a004
mov r11, r14
nop
mov rax, qword [rdi + 0x38]
lea r11, [r11 + 8]
mov rdx, qword [r11 + rax - 8]
movzx eax, byte [rdi + 0xc8]
movzx ecx, byte [rdx + 0xf5]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rdi + 0xc8], cl
cmp r9d, 1
movzx eax, byte [rdx + 0x42d]
setg cl
and al, 0xfe
or cl, al
inc r10d
mov byte [rdx + 0x42d], cl
mov r9d, dword [rdi + 0x30]
cmp r10d, r9d
jl 0x180029fb0
mov ecx, dword [rdi + 0x10]
bt r12d, 0xf
jae 0x18002a012
and byte [rdi + 0xc8], 0xf7
xor r13b, r13b
shr ecx, 0xa
mov rbx, r14
test cl, 1
je 0x18002a02c
mov rbx, qword [rdi + 0x88]
jmp 0x18002a2c8
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x18002a28c
test byte [rdi + 0xc8], 1
je 0x18002a2a4
test r9d, r9d
jle 0x18002a054
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
jmp 0x18002a057
mov rcx, r14
mov eax, dword [rdi + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x18002a07c
test rcx, rcx
je 0x18002a0b0
or dword [r8 + 0x48f0], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x18002a08d
cmp eax, 1
jne 0x18002a0b0
or dword [r8 + 0x48f0], eax
movsd xmm0, qword [rdi + 0x48]
mov byte [r8 + 0x492c], 1
mov dword [r8 + 0x48f4], 1
mov qword [r8 + 0x490c], r14
movsd qword [r8 + 0x4904], xmm0
mov eax, dword [rdi + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x18002a0d4
test rcx, rcx
je 0x18002a0fa
or dword [r8 + 0x48f0], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x18002a0e6
cmp eax, 1
jne 0x18002a0fa
or dword [r8 + 0x48f0], 2
movsd xmm0, qword [rdi + 0x50]
mov dword [r8 + 0x48f8], 1
movsd qword [r8 + 0x4914], xmm0
mov eax, dword [rdi + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x18002a12c
test rcx, rcx
je 0x18002a12c
movzx eax, byte [rcx + 0xee]
or dword [r8 + 0x48f0], 8
mov byte [r8 + 0x492d], al
mov dword [r8 + 0x48fc], 1
mov eax, dword [rdi + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x18002a158
test rcx, rcx
je 0x18002a158
mov eax, dword [rcx + 0x40]
or dword [r8 + 0x48f0], 0x100
mov dword [r8 + 0x4954], eax
or dword [r8 + 0x48f0], 0x400
lea rcx, [rbp - 0x19]
movups xmm0, xmmword [rdi + 0x64]
mov edx, reloc.WS2_32.dll_sendto
movups xmmword [r8 + 0x495c], xmm0
movsd xmm1, qword [rdi + 0x74]
movsd qword [r8 + 0x496c], xmm1
mov eax, dword [rdi + 0x7c]
mov dword [r8 + 0x4974], eax
lea r8, str.DockNode__02X
mov r9d, dword [rdi]
call fcn.18000b0c0
mov rbx, qword [0x180776070]
lea rdx, [rbp - 0x59]
mov dword [rbp - 0x59], 2
or dword [rbx + 0x48f0], 0x40
lea rcx, [rbx + 0x4990]
mov dword [rbx + 0x4950], r14d
movss xmm1, dword [rbx + 0x38e8]
movss xmm0, dword [rbx + 0x38ec]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x51], xmm0
call fcn.180031350
xor edx, edx
mov qword [rbx + 0x38e8], r14
mov r8d, 0x20081139
lea rcx, [rbp - 0x19]
call fcn.180017260
mov ecx, 1
call fcn.18000be90
mov rax, qword [rdi + 0x88]
mov r13b, 1
mov rbx, qword [rsi + 0x4018]
test rax, rax
je 0x18002a232
cmp rax, rbx
je 0x18002a232
cmp qword [rax + 0x450], rdi
jne 0x18002a232
mov qword [rax + 0x450], r14
mov qword [rbx + 0x450], rdi
mov qword [rdi + 0x88], rbx
movss xmm0, dword [rbx + 0x50]
movss xmm1, dword [rbx + 0x54]
movss dword [rbx + 0x138], xmm0
movss dword [rbx + 0x13c], xmm1
mov rcx, qword [rdi + 0x88]
movss dword [rdi + 0x48], xmm0
movss dword [rdi + 0x4c], xmm1
movsd xmm0, qword [rbx + 0x58]
movsd qword [rdi + 0x50], xmm0
cmp byte [rcx + 0xf1], r14b
je 0x18002a283
call fcn.18001a480
mov r8, qword [0x180776070]
jmp 0x18002a29a
mov rbx, qword [rax + 0x88]
mov qword [rdi + 0x88], rbx
and dword [rdi + 0xc4], 0xfffffe00
test byte [rdi + 0xc9], 1
je 0x18002a2c8
mov rdx, qword [rdi + 0x88]
test rdx, rdx
je 0x18002a2c8
mov rcx, rdi
call fcn.180029ac0
mov r8, qword [0x180776070]
cmp qword [rdi + 0x18], r14
jne 0x18002a34a
mov rdx, qword [rsi + 0x4a78]
test rdx, rdx
je 0x18002a34a
mov rdx, qword [rdx + 0x3b8]
test rdx, rdx
je 0x18002a34a
nop word [rax + rax]
mov rcx, qword [rdx + 0x448]
test rcx, rcx
je 0x18002a34a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x18002a31c
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a310
cmp rcx, rdi
je 0x18002a33b
mov rdx, qword [rcx + 0x88]
test rdx, rdx
je 0x18002a34a
mov rdx, qword [rdx + 0x3b8]
test rdx, rdx
jne 0x18002a2f0
jmp 0x18002a34a
mov rax, qword [rdx + 0x448]
mov ecx, dword [rax]
mov dword [rdi + 0xb8], ecx
cmp qword [rdi + 0x18], 0
xorps xmm9, xmm9
mov r14, qword [rdi + 0x98]
mov qword [rsp + 0xc0], r15
jne 0x18002a533
test rbx, rbx
je 0x18002a533
test r12b, 8
je 0x18002a533
test r14, r14
je 0x18002a533
cmp qword [r14 + 0x20], 0
jne 0x18002a533
cmp dword [r14 + 0x30], 0
jne 0x18002a533
cmp byte [r8 + 0x4c3c], 0
mov sil, 1
je 0x18002a3f3
cmp dword [r8 + 0x4c64], 0xffffffff
je 0x18002a3f3
lea r15, [r8 + 0x4c50]
test r15, r15
je 0x18002a3f3
cmp dword [r15 + 0x14], 0xffffffff
je 0x18002a3f3
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x18002a3f3
mov rdx, qword [r15]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.18002bba0
test al, al
je 0x18002a3f3
movzx r15d, sil
jmp 0x18002a54c
mov rax, qword [r14 + 0x18]
mov rcx, r14
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
test rax, rax
je 0x18002a41c
nop
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x18002a410
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r14 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x4c]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x4c]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x50]
addss xmm2, dword [r14 + 0x50]
addss xmm1, dword [r14 + 0x54]
addss xmm7, dword [rcx + 0x54]
movss xmm5, dword [0x180125314]
jbe 0x18002a462
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x18002a473
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x4c]
jbe 0x18002a47d
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xa0]
jbe 0x18002a48e
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x18002a3ea
comiss xmm3, xmm1
ja 0x18002a3ea
mov rcx, qword [rbx + 0x3a8]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm3
mov word [rbp - 0x57], r8w
cvttss2si edx, xmm2
mov word [rbp - 0x59], dx
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x290], eax
subss xmm0, dword [rbx + 0x50]
subss xmm1, dword [rbx + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x59], ax
cvttss2si eax, xmm1
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0x294], eax
test rcx, rcx
je 0x18002a536
mov word [rbp - 0x59], dx
mov word [rbp - 0x57], r8w
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x290], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x59], ax
cvttss2si eax, xmm3
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x294], eax
mov rax, qword [rdi + 0x18]
jmp 0x18002a543
xor sil, sil
mov rax, qword [rdi + 0x18]
test rbx, rbx
je 0x18002a635
movzx r15d, sil
test rax, rax
jne 0x18002a567
mov r8, qword [rbx + 0x58]
xor r9d, r9d
mov rdx, qword [rbx + 0x50]
mov rcx, rdi
call fcn.18002d990
mov rcx, rdi
call fcn.18002dda0
cmp qword [rdi + 0x20], 0
jne 0x18002a635
cmp dword [rdi + 0x30], 0
jne 0x18002a635
test byte [rdi + 0xc8], 1
movzx esi, r15b
je 0x18002a635
mov rdx, qword [rbx + 0x2d8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.18003d460
test r12b, 8
je 0x18002a5b5
mov dword [rdi + 0x80], 0
jmp 0x18002a62e
mov rax, qword [0x180776070]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c3c]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x35], xmm0
call fcn.18000b7f0
mov dword [rdi + 0x80], eax
test eax, eax
je 0x18002a62e
movss xmm1, dword [rdi + 0x4c]
lea rdx, [rdi + 0x48]
movss xmm0, dword [rdi + 0x50]
lea r8, [rbp - 0x59]
addss xmm1, dword [rdi + 0x54]
addss xmm0, dword [rdx]
mov rcx, qword [rbx + 0x2d8]
mov r9d, eax
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm9
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x59], xmm0
call fcn.18003caf0
or byte [rdi + 0xc8], 4
mov r15, qword [rsp + 0xc0]
test rbx, rbx
je 0x18002a798
cmp qword [rdi + 0x18], 0
jne 0x18002a76c
test r12b, 8
je 0x18002a76c
test byte [rdi + 0xc8], 1
je 0x18002a76c
mov rdx, qword [rbx + 0x2d8]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.18003d460
mov rax, qword [0x180776070]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39ec]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rbp - 0x25], xmm0
test sil, sil
je 0x18002a723
movss xmm0, dword [r14 + 0x48]
movss xmm1, dword [r14 + 0x4c]
movss dword [rbp - 0x59], xmm0
addss xmm0, dword [r14 + 0x50]
movss dword [rbp - 0x55], xmm1
addss xmm1, dword [r14 + 0x54]
movss dword [rbp - 0x51], xmm0
movss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x4d], xmm1
movss xmm1, dword [rdi + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rdi + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.18000b7f0
mov rcx, qword [rbx + 0x2d8]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x59]
call fcn.180041920
jmp 0x18002a76c
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x4c]
addss xmm0, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x54]
movss dword [rbp - 0x59], xmm0
movss dword [rbp - 0x55], xmm1
call fcn.18000b7f0
mov rcx, qword [rbx + 0x2d8]
lea rdx, [rdi + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x59]
movss dword [rsp + 0x20], xmm9
call fcn.18003caf0
mov rdx, qword [rbx + 0x2d8]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.18003d460
cmp dword [rdi + 0x30], 0
jle 0x18002a798
mov rdx, rbx
mov rcx, rdi
call fcn.18002aa30
jmp 0x18002a7b3
movzx eax, byte [rdi + 0xc8]
and al, 0xbf
mov dword [rdi + 0xc0], 0
and al, 0xfd
mov byte [rdi + 0xc8], al
mov rax, qword [rdi + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x18002a7dc
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x18002a7dc
mov dword [rdi + 0xbc], ecx
jmp 0x18002a7f5
cmp dword [rdi + 0x30], 0
jle 0x18002a7f5
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb0]
mov dword [rdi + 0xbc], eax
mov rsi, qword [rbp - 0x49]
test rbx, rbx
je 0x18002a839
test byte [rdi + 0xc8], 1
je 0x18002a839
cmp qword [rdi + 0x18], 0
jne 0x18002a839
mov rax, qword [rsi + 0x4030]
test rax, rax
je 0x18002a823
cmp qword [rax + 0x3c8], rbx
je 0x18002a839
mov rcx, rbx
call fcn.18002f080
mov eax, dword [rsi + 0x3f70]
mov dword [rdi + 0xb0], eax
jmp 0x18002a84a
mov eax, dword [rsi + 0x3f70]
mov dword [rdi + 0xb0], eax
test rbx, rbx
je 0x18002a875
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x18002a858
call fcn.180029b30
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x18002a866
call fcn.180029b30
cmp qword [rdi + 0x18], 0
jne 0x18002a875
mov rcx, rbx
call fcn.180015aa0
test r13b, r13b
mov r13, qword [rsp + 0x108]
je 0x18002a887
call fcn.18001a0a0
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.180100f50
add rsp, 0xc8
pop r14
pop rdi
pop rsi
pop rbp
ret