Function at 0x140024510
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
mov rax, qword [0x140124080]
xor rax, rsp
mov qword [rbp - 1], rax
mov r8, qword [0x140768af0]
xor r14d, r14d
mov rbx, rcx
mov qword [rbp - 0x49], r8
mov rsi, r8
mov eax, dword [r8 + 0x3f78]
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 0x1400246d7
call fcn.140024140
xor eax, eax
xorps xmm0, xmm0
mov r8d, eax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
cmp dword [rbx + 0x30], eax
jle 0x14002459a
inc r8d
mov qword [rbp - 0x29], rbx
mov dword [rbp - 0x21], r8d
mov rdx, rbx
jmp 0x14002459e
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov eax, dword [rbx + 0x10]
shr eax, 0xb
test al, 1
cmovne rcx, rbx
mov qword [rbp - 0x31], rcx
cmp r8d, 1
jle 0x1400245bd
test rcx, rcx
jne 0x1400245ff
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400245de
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.1400240c0
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x1400245ff
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.1400240c0
mov rdx, qword [rbp - 0x29]
mov rcx, qword [rbp - 0x31]
mov r8d, dword [rbp - 0x21]
cmp r8d, 1
mov qword [rbx + 0x98], rcx
mov rax, r14
mov dword [rbx + 0xa8], r8d
cmove rax, rdx
mov qword [rbx + 0xa0], rax
cmp dword [rbx + 0xb8], r14d
jne 0x140024639
test rdx, rdx
je 0x1400246b9
mov eax, dword [rdx]
mov dword [rbx + 0xb8], eax
test rdx, rdx
je 0x1400246b9
mov rax, qword [rdx + 0x38]
mov r9d, 1
mov rax, qword [rax]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rbx + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rbx + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rbx + 0x7c], eax
movsxd rax, dword [rdx + 0x30]
cmp eax, r9d
jle 0x1400246b9
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 0x14002469a
inc r9d
inc r8
add rdx, 8
cmp r8, r10
jl 0x140024680
jmp 0x1400246b9
movsxd rax, r9d
mov rax, qword [r11 + rax*8]
movups xmm0, xmmword [rax + 0x1c]
movups xmmword [rbx + 0x64], xmm0
movsd xmm1, qword [rax + 0x2c]
movsd qword [rbx + 0x74], xmm1
mov eax, dword [rax + 0x34]
mov dword [rbx + 0x7c], eax
test rcx, rcx
je 0x1400246d0
nop
or byte [rcx + 0xc8], 0x20
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1400246c0
mov r8, qword [0x140768af0]
cmp qword [rbx + 0x40], r14
je 0x1400246f6
mov eax, dword [rbx + 0x10]
shr eax, 0xc
test al, 1
je 0x1400246f6
mov rcx, rbx
call fcn.1400265b0
mov r8, qword [0x140768af0]
xor r9b, r9b
mov qword [rsp + 0xf8], rdi
cmp qword [rbx + 0x18], r14
jne 0x140024898
test dword [rbx + 0x10], 0x400
jne 0x140024898
mov edx, dword [rbx + 0x30]
cmp edx, 1
jg 0x140024740
cmp qword [rbx + 0x20], r14
jne 0x140024740
cmp byte [rsi + 0x7a], r9b
jne 0x140024740
test edx, edx
je 0x14002473d
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
cmp byte [rcx + 0x34], r9b
jne 0x140024740
mov r9b, 1
cmp dword [rbx + 0xa8], r14d
je 0x140024752
test r9b, r9b
je 0x140024898
cmp edx, 1
jne 0x1400247f3
mov rax, qword [rbx + 0x38]
mov rdi, qword [rax]
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rdi + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rbx + 0x48], xmm0
movsd xmm1, qword [rdi + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rbx + 0x50], xmm1
mov dword [rbx + 0xc4], eax
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1400247b4
cmp qword [rsi + 0x4a50], rax
jne 0x1400247b4
mov rcx, rdi
call fcn.1400156c0
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x1400247f3
mov rdx, qword [rax + 0x38]
mov qword [rdi + 0x38], rdx
mov rax, qword [rbx + 0x88]
mov ecx, dword [rax + 0x40]
mov dword [rdi + 0x40], ecx
mov rax, qword [rbx + 0x88]
cmp byte [rax + 0xea], r14b
je 0x1400247f3
mov qword [rdx + 0x88], rdi
mov byte [rdi + 0xea], 1
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140024816
cmp qword [rax + 0x468], rbx
jne 0x14002480f
mov qword [rax + 0x468], r14
mov qword [rbx + 0x88], r14
cmp dword [rbx + 0x30], 1
jne 0x140024834
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
mov qword [rbx + 0x90], rax
mov rax, qword [rcx]
and byte [rax + 0x445], 0xfe
cmp qword [rbx + 0x40], r14
je 0x140024842
mov rcx, rbx
call fcn.1400265b0
movzx eax, byte [rbx + 0xc8]
and al, 0xbf
mov dword [rbx + 0x14], 1
and al, 0xe7
mov dword [rbx + 0xc0], r14d
test byte [rbx + 0xc9], 1
mov byte [rbx + 0xc8], al
mov eax, dword [rsi + 0x3f78]
mov dword [rbx + 0xb0], eax
je 0x140025243
cmp dword [rbx + 0x30], 1
jne 0x140025243
mov rdx, qword [rbx + 0x38]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400244a0
jmp 0x140025243
test byte [rbx + 0xc8], 1
je 0x14002492e
cmp qword [rbx + 0x88], r14
jne 0x14002492e
cmp qword [rbx + 0x18], r14
jne 0x14002492e
test dword [rbx + 0x10], 0x400
jne 0x14002492e
cmp qword [rbx + 0x20], r14
jne 0x14002492e
mov r10d, dword [rbx + 0xbc]
test r10d, r10d
je 0x140024909
mov r9d, dword [rbx + 0x30]
mov ecx, r14d
test r9d, r9d
jle 0x140024909
mov rdx, qword [rbx + 0x38]
mov rax, qword [rdx]
cmp dword [rax + 0x10], r10d
je 0x1400248f9
inc ecx
add rdx, 8
cmp ecx, r9d
jl 0x1400248e3
jmp 0x140024909
mov rax, qword [rbx + 0x38]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x140024910
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
cmp byte [rdx + 0x108], r14b
jg 0x140024922
cmp byte [rdx + 0x109], r14b
jle 0x14002492e
mov dword [rbx + 0x14], 2
jmp 0x140025243
mov r9d, dword [rbx + 0x30]
mov qword [rsp + 0x100], r12
mov r12d, dword [rbx + 0x10]
mov qword [rsp + 0x108], r13
movaps xmmword [rsp + 0x90], xmm9
test r9d, r9d
jle 0x140024973
bt r12d, 0xe
jb 0x140024973
movzx eax, byte [rbx + 0xc8]
mov r10d, r14d
and al, 0xef
or al, 0x10
and al, 0xf7
mov byte [rbx + 0xc8], al
jmp 0x14002498f
movzx eax, byte [rbx + 0xc8]
mov r10d, r14d
and al, 0xef
mov ecx, r12d
and al, 0xf7
mov byte [rbx + 0xc8], al
test r9d, r9d
jle 0x1400249e6
mov r11, r14
mov rax, qword [rbx + 0x38]
lea r11, [r11 + 8]
mov rdx, qword [r11 + rax - 8]
movzx eax, byte [rbx + 0xc8]
movzx ecx, byte [rdx + 0xf5]
shl cl, 3
or cl, al
and al, 0xf7
and cl, 8
xor cl, al
mov byte [rbx + 0xc8], cl
cmp r9d, 1
movzx eax, byte [rdx + 0x445]
setg cl
and al, 0xfe
or cl, al
inc r10d
mov byte [rdx + 0x445], cl
mov r9d, dword [rbx + 0x30]
cmp r10d, r9d
jl 0x140024992
mov ecx, dword [rbx + 0x10]
bt r12d, 0xf
jae 0x1400249f4
and byte [rbx + 0xc8], 0xf7
xor r13b, r13b
shr ecx, 0xa
mov rdi, r14
xorps xmm9, xmm9
test cl, 1
je 0x140024a12
mov rdi, qword [rbx + 0x88]
jmp 0x140024c88
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x140024c4c
test byte [rbx + 0xc8], 1
je 0x140024c64
test r9d, r9d
jle 0x140024a3a
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
jmp 0x140024a3d
mov rcx, r14
mov eax, dword [rbx + 0xc4]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x140024a62
test rcx, rcx
je 0x140024a96
or dword [r8 + 0x48d8], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x140024a73
cmp eax, 1
jne 0x140024a96
or dword [r8 + 0x48d8], eax
movsd xmm0, qword [rbx + 0x48]
mov byte [r8 + 0x4914], 1
mov dword [r8 + 0x48dc], 1
mov qword [r8 + 0x48f4], r14
movsd qword [r8 + 0x48ec], xmm0
mov eax, dword [rbx + 0xc4]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140024aba
test rcx, rcx
je 0x140024ae0
or dword [r8 + 0x48d8], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x140024acc
cmp eax, 1
jne 0x140024ae0
or dword [r8 + 0x48d8], 2
movsd xmm0, qword [rbx + 0x50]
mov dword [r8 + 0x48e0], 1
movsd qword [r8 + 0x48fc], xmm0
mov eax, dword [rbx + 0xc4]
and al, 0x38
cmp al, 0x10
jne 0x140024b12
test rcx, rcx
je 0x140024b12
movzx eax, byte [rcx + 0xee]
or dword [r8 + 0x48d8], 8
mov byte [r8 + 0x4915], al
mov dword [r8 + 0x48e4], 1
mov eax, dword [rbx + 0xc4]
and eax, 0x1c0
cmp eax, 0x80
jne 0x140024b3e
test rcx, rcx
je 0x140024b3e
mov eax, dword [rcx + 0x40]
or dword [r8 + 0x48d8], 0x100
mov dword [r8 + 0x493c], eax
or dword [r8 + 0x48d8], 0x400
lea rcx, [rbp - 0x19]
movups xmm0, xmmword [rbx + 0x64]
mov edx, reloc.WS2_32.dll_sendto
movups xmmword [r8 + 0x4944], xmm0
movsd xmm1, qword [rbx + 0x74]
movsd qword [r8 + 0x4954], xmm1
mov eax, dword [rbx + 0x7c]
mov dword [r8 + 0x495c], eax
lea r8, str.DockNode__02X
mov r9d, dword [rbx]
call fcn.1400065e0
mov rax, qword [0x140768af0]
lea rdx, [rbp - 0x59]
mov ecx, 2
mov qword [rbp - 0x59], r14
or dword [rax + 0x48d8], 0x40
mov dword [rax + 0x4938], r14d
call fcn.1400072c0
xor edx, edx
lea rcx, [rbp - 0x19]
mov r8d, 0x20081139
call fcn.140012230
mov ecx, 1
call fcn.140007350
mov rax, qword [rbx + 0x88]
mov r13b, 1
mov rdi, qword [rsi + 0x3ff8]
test rax, rax
je 0x140024bf2
cmp rax, rdi
je 0x140024bf2
cmp qword [rax + 0x468], rbx
jne 0x140024bf2
mov qword [rax + 0x468], r14
mov qword [rdi + 0x468], rbx
mov qword [rbx + 0x88], rdi
movss xmm0, dword [rdi + 0x50]
movss xmm1, dword [rdi + 0x54]
movss dword [rdi + 0x138], xmm0
movss dword [rdi + 0x13c], xmm1
mov rcx, qword [rbx + 0x88]
movss dword [rbx + 0x48], xmm0
movss dword [rbx + 0x4c], xmm1
movsd xmm0, qword [rdi + 0x58]
movsd qword [rbx + 0x50], xmm0
cmp byte [rcx + 0xf1], r14b
je 0x140024c43
call fcn.140015610
mov r8, qword [0x140768af0]
jmp 0x140024c5a
mov rdi, qword [rax + 0x88]
mov qword [rbx + 0x88], rdi
and dword [rbx + 0xc4], 0xfffffe00
test byte [rbx + 0xc9], 1
je 0x140024c88
mov rdx, qword [rbx + 0x88]
test rdx, rdx
je 0x140024c88
mov rcx, rbx
call fcn.1400244a0
mov r8, qword [0x140768af0]
cmp qword [rbx + 0x18], r14
jne 0x140024d0a
mov rdx, qword [rsi + 0x4a50]
test rdx, rdx
je 0x140024d0a
mov rdx, qword [rdx + 0x3e0]
test rdx, rdx
je 0x140024d0a
nop word [rax + rax]
mov rcx, qword [rdx + 0x460]
test rcx, rcx
je 0x140024d0a
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140024cdc
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140024cd0
cmp rcx, rbx
je 0x140024cfb
mov rax, qword [rcx + 0x88]
test rax, rax
je 0x140024d0a
mov rdx, qword [rax + 0x3e0]
test rdx, rdx
jne 0x140024cb0
jmp 0x140024d0a
mov rax, qword [rdx + 0x460]
mov ecx, dword [rax]
mov dword [rbx + 0xb8], ecx
cmp qword [rbx + 0x18], 0
mov r14, qword [rbx + 0x98]
mov qword [rsp + 0xc0], r15
jne 0x140024ef7
test rdi, rdi
je 0x140024ef7
test r12b, 8
je 0x140024ef7
test r14, r14
je 0x140024ef7
cmp qword [r14 + 0x20], 0
jne 0x140024ef7
cmp dword [r14 + 0x30], 0
jne 0x140024ef7
cmp byte [r8 + 0x4bfc], 0
mov r15b, 1
je 0x140024da9
cmp dword [r8 + 0x4c24], 0xffffffff
je 0x140024da9
lea rsi, [r8 + 0x4c10]
test rsi, rsi
je 0x140024da9
cmp dword [rsi + 0x14], 0xffffffff
je 0x140024da9
lea rdx, [rsi + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140024da9
mov rdx, qword [rsi]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.140026710
test al, al
jne 0x140024efa
mov rax, qword [r14 + 0x18]
mov rcx, r14
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm8
test rax, rax
je 0x140024ddc
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140024dd0
movss xmm0, dword [rcx + 0x48]
movss xmm4, dword [r14 + 0x48]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm2, dword [r14 + 0x4c]
movaps xmm3, xmm4
movss xmm8, dword [rcx + 0x4c]
movaps xmm1, xmm2
addss xmm6, dword [rcx + 0x50]
addss xmm3, dword [r14 + 0x50]
addss xmm1, dword [r14 + 0x54]
addss xmm8, dword [rcx + 0x54]
movss xmm5, dword [0x14010cc58]
jbe 0x140024e24
addss xmm4, xmm5
comiss xmm6, xmm3
movaps xmm6, xmmword [rsp + 0xb0]
jbe 0x140024e35
subss xmm3, xmm5
comiss xmm2, dword [rcx + 0x4c]
jbe 0x140024e3f
addss xmm2, xmm5
comiss xmm8, xmm1
movaps xmm8, xmmword [rsp + 0xa0]
jbe 0x140024e52
subss xmm1, xmm5
comiss xmm4, xmm3
ja 0x140024f0c
comiss xmm2, xmm1
ja 0x140024f0c
mov rcx, qword [rdi + 0x3d0]
subss xmm1, xmm2
subss xmm3, xmm4
movaps xmm0, xmm4
cvttss2si r8d, xmm1
movaps xmm1, xmm2
mov word [rbp - 0x57], r8w
cvttss2si edx, xmm3
mov word [rbp - 0x59], dx
mov eax, dword [rbp - 0x59]
mov dword [rdi + 0x2b8], eax
subss xmm0, dword [rdi + 0x50]
subss xmm1, dword [rdi + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x59], ax
cvttss2si eax, xmm1
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rdi + 0x2bc], eax
test rcx, rcx
je 0x140024efa
mov word [rbp - 0x59], dx
mov word [rbp - 0x57], r8w
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2b8], eax
subss xmm4, dword [rcx + 0x50]
subss xmm2, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x59], ax
cvttss2si eax, xmm2
mov word [rbp - 0x57], ax
mov eax, dword [rbp - 0x59]
mov dword [rcx + 0x2bc], eax
mov rax, qword [rbx + 0x18]
jmp 0x140024f07
xor r15b, r15b
mov rax, qword [rbx + 0x18]
test rdi, rdi
je 0x14002514c
test rax, rax
jne 0x140024f27
mov r8, qword [rdi + 0x58]
xor r9d, r9d
mov rdx, qword [rdi + 0x50]
mov rcx, rbx
call fcn.1400284d0
mov rcx, rbx
call fcn.140028910
cmp qword [rbx + 0x20], 0
jne 0x140024ff1
cmp dword [rbx + 0x30], 0
jne 0x140024ff1
test byte [rbx + 0xc8], 1
je 0x140024ff1
mov rdx, qword [rdi + 0x300]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140037a10
test r12b, 8
je 0x140024f71
mov dword [rbx + 0x80], 0
jmp 0x140024fea
mov rax, qword [0x140768af0]
lea rcx, [rbp - 0x41]
movups xmm0, xmmword [rax + 0x3c44]
movups xmmword [rbp - 0x41], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f8]
movss dword [rbp - 0x35], xmm0
call fcn.140006d10
mov dword [rbx + 0x80], eax
test eax, eax
je 0x140024fea
movss xmm1, dword [rbx + 0x4c]
lea rdx, [rbx + 0x48]
movss xmm0, dword [rbx + 0x50]
lea r8, [rbp - 0x59]
addss xmm1, dword [rbx + 0x54]
addss xmm0, dword [rdx]
mov rcx, qword [rdi + 0x300]
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.1400370a0
or byte [rbx + 0xc8], 4
test rdi, rdi
je 0x14002514c
cmp qword [rbx + 0x18], 0
jne 0x140025120
test r12b, 8
je 0x140025120
test byte [rbx + 0xc8], 1
je 0x140025120
mov rdx, qword [rdi + 0x300]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140037a10
mov rax, qword [0x140768af0]
lea rcx, [rbp - 0x31]
movups xmm0, xmmword [rax + 0x39f4]
movups xmmword [rbp - 0x31], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f8]
movss dword [rbp - 0x25], xmm0
test r15b, r15b
je 0x1400250d7
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 [rbx + 0x48]
movss dword [rbp - 0x4d], xmm1
movss xmm1, dword [rbx + 0x4c]
movss dword [rbp - 0x41], xmm0
addss xmm0, dword [rbx + 0x50]
movss dword [rbp - 0x3d], xmm1
addss xmm1, dword [rbx + 0x54]
movss dword [rbp - 0x39], xmm0
movss dword [rbp - 0x35], xmm1
call fcn.140006d10
mov rcx, qword [rdi + 0x300]
lea rdx, [rbp - 0x41]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x59]
call fcn.14003bce0
jmp 0x140025120
movss xmm0, dword [rbx + 0x50]
movss xmm1, dword [rbx + 0x4c]
addss xmm0, dword [rbx + 0x48]
addss xmm1, dword [rbx + 0x54]
movss dword [rbp - 0x59], xmm0
movss dword [rbp - 0x55], xmm1
call fcn.140006d10
mov rcx, qword [rdi + 0x300]
lea rdx, [rbx + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0
lea r8, [rbp - 0x59]
movss dword [rsp + 0x20], xmm9
call fcn.1400370a0
mov rdx, qword [rdi + 0x300]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140037a10
cmp dword [rbx + 0x30], 0
jle 0x14002514c
mov rdx, rdi
mov rcx, rbx
call fcn.1400253f0
jmp 0x140025167
movzx eax, byte [rbx + 0xc8]
and al, 0xbf
mov dword [rbx + 0xc0], 0
and al, 0xfd
mov byte [rbx + 0xc8], al
mov rax, qword [rbx + 0x40]
movaps xmm9, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x100]
test rax, rax
je 0x140025198
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x140025198
mov dword [rbx + 0xbc], ecx
jmp 0x1400251b1
cmp dword [rbx + 0x30], 0
jle 0x1400251b1
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
mov eax, dword [rcx + 0xb0]
mov dword [rbx + 0xbc], eax
mov rsi, qword [rbp - 0x49]
test rdi, rdi
je 0x1400251f5
test byte [rbx + 0xc8], 1
je 0x1400251f5
cmp qword [rbx + 0x18], 0
jne 0x1400251f5
mov rax, qword [rsi + 0x4010]
test rax, rax
je 0x1400251df
cmp qword [rax + 0x3f0], rdi
je 0x1400251f5
mov rcx, rdi
call fcn.140029ca0
mov eax, dword [rsi + 0x3f78]
mov dword [rbx + 0xb0], eax
jmp 0x140025206
mov eax, dword [rsi + 0x3f78]
mov dword [rbx + 0xb0], eax
test rdi, rdi
je 0x140025231
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140025214
call fcn.140024510
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140025222
call fcn.140024510
cmp qword [rbx + 0x18], 0
jne 0x140025231
mov rcx, rdi
call fcn.140010e00
test r13b, r13b
mov r13, qword [rsp + 0x108]
je 0x140025243
call fcn.140015310
mov rdi, qword [rsp + 0xf8]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400e9640
add rsp, 0xc8
pop r14
pop rsi
pop rbx
pop rbp
ret