Function at 0x140048220
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp - 9], rax
mov rbx, qword [0x1407065c0]
xor r14d, r14d
mov rdi, rcx
mov qword [rbp - 0x59], rbx
mov r15, rbx
mov eax, dword [rbx + 0x1c90]
and byte [rcx + 0xbd], 0xfd
mov dword [rcx + 0xa0], eax
mov qword [rcx + 0x98], r14
mov qword [rcx + 0x90], r14
cmp qword [rcx + 0x10], r14
jne 0x1400483a8
call fcn.140047ee0
mov edx, r14d
mov ecx, r14d
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], ecx
cmp dword [rdi + 0x28], r14d
jle 0x1400482a8
mov rdx, rdi
mov ecx, 1
mov qword [rbp - 0x31], rdx
mov dword [rbp - 0x29], ecx
mov eax, dword [rdi + 8]
shr eax, 0xb
test al, 1
mov rax, r14
cmovne rax, rdi
mov qword [rbp - 0x39], rax
cmp ecx, 1
jle 0x1400482c5
test rax, rax
jne 0x140048305
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400482e5
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.140047e60
mov ecx, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov r8, qword [rdi + 0x20]
test r8, r8
je 0x140048305
lea rdx, [rbp - 0x39]
mov rcx, r8
call fcn.140047e60
mov ecx, dword [rbp - 0x29]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x39]
mov qword [rdi + 0x90], rax
cmp ecx, 1
mov rax, r14
cmove rax, rdx
mov qword [rdi + 0x98], rax
cmp dword [rdi + 0xac], r14d
jne 0x140048333
test rdx, rdx
je 0x1400483a1
mov eax, dword [rdx]
mov dword [rdi + 0xac], eax
test rdx, rdx
je 0x1400483a1
mov rax, qword [rdx + 0x30]
mov r8d, 1
mov rcx, qword [rax]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movups xmm1, xmmword [rcx + 0x24]
movups xmmword [rdi + 0x6c], xmm1
movsxd rax, dword [rdx + 0x28]
cmp eax, r8d
jle 0x1400483a1
mov r10, qword [rdx + 0x30]
mov r9, rax
mov edx, r8d
lea rcx, [r10 + 8]
nop dword [rax]
mov rax, qword [rcx]
cmp byte [rax + 0x31], r14b
je 0x14004838a
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140048370
jmp 0x1400483a1
movsxd rax, r8d
mov rcx, qword [r10 + rax*8]
movups xmm0, xmmword [rcx + 0x14]
movups xmmword [rdi + 0x5c], xmm0
movups xmm1, xmmword [rcx + 0x24]
movups xmmword [rdi + 0x6c], xmm1
mov rbx, qword [0x1407065c0]
cmp qword [rdi + 0x38], r14
je 0x1400483c7
mov eax, dword [rdi + 8]
shr eax, 0xc
test al, 1
je 0x1400483c7
mov rcx, rdi
call fcn.140049fd0
mov rbx, qword [0x1407065c0]
mov edx, dword [rdi + 0x28]
cmp edx, 1
jg 0x14004855b
cmp qword [rdi + 0x10], r14
jne 0x14004855b
test dword [rdi + 8], 0x400
jne 0x14004855b
cmp qword [rdi + 0x18], r14
jne 0x14004855b
cmp byte [r15 + 0xc9], r14b
jne 0x14004855b
test edx, edx
je 0x1400484b7
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
cmp byte [rcx + 0x30], r14b
jne 0x14004855b
cmp edx, 1
jne 0x1400484b7
mov rbx, qword [rax]
mov eax, dword [rdi + 0xb8]
and eax, 0xfffffebf
bts eax, 7
movsd xmm0, qword [rbx + 0x50]
and eax, 0xffffffd7
or eax, 0x10
movsd qword [rdi + 0x40], xmm0
movsd xmm1, qword [rbx + 0x60]
and eax, 0xfffffffa
or eax, 2
movsd qword [rdi + 0x48], xmm1
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x140048478
cmp qword [r15 + 0x1f58], rax
jne 0x140048478
mov rcx, rbx
call fcn.14003d000
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400484b7
mov rdx, qword [rax + 0x38]
mov qword [rbx + 0x38], rdx
mov rax, qword [rdi + 0x80]
mov ecx, dword [rax + 0x40]
mov dword [rbx + 0x40], ecx
mov rax, qword [rdi + 0x80]
cmp byte [rax + 0xce], r14b
je 0x1400484b7
mov qword [rdx + 0x88], rbx
mov byte [rbx + 0xce], 1
mov rax, qword [rdi + 0x80]
test rax, rax
je 0x1400484da
cmp qword [rax + 0x468], rdi
jne 0x1400484d3
mov qword [rax + 0x468], r14
mov qword [rdi + 0x80], r14
cmp dword [rdi + 0x28], 1
jne 0x1400484f8
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov qword [rdi + 0x88], rax
mov rax, qword [rcx]
and byte [rax + 0x441], 0xfe
cmp qword [rdi + 0x38], r14
je 0x140048506
mov rcx, rdi
call fcn.140049fd0
movzx edx, byte [rdi + 0xbc]
and dl, 0xef
mov dword [rdi + 0xc], 1
and dl, 0xf3
mov dword [rdi + 0xb4], r14d
mov byte [rdi + 0xbc], dl
mov eax, dword [r15 + 0x1c90]
mov dword [rdi + 0xa4], eax
test dl, 0x40
je 0x140048f67
cmp dword [rdi + 0x28], 1
jne 0x140048f67
mov rdx, qword [rdi + 0x30]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.1400481b0
jmp 0x140048f67
test byte [rdi + 0xbc], 1
je 0x1400485ed
cmp qword [rdi + 0x80], r14
jne 0x1400485ed
cmp qword [rdi + 0x10], r14
jne 0x1400485ed
test dword [rdi + 8], 0x400
jne 0x1400485ed
cmp qword [rdi + 0x18], r14
jne 0x1400485ed
mov r9d, dword [rdi + 0xb0]
test r9d, r9d
je 0x1400485c8
mov r8d, dword [rdi + 0x28]
mov ecx, r14d
test r8d, r8d
jle 0x1400485c8
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdx]
cmp dword [rax + 8], r9d
je 0x1400485b8
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x1400485a2
jmp 0x1400485c8
mov rax, qword [rdi + 0x30]
movsxd rcx, ecx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
jne 0x1400485cf
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
cmp byte [rdx + 0xe8], r14b
jg 0x1400485e1
cmp byte [rdx + 0xe9], r14b
jle 0x1400485ed
mov dword [rdi + 0xc], 2
jmp 0x140048f67
mov ecx, dword [rdi + 8]
mov r8d, dword [rdi + 0x28]
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x138], r13
mov r13d, ecx
or r13d, dword [rdi + 4]
movaps xmmword [rsp + 0xc0], xmm9
test r8d, r8d
jle 0x140048638
bt r13d, 0xe
jb 0x140048638
movzx eax, byte [rdi + 0xbc]
mov r9d, r14d
and al, 0xf7
or al, 8
and al, 0xfb
mov byte [rdi + 0xbc], al
jmp 0x140048651
movzx eax, byte [rdi + 0xbc]
mov r9d, r14d
and al, 0xf7
and al, 0xfb
mov byte [rdi + 0xbc], al
test r8d, r8d
jle 0x1400486b4
mov r10, r14
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rdi + 0x30]
lea r10, [r10 + 8]
mov rdx, qword [r10 + rax - 8]
movzx eax, byte [rdi + 0xbc]
movzx ecx, byte [rdx + 0xd8]
shl cl, 2
or cl, al
and al, 0xfb
and cl, 4
xor cl, al
mov byte [rdi + 0xbc], cl
cmp r8d, 1
movzx eax, byte [rdx + 0x441]
setg cl
and al, 0xfe
or cl, al
inc r9d
mov byte [rdx + 0x441], cl
mov r8d, dword [rdi + 0x28]
cmp r9d, r8d
jl 0x140048660
mov ecx, dword [rdi + 8]
bt r13d, 0xf
jae 0x1400486c2
and byte [rdi + 0xbc], 0xfb
shr ecx, 0xa
mov rsi, r14
mov byte [rsp + 0x31], sil
test cl, 1
je 0x1400486de
mov rsi, qword [rdi + 0x80]
jmp 0x140048a0f
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1400489d3
test byte [rdi + 0xbc], 1
je 0x1400489eb
test r8d, r8d
jle 0x140048706
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
jmp 0x140048709
mov rcx, r14
mov eax, dword [rdi + 0xb8]
shl eax, 0x1d
sar eax, 0x1d
cmp eax, 2
jne 0x14004872d
test rcx, rcx
je 0x14004875d
or dword [rbx + 0x1dc0], 1
movsd xmm0, qword [rcx + 0x50]
jmp 0x14004873d
cmp eax, 1
jne 0x14004875d
or dword [rbx + 0x1dc0], eax
movsd xmm0, qword [rdi + 0x40]
mov byte [rbx + 0x1e00], 1
mov dword [rbx + 0x1dc4], 1
mov qword [rbx + 0x1de0], r14
movsd qword [rbx + 0x1dd8], xmm0
mov eax, dword [rdi + 0xb8]
shl eax, 0x1a
sar eax, 0x1d
cmp eax, 2
jne 0x140048780
test rcx, rcx
je 0x1400487a3
or dword [rbx + 0x1dc0], eax
movsd xmm0, qword [rcx + 0x60]
jmp 0x140048791
cmp eax, 1
jne 0x1400487a3
or dword [rbx + 0x1dc0], 2
movsd xmm0, qword [rdi + 0x48]
mov dword [rbx + 0x1dc8], 1
movsd qword [rbx + 0x1de8], xmm0
mov eax, dword [rdi + 0xb8]
and al, 0x38
cmp al, 0x10
jne 0x1400487d2
test rcx, rcx
je 0x1400487d2
movzx eax, byte [rcx + 0xd2]
or dword [rbx + 0x1dc0], 8
mov byte [rbx + 0x1e01], al
mov dword [rbx + 0x1dcc], 1
mov eax, dword [rdi + 0xb8]
and eax, 0x1c0
cmp eax, 0x80
jne 0x1400487fc
test rcx, rcx
je 0x1400487fc
mov eax, dword [rcx + 0x40]
or dword [rbx + 0x1dc0], 0x100
mov dword [rbx + 0x1e2c], eax
or dword [rbx + 0x1dc0], 0x400
lea r8, str.DockNode__02X
movups xmm0, xmmword [rdi + 0x5c]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rbp - 0x21]
movups xmmword [rbx + 0x1e34], xmm0
movups xmm1, xmmword [rdi + 0x6c]
movups xmmword [rbx + 0x1e44], xmm1
mov r9d, dword [rdi]
call fcn.14002e030
mov rbx, qword [0x1407065c0]
lea rdx, [rbp - 0x79]
mov dword [rbp - 0x79], 1
movss xmm1, dword [rbx + 0x163c]
lea rcx, [rbx + 0x1e88]
movss xmm0, dword [rbx + 0x1640]
movss dword [rbp - 0x75], xmm1
movss dword [rbp - 0x71], xmm0
call fcn.14004eaf0
xor r9d, r9d
mov qword [rbx + 0x163c], r14
xor edx, edx
lea rcx, [rbp - 0x21]
mov r8d, 0x20081139
call fcn.140039d80
mov rbx, qword [0x1407065c0]
lea r9, [0x140524bd0]
movsxd rax, dword [rbx + 0x1e88]
mov rdx, qword [rbx + 0x1e90]
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 0x1400488f1
mov eax, dword [r9 + rax*4 + 4]
cmp eax, 1
jne 0x1400488d4
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rbx + 0x1638], eax
jmp 0x1400488f1
cmp eax, 2
jne 0x1400488f1
mov eax, dword [rdx + rcx*4 - 8]
mov dword [r8 + rbx + 0x1638], eax
mov eax, dword [rdx + rcx*4 - 4]
mov dword [r8 + rbx + 0x163c], eax
dec dword [rbx + 0x1e88]
mov rsi, qword [r15 + 0x1d18]
mov qword [rdi + 0x80], rsi
mov byte [rsp + 0x31], 1
movss xmm0, dword [rsi + 0x50]
movss xmm1, dword [rsi + 0x54]
movss dword [rsi + 0x118], xmm0
movss dword [rsi + 0x11c], xmm1
mov qword [rsi + 0x468], rdi
mov r14, qword [rdi + 0x80]
movss dword [rdi + 0x40], xmm0
movss dword [rdi + 0x44], xmm1
movsd xmm0, qword [rsi + 0x58]
movsd qword [rdi + 0x48], xmm0
cmp byte [r14 + 0xd5], 0
je 0x1400489e1
movsxd rdx, dword [rbx + 0x1cb8]
mov r8, qword [rbx + 0x1cc0]
mov rcx, qword [r8 + rdx*8 - 8]
cmp rcx, r14
je 0x1400489e1
cmp qword [rcx + 0x3f0], r14
je 0x1400489e1
add edx, 0xfffffffe
js 0x1400489e1
movsxd rax, edx
lea rcx, [r8 + rax*8]
cmp qword [rcx], r14
je 0x140048994
dec edx
sub rcx, 8
sub rax, 1
jns 0x140048981
jmp 0x1400489e1
mov eax, dword [rbx + 0x1cb8]
mov r10, r8
sub eax, edx
movsxd r9, edx
dec eax
movsxd r8, eax
lea eax, [rdx + 1]
movsxd rcx, eax
shl r8, 3
lea rdx, [r10 + rcx*8]
lea rcx, [r10 + r9*8]
call sub.VCRUNTIME140.dll_memmove
movsxd rcx, dword [rbx + 0x1cb8]
mov rax, qword [rbx + 0x1cc0]
mov qword [rax + rcx*8 - 8], r14
jmp 0x1400489e1
mov rsi, qword [rax + 0x80]
mov qword [rdi + 0x80], rsi
and dword [rdi + 0xb8], 0xfffffe00
test byte [rdi + 0xbc], 0x40
je 0x140048a0f
mov rdx, qword [rdi + 0x80]
test rdx, rdx
je 0x140048a0f
mov rcx, rdi
call fcn.1400481b0
mov rbx, qword [0x1407065c0]
cmp qword [rdi + 0x10], 0
jne 0x140048a8b
mov rax, qword [r15 + 0x1f58]
test rax, rax
je 0x140048a46
mov rcx, qword [rax + 0x3e8]
mov rax, qword [rcx + 0x460]
test rax, rax
je 0x140048a46
cmp qword [rcx + 0x3e0], rsi
jne 0x140048a46
mov eax, dword [rax]
mov dword [rdi + 0xac], eax
test rsi, rsi
je 0x140048a8b
test r13b, 8
je 0x140048a8b
mov rcx, qword [rsi + 0x310]
add rcx, 0xa8
mov byte [rsp + 0x30], 1
call fcn.1400548c0
mov rdx, qword [rsi + 0x310]
mov r8d, 1
lea rcx, [rdx + 0xa8]
call fcn.140054d50
mov rbx, qword [0x1407065c0]
jmp 0x140048a90
mov byte [rsp + 0x30], 0
cmp qword [rdi + 0x10], 0
xorps xmm9, xmm9
mov r14, qword [rdi + 0x90]
mov qword [rsp + 0x130], r12
jne 0x140048c6f
test rsi, rsi
je 0x140048c6f
test r13b, 8
je 0x140048c6f
test r14, r14
je 0x140048c6f
cmp qword [r14 + 0x18], 0
jne 0x140048c6f
cmp dword [r14 + 0x28], 0
jne 0x140048c6f
cmp byte [rbx + 0x20dc], 0
lea r15, [rbx + 0x20f0]
mov eax, 0
mov r12b, 1
cmove r15, rax
test r15, r15
je 0x140048b35
cmp dword [r15 + 0x14], 0xffffffff
je 0x140048b35
lea rdx, [r15 + 0x18]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140048b35
mov rdx, qword [r15]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.14004a060
test al, al
je 0x140048b35
mov rax, qword [rdi + 0x10]
jmp 0x140048c7f
mov rax, qword [r14 + 0x10]
mov rcx, r14
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm7
test rax, rax
je 0x140048b5d
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140048b51
movss xmm0, dword [rcx + 0x40]
movss xmm4, dword [r14 + 0x40]
movaps xmm6, xmm0
comiss xmm4, xmm0
movss xmm3, dword [r14 + 0x44]
movaps xmm2, xmm4
movss xmm7, dword [rcx + 0x44]
movaps xmm1, xmm3
addss xmm6, dword [rcx + 0x48]
addss xmm2, dword [r14 + 0x48]
addss xmm1, dword [r14 + 0x4c]
addss xmm7, dword [rcx + 0x4c]
movss xmm5, dword [0x14053400c]
jbe 0x140048ba3
addss xmm4, xmm5
comiss xmm6, xmm2
movaps xmm6, xmmword [rsp + 0xe0]
jbe 0x140048bb4
subss xmm2, xmm5
comiss xmm3, dword [rcx + 0x44]
jbe 0x140048bbe
addss xmm3, xmm5
comiss xmm7, xmm1
movaps xmm7, xmmword [rsp + 0xd0]
jbe 0x140048bcf
subss xmm1, xmm5
comiss xmm4, xmm2
ja 0x140048b2c
comiss xmm3, xmm1
ja 0x140048b2c
mov rcx, qword [rsi + 0x3e0]
subss xmm1, xmm3
subss xmm2, xmm4
movaps xmm0, xmm4
cvttss2si edx, xmm1
cvttss2si r8d, xmm2
mov word [rbp - 0x77], dx
movaps xmm1, xmm3
mov word [rbp - 0x79], r8w
mov eax, dword [rbp - 0x79]
mov dword [rsi + 0x2c8], eax
subss xmm0, dword [rsi + 0x50]
subss xmm1, dword [rsi + 0x54]
cvttss2si eax, xmm0
mov word [rbp - 0x79], ax
cvttss2si eax, xmm1
mov word [rbp - 0x77], ax
mov eax, dword [rbp - 0x79]
mov dword [rsi + 0x2cc], eax
mov word [rbp - 0x79], r8w
mov word [rbp - 0x77], dx
mov eax, dword [rbp - 0x79]
mov dword [rcx + 0x2c8], eax
subss xmm4, dword [rcx + 0x50]
subss xmm3, dword [rcx + 0x54]
cvttss2si eax, xmm4
mov word [rbp - 0x79], ax
cvttss2si eax, xmm3
mov word [rbp - 0x77], ax
mov eax, dword [rbp - 0x79]
mov dword [rcx + 0x2cc], eax
mov rax, qword [rdi + 0x10]
jmp 0x140048c7f
mov rax, qword [rdi + 0x10]
xor r12b, r12b
test rsi, rsi
je 0x140048d37
test rax, rax
jne 0x140048ca6
mov r8, qword [rsi + 0x58]
xor r9d, r9d
mov rdx, qword [rsi + 0x50]
mov rcx, rdi
call fcn.14004bbf0
mov rcx, rdi
call fcn.14004c000
mov rbx, qword [0x1407065c0]
cmp qword [rdi + 0x18], 0
jne 0x140048d33
cmp dword [rdi + 0x28], 0
jne 0x140048d33
test byte [rdi + 0xbc], 1
je 0x140048d33
test r13b, 8
jne 0x140048d33
movups xmm0, xmmword [rbx + 0x196c]
lea rcx, [rbp - 0x49]
movss xmm1, dword [rdi + 0x44]
addss xmm1, dword [rdi + 0x4c]
movups xmmword [rbp - 0x49], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x1638]
movss dword [rbp - 0x75], xmm1
movss dword [rbp - 0x3d], xmm0
movss xmm0, dword [rdi + 0x40]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x79], xmm0
call fcn.14002e580
mov rcx, qword [rsi + 0x310]
lea r8, [rbp - 0x79]
xor ebx, ebx
lea rdx, [rdi + 0x40]
mov dword [rsp + 0x28], ebx
mov r9d, eax
movss dword [rsp + 0x20], xmm9
call fcn.140053d50
mov r15, qword [rbp - 0x59]
jmp 0x140048d39
mov r15, qword [rbp - 0x59]
xor ebx, ebx
cmp byte [rsp + 0x30], 0
mov r13, qword [rsp + 0x138]
je 0x140048e67
test byte [rdi + 0xbc], 1
je 0x140048e67
mov rdx, qword [rsi + 0x310]
xor r8d, r8d
lea rcx, [rdx + 0xa8]
call fcn.140054d50
mov rax, qword [0x1407065c0]
lea rcx, [rbp - 0x49]
movups xmm0, xmmword [rax + 0x171c]
movups xmmword [rbp - 0x49], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x3d], xmm0
movss xmm0, dword [rdi + 0x40]
test r12b, r12b
je 0x140048e14
movss xmm1, dword [r14 + 0x40]
movss xmm2, dword [r14 + 0x44]
movss xmm3, dword [rdi + 0x44]
movss dword [rbp - 0x59], xmm1
addss xmm1, dword [r14 + 0x48]
movss dword [rbp - 0x55], xmm2
addss xmm2, dword [r14 + 0x4c]
movss dword [rbp - 0x75], xmm3
addss xmm3, dword [rdi + 0x4c]
movss dword [rbp - 0x79], xmm0
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x51], xmm1
movss dword [rbp - 0x4d], xmm2
movss dword [rbp - 0x6d], xmm3
movss dword [rbp - 0x71], xmm0
call fcn.14002e580
mov rcx, qword [rsi + 0x310]
lea rdx, [rbp - 0x79]
mov r9d, eax
movss dword [rsp + 0x20], xmm9
lea r8, [rbp - 0x59]
call fcn.140058560
jmp 0x140048e54
movss xmm1, dword [rdi + 0x4c]
addss xmm1, dword [rdi + 0x44]
addss xmm0, dword [rdi + 0x48]
movss dword [rbp - 0x55], xmm1
movss dword [rbp - 0x59], xmm0
call fcn.14002e580
mov rcx, qword [rsi + 0x310]
lea rdx, [rdi + 0x40]
mov r9d, eax
mov dword [rsp + 0x28], ebx
lea r8, [rbp - 0x59]
movss dword [rsp + 0x20], xmm9
call fcn.140053d50
mov rdx, qword [rsi + 0x310]
lea rcx, [rdx + 0xa8]
call fcn.1400549e0
movaps xmm9, xmmword [rsp + 0xc0]
mov r12, qword [rsp + 0x130]
test rsi, rsi
je 0x140048e90
cmp dword [rdi + 0x28], 0
jle 0x140048e90
mov rdx, rsi
mov rcx, rdi
call fcn.1400491d0
jmp 0x140048ea7
movzx eax, byte [rdi + 0xbc]
and al, 0xef
mov dword [rdi + 0xb4], ebx
and al, 0xfd
mov byte [rdi + 0xbc], al
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x140048ebf
mov ecx, dword [rax + 0x18]
test ecx, ecx
je 0x140048ebf
mov dword [rdi + 0xb0], ecx
jmp 0x140048ed5
cmp dword [rdi + 0x28], 0
jle 0x140048ed5
mov rax, qword [rdi + 0x30]
mov rcx, qword [rax]
mov eax, dword [rcx + 8]
mov dword [rdi + 0xb0], eax
test rsi, rsi
je 0x140048f16
test byte [rdi + 0xbc], 1
je 0x140048f16
cmp qword [rdi + 0x10], 0
jne 0x140048f16
mov rax, qword [r15 + 0x1d38]
test rax, rax
je 0x140048eff
cmp qword [rax + 0x3f0], rsi
je 0x140048f16
mov rcx, rsi
call fcn.14004d0c0
mov eax, dword [r15 + 0x1c90]
mov dword [rdi + 0xa4], eax
jmp 0x140048f28
mov eax, dword [r15 + 0x1c90]
mov dword [rdi + 0xa4], eax
test rsi, rsi
je 0x140048f53
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140048f36
call fcn.140048220
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x140048f44
call fcn.140048220
cmp qword [rdi + 0x10], 0
jne 0x140048f53
mov rcx, rsi
call fcn.140037f90
cmp byte [rsp + 0x31], 0
mov rsi, qword [rsp + 0x128]
je 0x140048f67
call fcn.14003cd30
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400e9c90
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret