Function at 0x180152910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x298
vmovaps xmmword [rax - 0x58], xmm6
vmovaps xmmword [rax - 0x68], xmm7
vmovaps xmmword [rax - 0x78], xmm8
vmovaps xmmword [rax - 0x88], xmm9
vmovaps xmmword [rax - 0x98], xmm10
vmovaps xmmword [rax - 0xa8], xmm11
vmovaps xmmword [rax - 0xb8], xmm12
mov rdi, rdx
xor r12d, r12d
mov r15d, r12d
mov dword [rbp + 0x1f0], r12d
mov dword [rbp + 0x1e0], r12d
cmp dword [0x180243724], r12d
je 0x180153ba7
mov rcx, qword [0x180234c40]
mov rax, qword [rcx]
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, dword [0x1802437a4]
call qword [rax + 0x360]
mov dword [rbp + 0x1e0], 3
lea r8, [rbp + 0x1e0]
lea rdx, [rbp]
lea rcx, [0x18022e8c0]
call fcn.1800c0da0
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x10], rax
mov rcx, qword [rcx + 0x20]
mov qword [rbp - 8], rcx
cmp rax, rcx
je 0x180153b8f
vmovss xmm8, dword [0x18020ab20]
vmovss xmm9, dword [0x18020aa10]
vmovss xmm10, dword [0x18020aa60]
vmovss xmm12, dword [0x18020a390]
vmovss xmm11, dword [0x18020a490]
vmovss xmm6, dword [0x18020a500]
vxorps xmm7, xmm7, xmm7
nop word [rax + rax]
mov rsi, qword [rax]
mov qword [rbp - 0x70], rsi
mov rcx, rsi
call fcn.18014d080
mov rcx, qword [0x180234bb0]
mov rdx, qword [rcx]
mov r8, qword [rdx + 0x20]
mov eax, dword [rax]
mov dword [rbp - 0x30], eax
lea rdx, [rbp - 0x30]
call r8
mov r13, rax
test rax, rax
je 0x180152bae
lea rcx, [rax + 0x10]
mov rdx, qword [rcx]
call qword [rdx + 0x48]
mov ebx, eax
mov rcx, qword [0x180234bc8]
mov rdx, qword [rcx]
call qword [rdx + 0x60]
cmp ebx, eax
je 0x180152ba5
test byte [0x180243824], 8
je 0x180152aa9
mov dword [rbp + 0x1e0], ebx
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x50]
lea rcx, [0x18022e940]
call fcn.1800d9720
mov rcx, qword [rax]
cmp byte [rcx + 0x14], 0
jne 0x180152b4b
test byte [0x180243824], 0x10
je 0x180152b4f
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x68], 0xf
mov rax, qword [str.Default]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1801fe53c]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1801fe53e]
mov byte [rsp + 0x56], al
mov byte [rsp + 0x57], 0
or r15d, 1
mov dword [rbp + 0x1f0], r15d
mov dword [rbp + 0x1e0], r15d
mov dword [rbp + 0x1f8], ebx
lea r8, [rbp + 0x1f8]
lea rdx, [rbp + 0x60]
lea rcx, [0x18022e9c0]
call fcn.1800c0ff0
mov rcx, qword [rax]
mov ebx, dword [rcx + 0x14]
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x70]
lea rcx, [0x180243b90]
call fcn.180142370
mov rcx, qword [rax]
cmp ebx, dword [rcx + 0x34]
jle 0x180152b4f
xor bl, bl
jmp 0x180152b51
mov bl, 1
test r15b, 1
je 0x180152b6c
and r15d, 0xfffffffe
mov dword [rbp + 0x1f0], r15d
lea rcx, [rsp + 0x50]
call fcn.180091b30
test bl, bl
je 0x180152bf6
test byte [0x180243824], 1
jne 0x180152b97
mov rcx, r13
call fcn.1800b6b20
mov ebx, dword [rax]
mov rcx, rdi
call fcn.1800b6b20
cmp ebx, dword [rax]
jne 0x180153b79
test byte [0x180243824], 2
jne 0x180152bf6
mov rcx, r13
jmp 0x180152bdf
test byte [0x180243824], 4
jmp 0x180152bf0
mov eax, dword [0x180243824]
test al, 1
jne 0x180152bd8
mov rcx, rsi
call fcn.1800b6b20
mov ebx, dword [rax]
mov rcx, rdi
call fcn.1800b6b20
cmp ebx, dword [rax]
jne 0x180153b79
mov eax, dword [0x180243824]
test al, 2
jne 0x180152bf6
mov rcx, rsi
call fcn.1800b6b20
mov ebx, dword [rax]
mov rcx, rdi
call fcn.1800b6b20
cmp ebx, dword [rax]
je 0x180153b79
mov dword [rbp + 0x1f8], r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x48], r12d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x1f8]
mov rdx, rsi
call fcn.1801500d0
test al, al
je 0x180153b79
mov ebx, r12d
mov dword [rbp - 0x60], r12d
mov r14d, r12d
mov dword [rbp - 0x28], r12d
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x80]
call fcn.18017f6a0
mov rcx, qword [rax]
add rcx, 0x18
mov qword [rbp - 0x50], rcx
mov r9, rsi
test r13, r13
cmovne r9, r13
movzx eax, byte [0x1802433a1]
mov byte [rsp + 0x20], al
mov r8, rdi
lea rdx, [rbp - 0x20]
call fcn.18017bf50
mov rcx, rsi
call fcn.1800c3540
mov r15d, dword [rax]
mov dword [rbp + 0x1e0], r15d
mov rcx, rsi
call fcn.1800c3440
lea rcx, [rbp + 0x1e0]
cmp r15d, dword [rax]
cmovge rcx, rax
mov r12d, dword [rcx]
mov rcx, rsi
call fcn.1800c3740
movzx eax, byte [rax]
mov byte [rbp + 0x1e0], al
mov edi, dword [rsp + 0x48]
test byte [0x180243724], 0x10
je 0x180152d03
mov dword [rsp + 0x70], 0xff000000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov edx, dword [rbp + 0x1f8]
call fcn.18017d130
test byte [0x180243724], 2
je 0x180152e56
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, r12d
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r15d
vdivss xmm3, xmm1, xmm0
movzx edx, byte [0x180243328]
mov eax, dword [0x18024332c]
movzx ecx, al
sub ecx, edx
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm2, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, edx
vaddss xmm2, xmm2, xmm1
vcvttss2si ecx, xmm2
mov byte [rsp + 0x78], cl
movzx edx, byte [0x180243329]
shr eax, 8
movzx ecx, al
sub ecx, edx
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, ecx
vmulss xmm2, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, edx
vaddss xmm2, xmm2, xmm1
vcvttss2si eax, xmm2
mov byte [rsp + 0x79], al
movzx ecx, byte [0x18024332a]
movzx eax, byte [0x18024332e]
sub eax, ecx
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmulss xmm2, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, ecx
vaddss xmm2, xmm2, xmm1
vcvttss2si eax, xmm2
mov byte [rsp + 0x7a], al
movzx ecx, byte [0x18024332b]
movzx eax, byte [0x18024332f]
sub eax, ecx
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmulss xmm2, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, ecx
vaddss xmm2, xmm2, xmm1
vcvttss2si eax, xmm2
mov byte [rsp + 0x7b], al
mov dword [rsp + 0x74], 0xff000000
mov esi, dword [rbp + 0x1f8]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, edi
vmulss xmm1, xmm0, xmm3
vcvttss2si ebx, xmm1
sub edi, ebx
add edi, dword [rsp + 0x40]
lea eax, [rbx + 2]
lea r8d, [rdi - 1]
lea edx, [rsi - 7]
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9d, 4
call fcn.18017d0b0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, 2
mov r8d, edi
lea edx, [rsi - 6]
call fcn.18017d0b0
mov ebx, 5
mov rsi, qword [rbp - 0x70]
mov edi, dword [rsp + 0x48]
test byte [0x180243724], 4
je 0x180152ef7
mov dword [rbp - 0x70], 2
mov eax, dword [rsp + 0x40]
add eax, edi
vxorps xmm3, xmm3, xmm3
vcvtsi2ss xmm3, xmm3, eax
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, r12d
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r15d
vdivss xmm2, xmm1, xmm0
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, edi
vmulss xmm2, xmm2, xmm1
vsubss xmm0, xmm3, xmm2
vsubss xmm3, xmm0, xmm12
vcvttss2si r9d, xmm3
mov r15d, dword [rbp + 0x1f8]
mov r8d, r15d
sub r8d, ebx
sub r8d, 5
mov dword [rsp + 0x38], r12d
lea rax, [0x1801b539c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [0x180238ed4]
mov qword [rsp + 0x20], rax
mov r12, qword [rbp - 0x50]
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ccb0
jmp 0x180152f02
mov r12, qword [rbp - 0x50]
mov r15d, dword [rbp + 0x1f8]
test byte [0x180243724], 1
je 0x180152fcc
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180152f73
mov ecx, dword [rax + 0x28]
sub ecx, 0x56
je 0x180152f6a
sub ecx, 2
je 0x180152f4f
cmp ecx, 1
jne 0x180152f73
mov rcx, rsi
call fcn.18014fab0
lea rcx, str.Teleporter_In
cmp dword [rax], 0
lea rax, str.Teleporter_Out
cmovne rcx, rax
jmp 0x180152f7a
lea rcx, str.Sentry
cmp byte [rbp + 0x1e0], 0
lea rax, str.Mini_Sentry
cmovne rcx, rax
jmp 0x180152f7a
lea rcx, str.Dispenser
jmp 0x180152f7a
lea rcx, str.Unknown_Building
mov r14d, dword [r12 + 8]
add r14d, 2
mov dword [rbp - 0x70], 1
mov ebx, dword [rsp + 0x40]
mov r9d, ebx
sub r9d, r14d
mov eax, dword [rsp + 0x44]
cdq
sub eax, edx
sar eax, 1
lea r8d, [r15 + rax]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [0x180238ed4]
mov qword [rsp + 0x20], rcx
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ced0
jmp 0x180152fd0
mov ebx, dword [rsp + 0x40]
test byte [0x180243724], 8
je 0x1801530b4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x48]
mov rbx, rax
mov rcx, qword [rbp + 0x1e8]
mov rdx, qword [rcx]
call qword [rdx + 0x48]
vmovss xmm0, dword [rbx + 4]
vsubss xmm4, xmm0, dword [rax + 4]
vmovss xmm1, dword [rbx]
vsubss xmm2, xmm1, dword [rax]
vmulss xmm3, xmm2, xmm2
vmulss xmm0, xmm4, xmm4
vaddss xmm0, xmm3, xmm0
vxorps xmm1, xmm1, xmm1
vucomiss xmm1, xmm0
ja 0x180153024
vsqrtss xmm0, xmm0, xmm0
jmp 0x180153029
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
vdivss xmm0, xmm0, xmm11
vmovaps xmm3, xmm8
vmovaps xmm2, xmm3
vandnps xmm3, xmm3, xmm0
vandps xmm2, xmm2, xmm0
vroundps xmm0, xmm3, 0
vsubss xmm3, xmm3, xmm0
vcmpeqss xmm3, xmm3, xmm9
vandps xmm3, xmm3, xmm10
vaddss xmm3, xmm3, xmm0
vorps xmm3, xmm3, xmm2
vcvttss2si ecx, xmm3
mov dword [rbp - 0x70], 1
mov ebx, dword [rsp + 0x40]
lea r9d, [rdi + rbx]
mov edi, dword [rsp + 0x44]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea r8d, [r15 + rax]
mov dword [rsp + 0x38], ecx
lea rcx, [0x180204fd0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [0x180238ed4]
mov qword [rsp + 0x20], rcx
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ced0
jmp 0x1801530b8
mov edi, dword [rsp + 0x44]
test byte [0x180243724], 0x20
je 0x18015332e
mov rcx, rsi
call fcn.18014fbb0
cmp byte [rax], 0
jne 0x18015332e
test r13, r13
je 0x18015332e
vpxor xmm0, xmm0, xmm0
xor eax, eax
vmovups ymmword [rbp + 0x90], ymm0
vmovups ymmword [rbp + 0xb0], ymm0
vmovups ymmword [rbp + 0xd0], ymm0
vmovups ymmword [rbp + 0xf0], ymm0
mov dword [rbp + 0x110], eax
mov rax, qword [0x180234bc8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
lea rcx, [r13 + 0x10]
mov rax, qword [rcx]
vzeroupper
call qword [rax + 0x48]
lea r8, [rbp + 0x90]
mov edx, eax
mov rcx, qword [0x180234bc8]
call rbx
test al, al
je 0x18015332a
mov edi, dword [r12 + 8]
add edi, 2
add edi, r14d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x50], xmm0
xor r13d, r13d
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
lea rax, [rbp + 0x90]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x180153170
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.180093c20
nop
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.1801824a0
mov r15d, dword [rbp + 0x1f0]
or r15d, 4
mov dword [rbp + 0x1f0], r15d
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
mov dword [rbp - 0x70], 1
mov dword [rsp + 0x7c], 0xff57cafe
mov ebx, dword [rsp + 0x40]
mov r9d, ebx
sub r9d, edi
mov edi, dword [rsp + 0x44]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r14d, dword [rbp + 0x1f8]
lea r8d, [r14 + rax]
mov qword [rsp + 0x38], rcx
lea rcx, [0x180204ff0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x7c]
mov qword [rsp + 0x20], rcx
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ced0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1801532d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801532d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180153be9
call fcn.180184c4c
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r13w
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18015333f
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180153323
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180153bf0
call fcn.180184c4c
jmp 0x18015333f
mov ebx, dword [rsp + 0x40]
xor r13d, r13d
mov r15d, dword [rbp + 0x1f0]
mov r14d, dword [rbp + 0x1f8]
test byte [0x180243724], 0x40
je 0x1801533ae
cmp byte [rbp + 0x1e0], 0
jne 0x1801533ae
mov rcx, rsi
call fcn.1800c3840
mov ecx, dword [rax]
mov dword [rbp + 0x1f8], r13d
mov dword [rbp - 0x80], 0xff57cafe
lea r8d, [r14 + 4]
add r8d, edi
mov dword [rsp + 0x38], ecx
lea rax, [0x18020521c]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ced0
mov r13d, dword [r12 + 8]
jmp 0x1801533b2
mov r13d, dword [rbp - 0x60]
test byte [0x180243724], 0x80
je 0x180153b6f
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x50], xmm0
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov ecx, 4
mov eax, dword [0x18023328c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1802351a4], ecx
jle 0x1801534a1
lea rcx, [0x1802351a4]
call fcn.180184cfc
cmp dword [0x1802351a4], 0xffffffff
jne 0x1801534a1
mov rcx, qword [0x180234b88]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18015348d
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180153441
xor edx, edx
test rcx, rcx
je 0x180153484
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180153460
cmp r9d, 0xc262c48c
je 0x18015372f
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180153430
xor eax, eax
mov dword [0x180235188], eax
lea rcx, [0x1802351a4]
call fcn.180184c90
movsxd rax, dword [0x180235188]
vmulss xmm1, xmm6, dword [rax + rsi]
vcomiss xmm6, xmm1
jbe 0x18015350c
vcvttss2si eax, xmm1
test eax, eax
je 0x18015350c
mov dword [rbp + 0x1f8], 0
mov dword [rbp - 0x7c], 0xff57cafe
lea r9d, [rbx + r13]
lea r8d, [r14 + 4]
add r8d, edi
lea rax, str.CONSTRUCTING
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ced0
add r13d, dword [r12 + 8]
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1801535ff
cmp dword [rax + 0x28], 0x59
jne 0x1801535ff
mov rcx, rsi
call fcn.18014fcb0
vcomiss xmm0, xmm7
jbe 0x1801535ff
lea rax, str.RECHARGES_IN_:.1f_SEC
mov qword [rbp], rax
mov qword [rbp + 8], 0x17
vmovss dword [rbp + 0x18], xmm0
movabs rax, 0x7000000000000000
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], 1
lea rax, [rbp + 0x10]
mov qword [rbp + 0x28], rax
vmovups xmm0, xmmword [rbp + 0x20]
vmovdqa xmmword [rbp - 0x50], xmm0
vmovups xmm1, xmmword [rbp]
vmovdqa xmmword [rbp - 0x70], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.1800a99f0
or dword [rbp + 0x1f0], 2
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rax, qword [rbp + 0x30]
mov dword [rbp + 0x1f8], 0
mov dword [rbp - 0x78], 0xff57cafe
lea r9d, [rbx + r13]
lea r8d, [r14 + 4]
add r8d, edi
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ccb0
nop
lea rcx, [rbp + 0x30]
call fcn.180091b30
add r13d, dword [r12 + 8]
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edi, dword [0x18023328c]
mov rbx, qword gs:[0x58]
test rax, rax
je 0x180153706
cmp dword [rax + 0x28], 0x58
jne 0x180153706
mov ecx, 4
mov rax, qword [rbx + rdi*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1802351b8], ecx
jle 0x1801536e1
lea rcx, [0x1802351b8]
call fcn.180184cfc
cmp dword [0x1802351b8], 0xffffffff
jne 0x1801536e1
mov rcx, qword [0x180234b88]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x1801536cd
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180153682
xor edx, edx
test rcx, rcx
je 0x1801536c4
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801536a0
cmp r9d, 0x80133484
je 0x180153744
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180153671
xor eax, eax
mov dword [0x1802351c8], eax
lea rcx, [0x1802351b8]
call fcn.180184c90
movsxd rax, dword [0x1802351c8]
cmp byte [rax + rsi], 0
je 0x180153706
lea r8, str.WRANGLED
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.180154a40
mov r15, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1800c3640
cmp byte [rax], 0
je 0x180153772
mov rbx, qword [rsp + 0x58]
cmp rbx, r15
je 0x180153759
mov r8d, 6
lea rdx, str.SAPPED
jmp 0x180153851
lea r8, str.m_flPercentageConstructed
mov rdx, qword [r10 + 0x18]
call fcn.180184890
jmp 0x18015348f
lea r8, str.m_bPlayerControlled
mov rdx, qword [r10 + 0x18]
call fcn.180184890
jmp 0x1801536cf
lea r8, str.SAPPED
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180154a40
jmp 0x18015389c
mov ecx, 4
mov rax, qword [rbx + rdi*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1802351bc], ecx
jle 0x18015382d
lea rcx, [0x1802351bc]
call fcn.180184cfc
cmp dword [0x1802351bc], 0xffffffff
jne 0x18015382d
mov rcx, qword [0x180234b88]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180153819
nop dword [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1801537d1
xor edx, edx
test rcx, rcx
je 0x180153810
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801537f0
cmp r9d, 0xc262c48c
je 0x180153876
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801537c0
xor eax, eax
mov dword [0x1802351e0], eax
lea rcx, [0x1802351bc]
call fcn.180184c90
movsxd rax, dword [0x1802351e0]
cmp byte [rax + rsi], 0
je 0x1801538a1
mov rbx, qword [rsp + 0x58]
cmp rbx, r15
je 0x180153888
mov r8d, 8
lea rdx, str.DISABLED
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x10], rax
mov rcx, rbx
call fcn.18012bda0
add rbx, 0x20
mov qword [rsp + 0x58], rbx
jmp 0x1801538a6
lea r8, str.m_bDisabled
mov rdx, qword [r10 + 0x18]
call fcn.180184890
jmp 0x18015381b
lea r8, str.DISABLED
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180154a40
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
lea rcx, [rsi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180153a92
cmp dword [rax + 0x28], 0x58
jne 0x180153a92
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax + rdi*8]
mov ecx, dword [rcx + rax]
cmp dword [0x18023518c], ecx
jle 0x180153981
lea rcx, [0x18023518c]
call fcn.180184cfc
cmp dword [0x18023518c], 0xffffffff
jne 0x180153981
mov rcx, qword [0x180234b88]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18015396d
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180153923
xor edx, edx
test rcx, rcx
je 0x180153964
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180153940
cmp r9d, 0xc262c48c
je 0x1801539f5
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180153912
xor eax, eax
mov dword [0x180235190], eax
lea rcx, [0x18023518c]
call fcn.180184c90
movsxd rax, dword [0x180235190]
cmp byte [rax + rsi], 0
jne 0x180153a92
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x1c]
mov rcx, rsi
call fcn.1800c3a40
cmp dword [rbp - 0x1c], 0
jne 0x180153a28
cmp rbx, r15
je 0x180153a0a
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, 7
lea rdx, str.NO_AMMO
mov rcx, rbx
call fcn.18012bda0
add rbx, 0x20
mov qword [rsp + 0x58], rbx
jmp 0x180153a28
lea r8, str.m_bBuilding
mov rdx, qword [r10 + 0x18]
call fcn.180184890
jmp 0x18015396f
lea r8, str.NO_AMMO
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180154a40
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
cmp byte [rbp + 0x1e0], 0
jne 0x180153a92
cmp dword [rbp - 0x18], 0
jne 0x180153a92
cmp rbx, r15
je 0x180153a74
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, 0xa
lea rdx, str.NO_ROCKETS
mov rcx, rbx
call fcn.18012bda0
add rbx, 0x20
mov qword [rsp + 0x58], rbx
jmp 0x180153a92
lea r8, str.NO_ROCKETS
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180154a40
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov qword [rbp + 0x1f8], rsi
cmp rsi, rbx
je 0x180153b13
mov rdi, rsi
mov dword [rbp + 0x1e0], 0
mov dword [rbp - 0x74], 0xff57cafe
add r14d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x180153acd
mov rax, qword [rdi]
lea r9d, [rsi + r13]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 4]
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017ced0
add r13d, dword [r12 + 8]
add rdi, 0x20
cmp rdi, rbx
jne 0x180153ac0
mov rsi, qword [rbp + 0x1f8]
test rsi, rsi
je 0x180153b68
mov rdi, rsi
cmp rsi, rbx
je 0x180153b31
mov rcx, rdi
call fcn.1800f6250
add rdi, 0x20
cmp rdi, rbx
jne 0x180153b20
sub r15, rsi
and r15, 0xffffffffffffffe0
mov rax, rsi
cmp r15, 0x1000
jb 0x180153b5d
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180153bf7
mov rdx, r15
mov rcx, rsi
call fcn.180184c4c
mov r15d, dword [rbp + 0x1f0]
mov rdi, qword [rbp + 0x1e8]
xor r12d, r12d
mov rax, qword [rbp - 0x10]
add rax, 8
mov qword [rbp - 0x10], rax
cmp rax, qword [rbp - 8]
jne 0x180152a20
mov rcx, qword [0x180234c40]
mov rax, qword [rcx]
vmovss xmm1, dword [0x18020a348]
call qword [rax + 0x360]
lea r11, [rsp + 0x298]
vmovaps xmm6, xmmword [r11 - 0x18]
vmovaps xmm7, xmmword [r11 - 0x28]
vmovaps xmm8, xmmword [r11 - 0x38]
vmovaps xmm9, xmmword [r11 - 0x48]
vmovaps xmm10, xmmword [r11 - 0x58]
vmovaps xmm11, xmmword [r11 - 0x68]
vmovaps xmm12, xmmword [r11 - 0x78]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3