Function at 0x1801523e0
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 - 0x1f8]
sub rsp, 0x2b8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
mov r14, rdx
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x40], r12d
mov dword [rbp + 0x200], r12d
cmp dword [0x180243bf4], r12d
je 0x180153655
mov rcx, qword [0x180234c30]
mov rax, qword [rcx]
movd xmm1, dword [0x180243c74]
cvtdq2ps xmm1, xmm1
call qword [rax + 0x360]
mov dword [rbp + 0x200], 3
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x30]
lea rcx, [0x18022e8c0]
call fcn.1800c0810
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov qword [rbp], rax
mov rcx, qword [rcx + 0x20]
mov qword [rbp + 0x20], rcx
cmp rax, rcx
je 0x18015363d
movss xmm9, dword [0x18020a440]
movss xmm8, dword [0x18020a530]
movss xmm6, dword [0x18020a5a0]
xorps xmm7, xmm7
mov r13, qword [rax]
mov qword [rbp - 8], r13
mov rcx, r13
call fcn.18014cc80
mov rcx, qword [0x180234ba0]
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 rdi, rax
mov qword [rbp + 0x10], rax
test rax, rax
je 0x180152646
lea rcx, [rax + 0x10]
mov rdx, qword [rcx]
call qword [rdx + 0x48]
mov ebx, eax
mov rcx, qword [0x180234bb8]
mov rdx, qword [rcx]
call qword [rdx + 0x60]
cmp ebx, eax
je 0x18015263d
test byte [0x180243cf4], 8
je 0x180152541
mov dword [rbp + 0x200], ebx
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x110]
lea rcx, [0x18022e940]
call fcn.1800d9230
mov rcx, qword [rax]
cmp byte [rcx + 0x14], 0
jne 0x1801525e5
test byte [0x180243cf4], 0x10
je 0x1801525e9
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x70], 0xf
mov rax, qword [str.Default]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1801fe5bc]
mov word [rsp + 0x5c], ax
movzx eax, byte [0x1801fe5be]
mov byte [rsp + 0x5e], al
mov byte [rsp + 0x5f], 0
or r15d, 1
mov dword [rsp + 0x40], r15d
mov dword [rbp + 0x200], r15d
mov dword [rbp + 0x210], ebx
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x120]
lea rcx, [0x18022e9c0]
call fcn.1800c0a50
mov rcx, qword [rax]
mov ebx, dword [rcx + 0x14]
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x130]
lea rcx, [0x180244060]
call fcn.180142060
mov rcx, qword [rax]
cmp ebx, dword [rcx + 0x34]
jle 0x1801525e9
xor bl, bl
jmp 0x1801525eb
mov bl, 1
test r15b, 1
je 0x180152604
and r15d, 0xfffffffe
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x58]
call fcn.180091c20
test bl, bl
je 0x18015268e
test byte [0x180243cf4], 1
jne 0x18015262f
mov rcx, rdi
call fcn.1800b6360
mov ebx, dword [rax]
mov rcx, r14
call fcn.1800b6360
cmp ebx, dword [rax]
jne 0x180153627
test byte [0x180243cf4], 2
jne 0x18015268e
mov rcx, rdi
jmp 0x180152677
test byte [0x180243cf4], 4
jmp 0x180152688
mov eax, dword [0x180243cf4]
test al, 1
jne 0x180152670
mov rcx, r13
call fcn.1800b6360
mov ebx, dword [rax]
mov rcx, r14
call fcn.1800b6360
cmp ebx, dword [rax]
jne 0x180153627
mov eax, dword [0x180243cf4]
test al, 2
jne 0x18015268e
mov rcx, r13
call fcn.1800b6360
mov ebx, dword [rax]
mov rcx, r14
call fcn.1800b6360
cmp ebx, dword [rax]
je 0x180153627
mov dword [rbp + 0x210], r12d
mov dword [rbp + 0x218], 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, [rbp + 0x218]
lea r8, [rbp + 0x210]
mov rdx, r13
call fcn.18014fc90
test al, al
je 0x180153627
mov ebx, r12d
mov dword [rbp - 0x60], r12d
mov r15d, r12d
mov dword [rbp - 0x68], 2
lea r8, [rbp - 0x68]
lea rdx, [rbp + 0x140]
call fcn.18017f970
mov rsi, qword [rax]
add rsi, 0x18
mov qword [rbp - 0x50], rsi
mov dword [rsp + 0x50], r12d
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x150]
call fcn.18017f970
mov rax, qword [rax]
add rax, 0x18
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x28], 1
lea r8, [rbp - 0x28]
lea rdx, [rbp + 0x160]
call fcn.18017f970
mov r12, qword [rax]
add r12, 0x18
mov qword [rbp - 0x58], r12
mov r9, r13
test rdi, rdi
cmovne r9, rdi
movzx eax, byte [0x180243871]
mov byte [rsp + 0x20], al
mov r8, r14
lea rdx, [rbp - 0x20]
call fcn.18017c220
mov rcx, r13
call fcn.1800c3010
mov r12d, dword [rax]
mov rcx, r13
call fcn.1800c2f10
mov r14d, dword [rax]
cmp r12d, r14d
cmovl r14d, r12d
mov rcx, r13
call fcn.1800c3210
movzx eax, byte [rax]
mov byte [rbp + 0x200], al
mov r13d, dword [rsp + 0x48]
test byte [0x180243bf4], 0x10
je 0x1801527db
mov dword [rsp + 0x78], 0xff000000
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rbp + 0x218]
mov edx, dword [rbp + 0x210]
call fcn.18017d360
test byte [0x180243bf4], 2
je 0x180152928
movd xmm2, r14d
cvtdq2ps xmm2, xmm2
movd xmm0, r12d
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movzx edx, byte [0x1802437f8]
mov eax, dword [0x1802437fc]
movzx ecx, al
sub ecx, edx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si ecx, xmm1
mov byte [rbp - 0x80], cl
movzx edx, byte [0x1802437f9]
shr eax, 8
movzx ecx, al
sub ecx, edx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [rbp - 0x7f], al
movzx ecx, byte [0x1802437fa]
movzx eax, byte [0x1802437fe]
sub eax, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [rbp - 0x7e], al
movzx ecx, byte [0x1802437fb]
movzx eax, byte [0x1802437ff]
sub eax, ecx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov byte [rbp - 0x7d], al
mov dword [rsp + 0x7c], 0xff000000
mov esi, dword [rbp + 0x210]
movd xmm0, r13d
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si ebx, xmm0
mov edi, r13d
sub edi, ebx
add edi, dword [rbp + 0x218]
lea eax, [rbx + 2]
lea r8d, [rdi - 1]
lea edx, [rsi - 7]
lea rcx, [rsp + 0x7c]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9d, 4
call fcn.18017d2e0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, 2
mov r8d, edi
lea edx, [rsi - 6]
call fcn.18017d2e0
mov ebx, 5
mov rdi, qword [rbp + 0x10]
mov rsi, qword [rbp - 0x50]
test byte [0x180243bf4], 4
je 0x1801529c1
mov dword [rsp + 0x48], 2
mov eax, dword [rbp + 0x218]
add eax, r13d
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movd xmm2, r14d
cvtdq2ps xmm2, xmm2
movd xmm0, r12d
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm1, r13d
cvtdq2ps xmm1, xmm1
mulss xmm2, xmm1
subss xmm3, xmm2
subss xmm3, xmm9
cvttss2si r9d, xmm3
mov r8d, dword [rbp + 0x210]
sub r8d, ebx
sub r8d, 5
mov dword [rsp + 0x38], r14d
lea rax, [0x1801b53bc]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rbx, [0x180238f44]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
lea rcx, [0x18022e220]
call fcn.18017cee0
jmp 0x1801529c8
lea rbx, [0x180238f44]
mov r12, qword [rbp - 8]
test byte [0x180243bf4], 1
je 0x180152a9a
lea rcx, [r12 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180152a3e
mov ecx, dword [rax + 0x28]
sub ecx, 0x56
je 0x180152a35
sub ecx, 2
je 0x180152a1a
cmp ecx, 1
jne 0x180152a3e
mov rcx, r12
call fcn.18014f670
lea rcx, str.Teleporter_In
cmp dword [rax], 0
lea rax, str.Teleporter_Out
cmovne rcx, rax
jmp 0x180152a45
lea rcx, str.Sentry
cmp byte [rbp + 0x200], 0
lea rax, str.Mini_Sentry
cmovne rcx, rax
jmp 0x180152a45
lea rcx, str.Dispenser
jmp 0x180152a45
lea rcx, str.Unknown_Building
mov r14, qword [rbp - 0x10]
mov r15d, dword [r14 + 8]
add r15d, 2
mov dword [rsp + 0x48], 1
mov r9d, dword [rbp + 0x218]
sub r9d, r15d
mov eax, dword [rsp + 0x44]
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x210]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
mov r8d, eax
mov rdx, r14
lea rcx, [0x18022e220]
call fcn.18017d100
jmp 0x180152a9e
mov r14, qword [rbp - 0x10]
test byte [0x180243bf4], 8
je 0x180152b69
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x48]
mov rbx, rax
mov rcx, qword [rbp + 0x208]
mov rdx, qword [rcx]
call qword [rdx + 0x48]
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
movss xmm1, dword [rbx]
subss xmm1, dword [rax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180152af4
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180152afc
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si ecx, xmm0
mov dword [rsp + 0x48], 1
mov r9d, dword [rbp + 0x218]
add r9d, r13d
mov r13d, dword [rsp + 0x44]
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp + 0x210]
mov dword [rsp + 0x38], ecx
lea rcx, [0x180205108]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [0x180238f44]
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov rdx, rsi
lea rcx, [0x18022e220]
call fcn.18017d100
jmp 0x180152b6e
mov r13d, dword [rsp + 0x44]
test byte [0x180243bf4], 0x20
je 0x180152de7
mov rcx, r12
call fcn.18014f770
cmp byte [rax], 0
jne 0x180152de7
test rdi, rdi
je 0x180152de7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x100], eax
mov rax, qword [0x180234bb8]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
lea rcx, [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x48]
lea r8, [rbp + 0x80]
mov edx, eax
mov rcx, qword [0x180234bb8]
call rbx
test al, al
je 0x180152de7
mov edi, dword [r14 + 8]
add edi, 2
add edi, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
lea rax, [rbp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x180152c33
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x50]
call fcn.180093c90
nop
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.180182600
mov r15d, dword [rsp + 0x40]
or r15d, 4
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
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
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x7c], 0xff57cafe
mov esi, dword [rbp + 0x218]
mov r9d, esi
sub r9d, edi
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
mov edi, dword [rbp + 0x210]
lea r8d, [rdi + rax]
mov qword [rsp + 0x38], rcx
lea rcx, [0x180204ff0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x7c]
mov qword [rsp + 0x20], rcx
mov rdx, r14
lea rcx, [0x18022e220]
call fcn.18017d100
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x180152d95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180152d90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180153681
call fcn.180184d0c
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], bx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180152dfa
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180152de0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180153688
call fcn.180184d0c
jmp 0x180152dfa
xor ebx, ebx
mov r15d, dword [rsp + 0x40]
mov edi, dword [rbp + 0x210]
mov esi, dword [rbp + 0x218]
test byte [0x180243bf4], 0x40
je 0x180152e6c
cmp byte [rbp + 0x200], 0
jne 0x180152e6c
mov rcx, r12
call fcn.1800c3310
mov ecx, dword [rax]
mov dword [rsp + 0x50], ebx
mov dword [rbp - 0x78], 0xff57cafe
mov r14d, dword [rsp + 0x44]
lea r8d, [r14 + 4]
add r8d, edi
mov dword [rsp + 0x38], ecx
lea rax, [0x1802051f4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov rbx, qword [rbp - 0x58]
mov rdx, rbx
lea rcx, [0x18022e220]
call fcn.18017d100
mov r13d, dword [rbx + 8]
jmp 0x180152e79
mov r14d, dword [rsp + 0x44]
mov rbx, qword [rbp - 0x58]
mov r13d, dword [rbp - 0x60]
test byte [0x180243bf4], 0x80
je 0x18015361d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov ecx, 4
mov eax, dword [0x18023327c]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov ecx, dword [rcx + rax]
cmp dword [0x180235194], ecx
jle 0x180152f61
lea rcx, [0x180235194]
call fcn.180184dbc
cmp dword [0x180235194], 0xffffffff
jne 0x180152f61
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180152f4d
nop dword [rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180152f01
xor edx, edx
test rcx, rcx
je 0x180152f44
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180152f20
cmp r9d, 0xc262c48c
je 0x1801531f0
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180152ef0
xor eax, eax
mov dword [0x180235178], eax
lea rcx, [0x180235194]
call fcn.180184d50
movsxd rax, dword [0x180235178]
movss xmm0, dword [rax + r12]
mulss xmm0, xmm6
comiss xmm6, xmm0
jbe 0x180152fcb
cvttss2si eax, xmm0
test eax, eax
je 0x180152fcb
mov dword [rsp + 0x50], 0
mov dword [rbp - 0x74], 0xff57cafe
lea r9d, [rsi + r13]
lea r8d, [rdi + 4]
add r8d, r14d
lea rax, str.CONSTRUCTING
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [0x18022e220]
call fcn.18017d100
add r13d, dword [rbx + 8]
lea rcx, [r12 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1801530b5
cmp dword [rax + 0x28], 0x59
jne 0x1801530b5
mov rcx, r12
call fcn.18014f870
comiss xmm0, xmm7
jbe 0x1801530b5
lea rax, str.RECHARGES_IN_:.1f_SEC
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x17
movss dword [rbp + 0x48], xmm0
movabs rax, 0x7000000000000000
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x50], 1
lea rax, [rbp + 0x40]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x10], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x60]
call fcn.1800a98a0
or dword [rsp + 0x40], 2
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova rax, qword [rbp + 0x60]
mov dword [rsp + 0x50], 0
mov dword [rbp - 0x70], 0xff57cafe
lea r9d, [rsi + r13]
lea r8d, [rdi + 4]
add r8d, r14d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [0x18022e220]
call fcn.18017cee0
nop
lea rcx, [rbp + 0x60]
call fcn.180091c20
add r13d, dword [rbx + 8]
lea rcx, [r12 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, 4
mov edi, dword [0x18023327c]
mov rsi, qword gs:[0x58]
test rax, rax
je 0x1801531c7
cmp dword [rax + 0x28], 0x58
jne 0x1801531c7
mov rax, qword [rsi + rdi*8]
mov ecx, dword [rbx + rax]
cmp dword [0x1802351a8], ecx
jle 0x1801531a1
lea rcx, [0x1802351a8]
call fcn.180184dbc
cmp dword [0x1802351a8], 0xffffffff
jne 0x1801531a1
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18015318d
nop dword [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180153141
xor edx, edx
test rcx, rcx
je 0x180153184
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180153160
cmp r9d, 0x80133484
je 0x180153205
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180153130
xor eax, eax
mov dword [0x1802351b8], eax
lea rcx, [0x1802351a8]
call fcn.180184d50
movsxd rax, dword [0x1802351b8]
cmp byte [rax + r12], 0
je 0x1801531c7
lea r8, str.WRANGLED
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.180154a10
mov r15, qword [rsp + 0x68]
mov rcx, r12
call fcn.1800c3110
cmp byte [rax], 0
je 0x180153233
mov rbx, qword [rsp + 0x60]
cmp rbx, r15
je 0x18015321a
mov r8d, 6
lea rdx, str.SAPPED
jmp 0x180153312
lea r8, str.m_flPercentageConstructed
mov rdx, qword [r10 + 0x18]
call fcn.180184950
jmp 0x180152f4f
lea r8, str.m_bPlayerControlled
mov rdx, qword [r10 + 0x18]
call fcn.180184950
jmp 0x18015318f
lea r8, str.SAPPED
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180154a10
jmp 0x18015335b
mov ecx, ebx
mov rax, qword [rsi + rdi*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1802351ac], ecx
jle 0x1801532ed
lea rcx, [0x1802351ac]
call fcn.180184dbc
cmp dword [0x1802351ac], 0xffffffff
jne 0x1801532ed
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x1801532d9
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180153291
xor edx, edx
test rcx, rcx
je 0x1801532d0
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801532b0
cmp r9d, 0xc262c48c
je 0x180153335
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180153280
xor eax, eax
mov dword [0x1802351d0], eax
lea rcx, [0x1802351ac]
call fcn.180184d50
movsxd rax, dword [0x1802351d0]
cmp byte [rax + r12], 0
je 0x180153360
mov rbx, qword [rsp + 0x60]
cmp rbx, r15
je 0x180153347
mov r8d, 8
lea rdx, str.DISABLED
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x10], rax
mov rcx, rbx
call fcn.18012b800
add rbx, 0x20
mov qword [rsp + 0x60], rbx
jmp 0x180153365
lea r8, str.m_bDisabled
mov rdx, qword [r10 + 0x18]
call fcn.180184950
jmp 0x1801532db
lea r8, str.DISABLED
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180154a10
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
lea rcx, [r12 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x18015353a
cmp dword [rax + 0x28], 0x58
jne 0x18015353a
mov ecx, 4
mov rax, qword [rsi + rdi*8]
mov ecx, dword [rcx + rax]
cmp dword [0x18023517c], ecx
jle 0x180153451
lea rcx, [0x18023517c]
call fcn.180184dbc
cmp dword [0x18023517c], 0xffffffff
jne 0x180153451
mov rcx, qword [0x180234b78]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor edi, edi
test rax, rax
je 0x180153429
nop dword [rax + rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], dil
jne 0x1801533e1
mov rdx, rdi
test rcx, rcx
je 0x180153420
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180153400
cmp r9d, 0xc262c48c
je 0x18015343f
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801533d0
mov eax, edi
mov dword [0x180235180], eax
lea rcx, [0x18023517c]
call fcn.180184d50
jmp 0x180153453
lea r8, str.m_bBuilding
mov rdx, qword [r10 + 0x18]
call fcn.180184950
jmp 0x18015342b
xor edi, edi
movsxd rax, dword [0x180235180]
cmp byte [rax + r12], 0
jne 0x18015353a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x1c]
mov rcx, r12
call fcn.1800c3510
cmp dword [rbp - 0x1c], 0
jne 0x1801534da
cmp rbx, r15
je 0x1801534bc
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8d, 7
lea rdx, str.NO_AMMO
mov rcx, rbx
call fcn.18012b800
add rbx, 0x20
mov qword [rsp + 0x60], rbx
jmp 0x1801534da
lea r8, str.NO_AMMO
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180154a10
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp byte [rbp + 0x200], 0
jne 0x18015353a
cmp dword [rbp - 0x18], 0
jne 0x18015353a
cmp rbx, r15
je 0x18015351c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8d, 0xa
lea rdx, str.NO_ROCKETS
mov rcx, rbx
call fcn.18012b800
add rbx, 0x20
mov qword [rsp + 0x60], rbx
jmp 0x18015353a
lea r8, str.NO_ROCKETS
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180154a10
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov qword [rbp - 0x50], rsi
cmp rsi, rbx
je 0x1801535c0
mov rdi, rsi
mov dword [rbp + 0x200], 0
mov dword [rbp - 0x6c], 0xff57cafe
add r14d, dword [rbp + 0x210]
mov r12, qword [rbp - 0x58]
mov esi, dword [rbp + 0x218]
nop dword [rax]
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x18015357d
mov rax, qword [rdi]
lea r9d, [rsi + r13]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 4]
mov rdx, r12
lea rcx, [0x18022e220]
call fcn.18017d100
add r13d, dword [r12 + 8]
add rdi, 0x20
cmp rdi, rbx
jne 0x180153570
mov rsi, qword [rbp - 0x50]
test rsi, rsi
je 0x180153618
mov rdi, rsi
cmp rsi, rbx
je 0x1801535e1
nop dword [rax]
mov rcx, rdi
call fcn.1800f59a0
add rdi, 0x20
cmp rdi, rbx
jne 0x1801535d0
sub r15, rsi
and r15, 0xffffffffffffffe0
mov rax, rsi
cmp r15, 0x1000
jb 0x18015360d
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18015368f
mov rdx, r15
mov rcx, rsi
call fcn.180184d0c
mov r15d, dword [rsp + 0x40]
mov r14, qword [rbp + 0x208]
xor r12d, r12d
mov rax, qword [rbp]
add rax, 8
mov qword [rbp], rax
cmp rax, qword [rbp + 0x20]
jne 0x1801524b1
mov rcx, qword [0x180234c30]
mov rax, qword [rcx]
movss xmm1, dword [0x18020a400]
call qword [rax + 0x360]
lea r11, [rsp + 0x2b8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
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