Function at 0x180036030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x18004f010]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r15, qword [0x18004f968]
mov qword [rbp - 0x48], r8
mov qword [rsp + 0x68], r15
mov rax, qword [r15 + 0x3ed0]
mov byte [rax + 0xb8], 1
mov r14, qword [r15 + 0x3ed0]
mov qword [rbp - 0x78], r14
cmp byte [r14 + 0xbb], 0
jne 0x1800364c9
mov r12d, dword [rbp + 0x1e8]
mov eax, r12d
shr eax, 0xe
mov edi, r12d
and al, 1
shr edi, 0x1a
mov dword [rsp + 0x5c], eax
and dil, 1
mov eax, r12d
mov dword [rsp + 0x70], r12d
shr eax, 0xf
and al, 1
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x40], eax
mov eax, r12d
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x50], eax
mov eax, r12d
shr eax, 0x12
and al, 1
mov dword [rbp - 0x80], eax
test dil, dil
je 0x180036120
call fcn.180013230
movsxd rax, dword [r14 + 0xf0]
lea rbx, str.MaxPlayer
mov r8, qword [r14 + 0xf8]
xor edx, edx
mov rcx, rbx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1800039b0
mov rcx, qword [r14]
mov esi, eax
mov dword [rsp + 0x74], eax
cmp dword [rcx + 0x3f18], eax
jne 0x180036164
mov r8, rbx
mov edx, 0xb
mov ecx, eax
call fcn.18001a8b0
mov r8, qword [0x18004f968]
mov rcx, rbx
cmp rbx, 0xffffffffffffffff
jae 0x180036191
movzx edx, byte [rcx]
test dl, dl
je 0x180036191
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180036188
cmp byte [rax], dl
je 0x180036191
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180036174
movss xmm1, dword [0x180047c80]
xorps xmm8, xmm8
movss xmm0, dword [r8 + 0x3c08]
movss xmm10, dword [0x180047c70]
movss dword [rbp - 0x28], xmm1
cmp rbx, rcx
jne 0x1800361be
xorps xmm7, xmm7
jmp 0x180036202
mov qword [rsp + 0x30], rcx
lea rdx, [rbp - 0x68]
mov rcx, qword [r8 + 0x3c00]
movaps xmm3, xmm10
mov qword [rsp + 0x28], rbx
movaps xmm2, xmm0
movss dword [rsp + 0x20], xmm1
call fcn.18002af70
movss xmm0, dword [rbp - 0x68]
addss xmm0, dword [0x180047b8c]
cvttss2si eax, xmm0
movss xmm0, dword [rbp - 0x64]
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x24], xmm7
test dil, dil
je 0x18003621d
movss xmm0, dword [r15 + 0x3c08]
mulss xmm0, dword [0x180047bdc]
movss xmm6, dword [r15 + 0x3810]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.180013090
mov rdx, qword [rbp + 0x1e0]
lea rcx, [rbp - 0x68]
movaps xmm2, xmm0
mov rdx, qword [rdx]
call fcn.180013110
comiss xmm7, xmm8
jbe 0x180036260
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x3824]
jmp 0x180036263
xorps xmm1, xmm1
movss xmm13, dword [r14 + 0x104]
mov rbx, r14
movss xmm12, dword [r14 + 0x100]
movaps xmm0, xmm13
movss xmm7, dword [rbp - 0x64]
movaps xmm2, xmm13
movss xmm11, dword [rbp - 0x68]
addss xmm0, xmm7
movss dword [rbp - 0x34], xmm12
addss xmm1, xmm11
movss dword [rbp - 0x70], xmm13
addss xmm2, xmm7
movss dword [rbp - 0x2c], xmm7
movaps xmm9, xmm12
movss dword [rbp + 0x20], xmm12
addss xmm9, xmm11
movss dword [rbp + 0x2c], xmm0
xorps xmm0, xmm0
movss dword [rbp + 0x24], xmm13
addss xmm1, xmm12
movss dword [rbp + 0xc4], xmm2
subss xmm2, xmm13
movss dword [rbp + 0xb8], xmm12
movss dword [rbp - 0x30], xmm9
movss dword [rbp + 0x28], xmm9
movss dword [rbp + 0xc0], xmm1
subss xmm1, xmm12
movss dword [rbp + 0xbc], xmm13
mov qword [rbp - 0x68], rbx
movups xmmword [rbp - 0x20], xmm0
test dil, dil
je 0x180036582
movss dword [rbp - 0x68], xmm1
lea rcx, [rbp - 0x68]
movaps xmm1, xmm6
movss dword [rbp - 0x64], xmm2
call fcn.180012cc0
lea r8, [rbp + 0x20]
mov edx, esi
lea rcx, [rbp + 0xb8]
mov r9d, 0x400
call fcn.180012e30
test al, al
je 0x1800364c4
movups xmm0, xmmword [r15 + 0x476c]
mov rbx, qword [0x18004f968]
lea rdx, [rbp + 0xb8]
mov r13d, dword [r15 + 0x4774]
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp + 0xb8], 3
movss dword [r14 + 0x100], xmm12
lea rcx, [rbx + 0x4818]
movss dword [r14 + 0x104], xmm13
movups xmm0, xmmword [rbx + 0x38dc]
movups xmmword [rbp + 0xbc], xmm0
call fcn.18001aef0
movups xmm0, xmmword [r15 + 0x391c]
mov ecx, 7
movups xmmword [rbx + 0x38dc], xmm0
movss xmm1, dword [r15 + 0x3814]
call fcn.180004350
movss xmm1, dword [r15 + 0x3818]
mov ecx, 8
call fcn.180004350
mov rbx, qword [0x18004f968]
lea rdx, [rbp - 0x68]
mov dword [rbp - 0x68], 2
movss xmm1, dword [rbx + 0x37d8]
lea rcx, [rbx + 0x4828]
movss xmm0, dword [rbx + 0x37dc]
movss dword [rbp - 0x64], xmm1
movss dword [rbp - 0x60], xmm0
call fcn.18001ae00
movss xmm6, dword [rbp + 0x28]
lea r8, [rbp - 0x68]
movss xmm12, dword [rbp + 0x20]
lea rcx, str.MaxPlayer
movss xmm1, dword [rbp + 0x2c]
movaps xmm0, xmm6
movss xmm13, dword [rbp + 0x24]
subss xmm0, xmm12
subss xmm1, xmm13
movss dword [rbp - 0x30], xmm6
xor r12d, r12d
movss dword [rbp - 0x34], xmm12
mov r9b, 1
movss dword [rbp - 0x70], xmm13
mov edx, esi
mov qword [rbx + 0x37d8], r12
movss dword [rbp - 0x68], xmm0
movss dword [rbp - 0x64], xmm1
mov dword [rsp + 0x20], 4
call fcn.18000a7b0
lea ecx, [r12 + 3]
movzx ebx, al
call fcn.1800043d0
mov r8, qword [0x18004f968]
movsxd rax, dword [r8 + 0x4818]
cmp eax, 1
jl 0x1800364bb
mov rcx, qword [r8 + 0x4820]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [r8 + rax*8 + 0x38ac], xmm0
dec dword [r8 + 0x4818]
test bl, bl
jne 0x180036523
call fcn.18000a9e0
call fcn.180013360
xor al, al
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.18003f510
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rbx, qword [r15 + 0x3ed0]
mov qword [rbp - 0x68], rbx
movsx ecx, word [rbx + 0x15e]
movss xmm0, dword [rbx + 0x100]
mov eax, dword [rbx + 0x158]
bts ecx, eax
subss xmm11, dword [rbx + 0xac]
mov word [rbx + 0x15e], cx
addss xmm0, dword [r15 + 0x380c]
movss dword [rbx + 0x100], xmm0
movss xmm1, dword [r15 + 0x3810]
addss xmm1, dword [rbx + 0x104]
movss dword [rbx + 0x104], xmm1
jmp 0x1800365eb
movss dword [rbp - 0x3c], xmm1
lea rcx, [rbp - 0x3c]
movaps xmm1, xmm6
movss dword [rbp - 0x38], xmm2
call fcn.180012cc0
bt r12d, 0x1c
jb 0x1800365e1
mov r9d, 0x400
lea r8, [rbp + 0x20]
mov edx, esi
lea rcx, [rbp + 0xb8]
call fcn.180012e30
test al, al
je 0x1800364c9
movss xmm0, dword [rbp + 0x28]
movss xmm13, dword [rbp + 0x24]
movss xmm12, dword [rbp + 0x20]
movss dword [rbp - 0x30], xmm0
movss dword [rbp - 0x70], xmm13
movss dword [rbp - 0x34], xmm12
mov r13d, dword [r15 + 0x4774]
xor r12d, r12d
mov edx, esi
lea rcx, [rbp + 0x20]
call fcn.180007500
mov byte [rsp + 0x64], al
movzx ecx, al
test al, al
je 0x18003660c
mov dword [r15 + 0x4a70], 1
mov rdi, qword [0x18004f968]
test esi, esi
je 0x180036628
cmp dword [rdi + 0x4c08], esi
jne 0x180036628
add rdi, 0x4c00
jmp 0x18003662b
mov rdi, r12
mov eax, dword [r15 + 0x3f30]
shr r13d, 8
and r13b, 1
cmp eax, esi
je 0x180036662
cmp dword [r15 + 0x48c0], esi
jne 0x180036662
test byte [r15 + 0x48cc], 1
jne 0x18003665b
cmp dword [r15 + 0x48e4], 2
jne 0x180036662
mov byte [rsp + 0x52], 1
jmp 0x180036667
mov byte [rsp + 0x52], 0
test cl, cl
je 0x18003667a
cmp byte [r15 + 0x3748], 0
je 0x18003667a
mov r12b, 1
jmp 0x18003667d
xor r12b, r12b
mov r8d, dword [rsp + 0x60]
mov byte [rsp + 0x53], r12b
test r8b, r8b
je 0x1800366ed
test rdi, rdi
je 0x1800366ed
test eax, eax
jne 0x1800366ed
movsxd rax, dword [rbx + 0xf0]
lea rcx, str.SCROLLY
mov r8, qword [rbx + 0xf8]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1800039b0
mov rcx, qword [rbp - 0x68]
mov ebx, eax
mov rcx, qword [rcx]
cmp dword [rcx + 0x3f18], eax
jne 0x1800366da
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18001a8b0
cmp dword [r15 + 0x3f60], ebx
jne 0x1800366e8
mov sil, 1
jmp 0x1800366fa
mov r8d, dword [rsp + 0x60]
xor sil, sil
test r8b, r8b
je 0x180036770
test rdi, rdi
je 0x180036770
mov rcx, qword [rbp - 0x68]
xor edx, edx
movsxd rax, dword [rcx + 0xf0]
mov r8, qword [rcx + 0xf8]
lea rcx, str.SCROLLY
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1800039b0
mov rcx, qword [rbp - 0x68]
mov ebx, eax
mov rcx, qword [rcx]
cmp dword [rcx + 0x3f18], eax
jne 0x180036743
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18001a8b0
mov r8d, dword [rsp + 0x60]
cmp dword [r15 + 0x3f30], ebx
jne 0x180036770
mov rax, qword [rbp - 0x68]
mov cl, 1
mov byte [rsp + 0x50], cl
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
movss xmm10, dword [rax + 0x88]
jmp 0x180036798
xor cl, cl
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov byte [rsp + 0x50], cl
test r8b, r8b
je 0x180036794
mov rax, qword [rbp - 0x68]
movss xmm10, dword [rax + 0x88]
jmp 0x180036798
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x1800367ad
movzx eax, r8b
xor al, 1
cmp byte [rdi + 0x6b], al
je 0x1800367ad
mov r15b, 1
jmp 0x1800367b0
xor r15b, r15b
test r12b, r12b
jne 0x1800367da
test sil, sil
jne 0x1800367da
cmp byte [rsp + 0x52], sil
jne 0x1800367da
test r13b, r13b
jne 0x1800367da
mov byte [rsp + 0x51], r13b
test cl, cl
jne 0x1800367df
mov rax, qword [rsp + 0x68]
mov byte [rsp + 0x59], cl
jmp 0x1800367f5
mov byte [rsp + 0x51], 1
mov rax, qword [rsp + 0x68]
mov edx, dword [rsp + 0x74]
mov byte [rsp + 0x59], 1
cmp dword [rax + 0x3f30], edx
jne 0x1800367fe
test r15b, r15b
je 0x180036a3e
lea rdi, [rax + 0x4c00]
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rdi + 8]
call fcn.180035f70
mov rax, qword [rbp - 0x48]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180036822
mov ecx, dword [rdi + 0x3c]
lea esi, [rbx + 1]
cmp esi, ecx
jle 0x180036859
test ecx, ecx
je 0x180036844
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180036849
mov eax, 8
cmp eax, esi
lea rcx, [rdi + 0x38]
mov edx, esi
cmovg edx, eax
call fcn.18001b520
mov dword [rdi + 0x38], esi
mov rcx, qword [rdi + 0x40]
movsxd r8, esi
mov rsi, qword [rbp - 0x48]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r14d, dword [rsp + 0x74]
cmp dword [rdi + 8], r14d
jne 0x1800368a1
test r15b, r15b
jne 0x1800368a1
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x1800368a1
cmp byte [rdi + 0x48], r15b
je 0x1800368a4
mov rcx, qword [rdi + 0x30]
mov rdx, rsi
movsxd r8, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1800368a4
xor r12b, r12b
mov dword [rdi + 8], r14d
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x1800368d7
test ecx, ecx
je 0x1800368bf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800368c4
mov eax, 8
mov edx, 0x21
lea rcx, [rdi + 0x18]
cmp eax, edx
cmovg edx, eax
call fcn.18001b5b0
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x180036900
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
lea rcx, [rdi + 0x28]
cmovg edx, eax
call fcn.18001b520
xor ecx, ecx
mov dword [rdi + 0x28], ecx
mov r15, qword [rdi + 0x20]
mov byte [rdi + 0x48], cl
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x180036944
cmp byte [rsi], 0
je 0x180036942
xor r8d, r8d
lea rcx, [rbp - 0x3c]
mov rdx, rsi
call fcn.180003cd0
movsxd rcx, eax
movzx eax, word [rbp - 0x3c]
add rsi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180036918
xor ecx, ecx
mov rax, qword [rbp - 0x48]
mov r8d, dword [rsp + 0x60]
sub esi, eax
mov word [rbx], cx
sub rbx, r15
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov dword [rdi + 0x10], esi
test r12b, r12b
je 0x180036987
cmp dword [rdi + 0x54], ebx
mov ecx, ebx
cmovl ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x58], ebx
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmovl ecx, dword [rdi + 0x58]
cmp dword [rdi + 0x5c], ebx
mov dword [rdi + 0x58], ecx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x1800369ce
movzx eax, r8b
mov qword [rdi + 0x50], 0
xor al, 1
mov dword [rdi + 0xe72], 0x630000
mov byte [rdi + 0x6b], al
mov dword [rdi + 0xe78], ecx
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], ecx
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], ecx
test r8b, r8b
jne 0x180036a26
mov eax, dword [rsp + 0x54]
mov ecx, 1
mov r9d, dword [rsp + 0x70]
test r9b, 0x10
movzx eax, al
cmovne eax, ecx
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x68]
cmp byte [rsp + 0x52], r8b
je 0x180036a0d
test r12b, r12b
je 0x180036a09
test byte [rax + 0x48cc], 4
jne 0x180036a0d
mov byte [rsp + 0x54], cl
test r13b, r13b
jne 0x180036a22
cmp byte [rsp + 0x53], r13b
je 0x180036a26
cmp byte [rax + 0xe24], r13b
je 0x180036a26
mov byte [rsp + 0x54], cl
test dword [rsp + 0x70], 0x2000
mov r14, qword [rbp - 0x78]
movzx r12d, byte [rsp + 0x53]
je 0x180036a3e
mov byte [rdi + 0x60], 1
mov rsi, qword [rsp + 0x68]
mov r13d, dword [rsp + 0x74]
movzx ebx, byte [rsp + 0x51]
movzx r15d, byte [rsi + 0x79]
mov byte [rsp + 0x78], r15b
cmp dword [rsi + 0x3f30], r13d
je 0x180036a89
test bl, bl
je 0x180036a89
mov rdx, r14
mov ecx, r13d
call fcn.1800072a0
mov rdx, r14
mov ecx, r13d
call fcn.180014890
xor edx, edx
mov rcx, r14
call fcn.18000fb80
mov r8d, dword [rsp + 0x60]
mov r14d, r13d
cmp dword [rsi + 0x3f30], r13d
jne 0x180036bd6
test r12b, r12b
je 0x180036abc
mov rax, qword [0x18004f968]
mov dword [rax + 0x4588], r13d
mov dword [rax + 0x4584], r13d
mov word [rax + 0x458c], 0
mov eax, dword [rsi + 0x4740]
mov ecx, dword [rsp + 0x70]
or eax, 3
mov dword [rsi + 0x4740], eax
test r8b, r8b
jne 0x180036ad8
test cl, cl
jns 0x180036ae1
or eax, 0xc
mov dword [rsi + 0x4740], eax
mov rax, qword [0x18004f968]
mov dword [rax + 0x3fd0], r13d
mov dword [rax + 0x3fcc], r13d
mov word [rax + 0x3fd4], 0
mov dword [rax + 0x3fdc], r13d
mov dword [rax + 0x3fd8], r13d
mov word [rax + 0x3fe0], 0
test r8b, r8b
je 0x180036b49
mov dword [rax + 0x3fb8], r13d
mov dword [rax + 0x3fb4], r13d
mov word [rax + 0x3fbc], 0
mov dword [rax + 0x3fc4], r13d
mov dword [rax + 0x3fc0], r13d
mov word [rax + 0x3fc8], 0
test r15b, r15b
je 0x180036b65
mov dword [rax + 0x45f4], r13d
mov dword [rax + 0x45f0], r13d
mov word [rax + 0x45f8], 0
test ecx, 0x440
je 0x180036b9d
mov ecx, 0x200
call fcn.1800109d0
mov rdx, qword [0x18004f968]
lea ecx, [r13 - 1]
cmp ecx, 0xfffffffd
mov ecx, r13d
jbe 0x180036b90
mov ecx, dword [rdx + 0x474c]
cmp byte [rax + 4], 0
jbe 0x180036b9d
mov dword [rax + 0xc], ecx
mov byte [rax + 4], 0
cmp dword [rsi + 0x3f30], r13d
jne 0x180036bd6
test rdi, rdi
jne 0x180036bb0
call fcn.180007400
cmp dword [rsi + 0x3f30], r13d
jne 0x180036bd6
cmp byte [rsi + 0x3748], 0
je 0x180036be2
cmp byte [rsp + 0x59], 0
jne 0x180036be2
test bl, bl
jne 0x180036be2
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x180036be8
test rdi, rdi
je 0x180036be6
cmp byte [rsp + 0x50], 0
je 0x180036be6
mov cl, 1
jmp 0x180036be8
xor cl, cl
mov r13d, dword [rsp + 0x54]
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x180036c0b
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180036c03
test r13b, r13b
je 0x180036c0b
test cl, cl
je 0x180036c0b
mov dl, 1
jmp 0x180036c0d
xor dl, dl
mov eax, dword [rsp + 0x5c]
xor r8b, r8b
mov dword [rsp + 0x54], edx
movzx r12d, dl
mov byte [rsp + 0x51], r8b
mov byte [rsp + 0x59], r8b
test al, al
je 0x180036d11
test rdi, rdi
je 0x180036d11
test cl, cl
jne 0x180036c43
test dl, dl
je 0x180036d19
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x180036c72
test ecx, ecx
je 0x180036c5a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180036c5f
mov eax, 8
mov edx, 0x21
lea rcx, [rdi + 0x18]
cmp eax, edx
cmovg edx, eax
call fcn.18001b5b0
mov rax, qword [rbp - 0x48]
mov dword [rdi + 0x18], 0x21
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x180036cbe
cmp byte [rsi], 0
je 0x180036cba
xor r8d, r8d
lea rcx, [rbp - 0x3c]
mov rdx, rsi
call fcn.180003cd0
movsxd rcx, eax
movzx eax, word [rbp - 0x3c]
add rsi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x180036c90
mov rax, qword [rbp - 0x48]
mov r14d, dword [rsp + 0x74]
xor edx, edx
mov word [rbx], dx
sub esi, eax
mov eax, dword [rsp + 0x5c]
sub rbx, r15
movzx r15d, byte [rsp + 0x78]
sar rbx, 1
cmp dword [rdi + 0x54], ebx
mov ecx, ebx
mov dword [rdi + 0xc], ebx
cmovl ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x58], ebx
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmovl ecx, dword [rdi + 0x58]
cmp dword [rdi + 0x5c], ebx
mov dword [rdi + 0x58], ecx
cmovl ebx, dword [rdi + 0x5c]
cmp ecx, ebx
mov dword [rdi + 0x10], esi
movzx ecx, byte [rsp + 0x50]
cmovne edx, r12d
mov dword [rdi + 0x5c], ebx
mov dword [rsp + 0x54], edx
test cl, cl
jne 0x180036d2a
test dl, dl
jne 0x180036d2a
mov r12, qword [rsp + 0x68]
cmp dword [r12 + 0x3f30], r14d
jne 0x180036d42
jmp 0x180036d2f
mov r12, qword [rsp + 0x68]
test al, al
jne 0x180036d42
test rdi, rdi
je 0x180036d42
mov byte [rsp + 0x7b], 1
cmp byte [rdi + 0x48], al
jne 0x180036d47
mov byte [rsp + 0x7b], 0
cmp byte [rbp - 0x40], 0
je 0x180036de1
mov rdx, qword [r12 + 0x3c00]
cmp dword [rdx + 0x18], 0x2a
ja 0x180036d65
mov r8, qword [rdx + 0x38]
jmp 0x180036d89
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x180036d7d
mov r8, qword [rdx + 0x38]
jmp 0x180036d89
mov rax, qword [rdx + 0x30]
lea rcx, [rcx + rcx*4]
lea r8, [rax + rcx*8]
mov eax, dword [rdx + 0x14]
lea rcx, [r12 + 0x5aa8]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3c00]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3c00]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3c00]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3c00]
mov rdx, qword [rax + 0x40]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rcx + 0x10], eax
call fcn.180010170
movss xmm0, dword [0x180047b5c]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
cmp dword [r12 + 0x3f30], r14d
jne 0x180037275
mov eax, dword [rdi + 0x10]
mov ebx, dword [rsp + 0x70]
mov dword [rdi + 0xe88], ebx
mov byte [rdi + 0xe86], cl
mov dword [rdi + 0x4c], 0x20
cmp byte [r12 + 0xe10], cl
mov dword [rbp - 0x3c], eax
sete al
mov byte [r12 + 0x3f3d], al
movss xmm1, dword [r12 + 0xe08]
subss xmm1, xmm12
subss xmm1, dword [r12 + 0x380c]
addss xmm1, dword [rdi + 0x50]
cmp byte [rsp + 0x60], cl
je 0x180036e68
mov rax, qword [rbp - 0x68]
movss xmm2, dword [r12 + 0xe0c]
subss xmm2, dword [rax + 0x104]
jmp 0x180036e76
movss xmm2, dword [r12 + 0x3c08]
mulss xmm2, xmm0
test r13b, r13b
je 0x180036e9a
mov eax, dword [rdi + 0xc]
xor r13d, r13d
mov dword [rdi + 0x58], r13d
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0x6a], cl
mov byte [rdi + 0xe85], 1
jmp 0x18003710a
movzx ecx, byte [rsp + 0x64]
test cl, cl
je 0x18003702a
cmp word [r12 + 0x3752], 2
jb 0x18003702a
cmp byte [r12 + 0xe25], 0
jne 0x18003702a
cmp byte [rdi + 0x6b], 0
je 0x180036ed0
movaps xmm2, xmm8
mov rcx, rdi
call fcn.1800342e0
movsxd rdx, eax
mov dword [rdi + 0x54], edx
mov dword [rdi + 0x58], edx
mov dword [rdi + 0x5c], edx
mov byte [rdi + 0x6a], 0
test byte [r12 + 0x3752], 1
jne 0x180036f9e
test eax, eax
je 0x180036f0b
mov rax, qword [rdi + 0x20]
cmp word [rax + rdx*2 - 2], 0xa
je 0x180036f0b
xor cl, cl
jmp 0x180036f0d
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180036f19
test cl, cl
jne 0x180036f3f
mov r8d, 0x20000c
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034750
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov edx, dword [rdi + 0x54]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180036f59
cmp dword [rdi + 0x58], eax
jne 0x180036f54
mov dword [rdi + 0x5c], edx
mov dword [rdi + 0x58], edx
jmp 0x180036f59
mov dword [rdi + 0x54], eax
mov edx, eax
mov rcx, rdi
call fcn.180033f20
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0xc]
cmp ecx, edx
je 0x180036f8d
cmp ecx, eax
jle 0x180036f7d
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180036f86
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180036f8d
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x1800370fd
mov dword [rdi + 0x54], eax
jmp 0x1800370fd
mov rax, qword [rdi + 0x20]
mov r8d, 0x200004
mov rcx, rdi
movzx ebx, word [rax + rdx*2]
lea rdx, [rdi + 0x54]
call fcn.180034750
mov r8d, 0x600005
mov byte [rdi + 0xe84], 1
lea rdx, [rdi + 0x54]
mov dword [rdi + 0xe80], 0xbe99999a
mov rcx, rdi
call fcn.180034750
mov r8d, 0x600001
mov byte [rdi + 0xe84], 1
lea rdx, [rdi + 0x54]
mov dword [rdi + 0xe80], 0xbe99999a
mov rcx, rdi
call fcn.180034750
cmp bx, 0xa
je 0x18003701a
cmp byte [rsp + 0x60], 0
je 0x18003701a
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0x5c]
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], ecx
mov dword [rdi + 0x54], ecx
mov ebx, dword [rsp + 0x70]
mov byte [rdi + 0xe84], 0
jmp 0x1800370fd
cmp byte [r12 + 0x3748], 0
movzx eax, byte [rdi + 0xe85]
je 0x18003709d
test al, al
jne 0x18003709d
test cl, cl
je 0x180037107
cmp byte [r12 + 0xe25], al
je 0x18003707c
cmp byte [rdi + 0x6b], al
je 0x18003705b
movaps xmm2, xmm8
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180037069
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.1800342e0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x1800370fd
cmp byte [rdi + 0x6b], 0
je 0x180037086
movaps xmm2, xmm8
mov rcx, rdi
call fcn.1800342e0
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x1800370fd
cmp byte [r12 + 0xe10], 0
je 0x180037107
test al, al
jne 0x180037107
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm8
jp 0x1800370d0
jne 0x1800370d0
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm8
jp 0x1800370d0
je 0x180037107
cmp byte [rdi + 0x6b], 0
je 0x1800370da
movaps xmm2, xmm8
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800370e8
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
mov rcx, rdi
call fcn.1800342e0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
xor r13d, r13d
cmp byte [rdi + 0xe85], 0
je 0x180037125
cmp byte [r12 + 0xe10], 0
jne 0x180037125
mov byte [rdi + 0xe85], 0
bt ebx, 0xa
jae 0x180037186
xor r8d, r8d
mov edx, r14d
mov ecx, 0x200
call fcn.180012bc0
mov ecx, dword [rsp + 0x5c]
test al, al
je 0x18003718a
test cl, cl
jne 0x18003718a
mov edx, ebx
mov dword [rbp - 0x78], 9
lea rcx, [rbp - 0x78]
mov dword [rsp + 0x20], 2
call fcn.180035b30
test al, al
je 0x180037186
mov r8d, dword [rbp - 0x78]
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034750
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rsp + 0x5c]
cmp byte [r12 + 0xe24], 0
je 0x1800371a0
cmp byte [r12 + 0xe26], 0
je 0x1800371b0
test r15b, r15b
je 0x1800371b4
cmp byte [r12 + 0xe27], 0
je 0x1800371b4
mov al, 1
jmp 0x1800371b6
xor al, al
cmp dword [r12 + 0x37c0], 0
jle 0x180037275
test al, al
jne 0x180037243
test cl, cl
jne 0x180037243
cmp byte [rsp + 0x52], cl
jne 0x180037243
mov r15d, dword [rsp + 0x70]
mov esi, r13d
mov rbx, r13
nop
mov rax, qword [r12 + 0x37c8]
movzx ecx, word [rax + rbx]
mov dword [rbp - 0x78], ecx
cmp ecx, 9
je 0x18003722d
mov edx, r15d
mov dword [rsp + 0x20], 2
lea rcx, [rbp - 0x78]
call fcn.180035b30
test al, al
je 0x18003722d
mov r8d, dword [rbp - 0x78]
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034750
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r12 + 0x37c0]
jl 0x1800371e0
movzx r15d, byte [rsp + 0x78]
mov ecx, dword [r12 + 0x37c4]
test ecx, ecx
jns 0x18003726d
mov eax, ecx
cdq
sub eax, edx
mov edx, r13d
sar eax, 1
add eax, ecx
lea rcx, [r12 + 0x37c0]
test eax, eax
cmovg edx, eax
call fcn.18001b5b0
mov dword [r12 + 0x37c0], r13d
mov r13d, dword [rsp + 0x74]
xor r14b, r14b
mov byte [rsp + 0x7a], r14b
cmp dword [r12 + 0x3f30], r13d
jne 0x180037e17
cmp byte [r12 + 0x3f3c], r14b
jne 0x180037e17
cmp byte [rsp + 0x58], r14b
jne 0x180037e17
movaps xmm0, xmm7
mov esi, 1
subss xmm0, dword [r12 + 0x3810]
mov ecx, esi
divss xmm0, dword [r12 + 0x3c08]
cvttss2si eax, xmm0
cmp eax, esi
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r12 + 0xe25]
neg al
mov dword [rbp - 0x78], ecx
sbb ebx, ebx
and ebx, 0x400000
test r15b, r15b
je 0x18003731a
movzx eax, byte [r12 + 0xe26]
mov byte [rsp + 0x53], al
cmp byte [r12 + 0xe27], r14b
je 0x180037327
cmp byte [r12 + 0xe24], r14b
jne 0x180037327
test al, al
jne 0x180037327
mov byte [rsp + 0x52], sil
jmp 0x18003732c
movzx eax, byte [r12 + 0xe24]
mov byte [rsp + 0x53], al
mov byte [rsp + 0x52], r14b
mov r8d, esi
mov edx, r13d
mov ecx, 0xa39
call fcn.180012bc0
test al, al
jne 0x180037354
mov r8d, esi
mov edx, r13d
mov ecx, 0x220a
call fcn.180012bc0
test al, al
je 0x18003737f
mov r14d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x40]
mov esi, dword [rsp + 0x60]
test r14b, r14b
jne 0x18003738c
test r12b, r12b
jne 0x18003738c
test sil, sil
je 0x180037378
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x18003738c
mov byte [rsp + 0x79], 1
jmp 0x180037391
mov esi, dword [rsp + 0x60]
mov r14d, dword [rsp + 0x5c]
mov r12d, dword [rbp - 0x40]
mov byte [rsp + 0x79], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.180012bc0
test al, al
jne 0x1800373b9
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.180012bc0
test al, al
je 0x1800373d1
test r12b, r12b
jne 0x1800373d1
test sil, sil
je 0x1800373cb
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x1800373d1
mov byte [rbp - 0x57], 1
jmp 0x1800373d5
mov byte [rbp - 0x57], 0
mov r12d, 1
mov edx, r13d
mov r8d, r12d
mov ecx, 0xa37
call fcn.180012bc0
test al, al
jne 0x180037403
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.180012bc0
test al, al
je 0x18003740d
mov byte [rsp + 0x64], r12b
test r14b, r14b
je 0x180037412
mov byte [rsp + 0x64], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.180012bc0
mov esi, dword [rbp - 0x50]
test al, al
je 0x180037437
test r14b, r14b
jne 0x180037437
mov byte [rbp - 0x58], r12b
test sil, sil
jne 0x18003743b
mov byte [rbp - 0x58], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.180012bc0
test al, al
jne 0x180037468
test r15b, r15b
je 0x180037472
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.180012bc0
test al, al
je 0x180037472
test r14b, r14b
jne 0x180037472
test sil, sil
jne 0x180037475
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.180012bc0
movzx r13d, al
mov rax, qword [rsp + 0x68]
test byte [rax + 8], 2
je 0x18003749f
test byte [rax + 0xc], 1
je 0x18003749f
mov sil, 1
jmp 0x1800374a2
xor sil, sil
mov r14d, 1
xor edx, edx
mov r8d, r14d
mov ecx, 0x20d
call fcn.180010cc0
test al, al
jne 0x1800374d3
mov r8d, r14d
xor edx, edx
mov ecx, 0x267
call fcn.180010cc0
test al, al
jne 0x1800374d3
xor r15b, r15b
jmp 0x1800374d7
movzx r15d, r14b
test sil, sil
je 0x180037502
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180010cc0
test al, al
jne 0x180037505
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180010cc0
test al, al
jne 0x180037505
xor r14b, r14b
mov edx, dword [rsp + 0x74]
mov r8d, 1
mov ecx, 0x20e
call fcn.180012bc0
test al, al
jne 0x18003753f
test sil, sil
je 0x18003753a
mov edx, dword [rsp + 0x74]
mov r8d, 1
mov ecx, 0x26c
call fcn.180012bc0
test al, al
jne 0x18003753f
xor sil, sil
jmp 0x180037542
mov sil, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x1800375a2
cmp byte [rsp + 0x52], 0
je 0x180037564
mov eax, 0x200004
jmp 0x180037576
cmp byte [rsp + 0x53], 0
mov eax, 0x200000
mov ecx, 0x20000c
cmovne eax, ecx
or ebx, eax
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180034750
mov dword [rdi + 0xe80], 0xbe99999a
mov byte [rdi + 0xe84], 1
mov r12, qword [rsp + 0x68]
jmp 0x180037dee
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x1800375dc
cmp byte [rsp + 0x52], 0
je 0x1800375c6
mov ecx, 0x200005
or ebx, ecx
jmp 0x180037578
cmp byte [rsp + 0x53], 0
mov ecx, 0x200001
mov eax, 0x20000d
cmovne ecx, eax
or ebx, ecx
jmp 0x180037578
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x180037677
cmp byte [rsp + 0x60], 0
je 0x180037677
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe24], 0
je 0x180037645
mov r8, qword [rbp - 0x68]
xor eax, eax
movss xmm0, dword [r8 + 0x88]
subss xmm0, dword [r12 + 0x3c08]
mov dword [r8 + 0xa0], eax
mov dword [r8 + 0xa8], eax
maxss xmm0, xmm8
movss dword [r8 + 0x98], xmm0
jmp 0x180037dee
movzx eax, byte [rsp + 0x52]
lea r8d, [rax*4 + 0x200002]
or r8d, ebx
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034750
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180037dee
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x1800376fb
cmp byte [rsp + 0x60], 0
je 0x1800376fb
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe24], 0
je 0x1800376e9
mov rdx, qword [rbp - 0x68]
movss xmm0, dword [r12 + 0x3c08]
mov rax, qword [0x18004f968]
addss xmm0, dword [rdx + 0x88]
mov rcx, qword [rax + 0x3ed0]
xor eax, eax
minss xmm0, dword [rcx + 0x90]
mov dword [rdx + 0xa0], eax
mov dword [rdx + 0xa8], eax
movss dword [rdx + 0x98], xmm0
jmp 0x180037dee
movzx eax, byte [rsp + 0x52]
lea r8d, [rax*4 + 0x200003]
jmp 0x180037652
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x18003775d
cmp byte [rsp + 0x60], 0
je 0x18003775d
or ebx, 0x20000e
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180034750
movd xmm0, dword [rbp - 0x78]
mov r12, qword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mulss xmm0, dword [r12 + 0x3c08]
subss xmm10, xmm0
jmp 0x180037dee
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x1800377bf
cmp byte [rsp + 0x60], 0
je 0x1800377bf
or ebx, 0x20000f
lea rdx, [rdi + 0x54]
mov r8d, ebx
mov rcx, rdi
call fcn.180034750
movd xmm0, dword [rbp - 0x78]
mov r12, qword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mulss xmm0, dword [r12 + 0x3c08]
addss xmm10, xmm0
jmp 0x180037dee
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x1800377f9
mov r12, qword [rsp + 0x68]
mov eax, ebx
or eax, 0x200006
or ebx, 0x200004
cmp byte [r12 + 0xe24], 0
cmovne ebx, eax
mov r8d, ebx
jmp 0x180037655
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x180037834
mov r12, qword [rsp + 0x68]
mov eax, ebx
or eax, 0x200007
mov r8d, 0x200005
or r8d, ebx
cmp byte [r12 + 0xe24], 0
cmovne r8d, eax
jmp 0x180037655
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180010cc0
test al, al
je 0x180037893
cmp byte [rsp + 0x5c], 0
jne 0x180037893
cmp byte [rsp + 0x79], 0
jne 0x180037893
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180037888
cmp byte [rsp + 0x53], 0
je 0x180037888
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.180034750
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or ebx, 0x200008
jmp 0x180037578
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180010cc0
mov r8d, dword [rsp + 0x5c]
test al, al
je 0x18003795c
test r8b, r8b
jne 0x18003795c
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x1800378eb
cmp byte [rsp + 0x53], r8b
je 0x1800378fe
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.180034750
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r12, qword [rsp + 0x68]
or ebx, 0x200009
mov r8d, ebx
jmp 0x180037655
cmp byte [rsp + 0x78], 0
je 0x1800378eb
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0xe27], 0
je 0x1800378f0
cmp byte [r12 + 0xe26], 0
jne 0x1800378f0
cmp byte [r12 + 0xe24], 0
jne 0x1800378f0
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.180034750
or ebx, 0x200009
mov byte [rdi + 0xe84], 1
mov r8d, ebx
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x180037655
test r15b, r15b
jne 0x180037d5d
test r14b, r14b
jne 0x180037d5d
test sil, sil
je 0x1800379ca
test dword [rsp + 0x70], 0x100000
je 0x1800379ab
mov eax, dword [rdi + 0x10]
test eax, eax
jg 0x180037998
xor r12b, r12b
mov byte [rsp + 0x58], 1
mov dword [rsp + 0x54], r12d
test eax, eax
mov byte [rsp + 0x50], r12b
mov r12, qword [rsp + 0x68]
setg r14b
mov byte [rsp + 0x7a], r14b
jmp 0x180037df1
mov r12, qword [rsp + 0x68]
mov r14b, 1
xor cl, cl
mov byte [rsp + 0x7a], r14b
xor dl, dl
mov byte [rsp + 0x58], r14b
mov byte [rsp + 0x50], dl
jmp 0x180037dfa
movzx eax, byte [rbp - 0x58]
test al, al
jne 0x180037d35
test r12b, r12b
jne 0x180037d35
test r13b, r13b
je 0x180037a07
xor eax, eax
mov byte [rdi + 0x6a], r12b
mov r12, qword [rsp + 0x68]
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
jmp 0x180037dee
movzx r12d, byte [rsp + 0x79]
test r12b, r12b
jne 0x180037b9b
cmp byte [rbp - 0x57], r12b
jne 0x180037b9b
cmp byte [rsp + 0x64], r12b
je 0x180037598
mov rcx, qword [0x18004f968]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x180037a5c
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x180037598
mov rcx, qword [0x18004f968]
jmp 0x180037a63
lea rbx, [0x1800460be]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180037a70
test rcx, rcx
je 0x180037a84
inc dword [rcx + 0xf4]
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r12d, r12d
mov qword [rbp - 0x50], rax
mov r15, rax
mov r14d, r12d
cmp byte [rbx], r12b
je 0x180037af4
mov r15d, dword [rsp + 0x70]
mov rsi, rax
nop
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov rdx, rbx
call fcn.180003cd0
movsxd rcx, eax
mov edx, r15d
add rbx, rcx
mov dword [rsp + 0x20], 4
lea rcx, [rbp - 0x78]
call fcn.180035b30
test al, al
je 0x180037aeb
movzx eax, word [rbp - 0x78]
inc r14d
mov word [rsi], ax
add rsi, 2
cmp byte [rbx], r12b
jne 0x180037ab0
mov r15, qword [rbp - 0x50]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x180037b71
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0xc]
cmp ecx, edx
je 0x180037b27
cmp ecx, eax
jle 0x180037b17
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180037b20
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180037b27
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x180037b2f
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034610
mov edx, dword [rdi + 0x54]
mov r9d, r14d
mov r8, r15
mov rcx, rdi
call fcn.180034150
test al, al
je 0x180037b6a
mov edx, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
mov r9d, r14d
xor r8d, r8d
call fcn.180035640
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x180037b88
mov rax, qword [0x18004f968]
test rax, rax
je 0x180037b88
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rsp + 0x68]
jmp 0x180037dee
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0xb8], 0
je 0x180037ce5
mov eax, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, eax
je 0x180037bc2
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x180037bc9
xor eax, eax
mov edx, eax
mov eax, dword [rdi + 0xc]
movsxd rsi, eax
mov r9d, 0x800
mov rax, qword [rdi + 0x20]
mov r13d, 0x80
movsxd r15, edx
lea r8, [rax + rsi*2]
lea rdx, [rax + r15*2]
xor eax, eax
mov ecx, eax
nop dword [rax + rax]
test r8, r8
je 0x180037bfa
cmp rdx, r8
jae 0x180037c1d
movzx eax, word [rdx]
test ax, ax
je 0x180037c1d
add rdx, 2
cmp ax, r13w
jae 0x180037c10
inc ecx
jmp 0x180037bf0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x180037bf0
mov rax, qword [0x18004f968]
inc ecx
test rax, rax
je 0x180037c31
inc dword [rax + 0xf4]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rdi + 0x20]
mov r14, rax
mov r9, rax
lea r11, [rcx + rsi*2]
lea rsi, [rax + rbx]
lea rbx, [rsi - 1]
lea r10, [rcx + r15*2]
cmp rax, rbx
jae 0x180037ca1
nop dword [rax]
test r11, r11
je 0x180037c6a
cmp r10, r11
jae 0x180037ca1
movzx eax, word [r10]
test ax, ax
je 0x180037ca1
add r10, 2
mov r8d, eax
cmp eax, r13d
jae 0x180037c87
mov byte [r9], r8b
inc r9
jmp 0x180037c9c
mov edx, esi
mov rcx, r9
sub edx, r9d
dec edx
call fcn.180003e80
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180037c60
mov rax, qword [0x18004f968]
mov byte [r9], 0
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x180037ccc
mov rcx, qword [rax + 0xc0]
mov rdx, r14
call r8
mov rax, qword [0x18004f968]
test r14, r14
je 0x180037cdc
test rax, rax
je 0x180037cdc
dec dword [rax + 0xf4]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12b, r12b
je 0x180037598
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x180037d08
xor eax, eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180037598
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.180034610
mov r12, qword [rsp + 0x68]
mov byte [rdi + 0x6a], 0
jmp 0x180037dee
mov r8d, eax
lea rdx, [rdi + 0x54]
xor r8d, 1
mov rcx, rdi
add r8d, 0x20000a
call fcn.180034750
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
jmp 0x180037587
mov edx, dword [rsp + 0x70]
mov eax, edx
mov ecx, dword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
shr eax, 0xb
and al, 1
test cl, cl
je 0x180037d88
test r14b, r14b
jne 0x180037d88
test al, al
je 0x180037dac
cmp byte [r12 + 0xe24], r14b
jne 0x180037db7
cmp byte [r12 + 0x7c], 0
mov byte [rsp + 0x59], 1
je 0x180037de9
test cl, cl
jne 0x180037de9
xor eax, eax
mov byte [rdi + 0x6a], cl
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x180037dee
cmp byte [r12 + 0xe24], 0
jne 0x180037d88
test r8b, r8b
jne 0x180037598
lea rcx, [rbp - 0x78]
mov dword [rbp - 0x78], 0xa
mov dword [rsp + 0x20], 2
call fcn.180035b30
test al, al
je 0x180037598
mov r8d, dword [rbp - 0x78]
jmp 0x180037655
mov byte [rsp + 0x58], 1
xor r14b, r14b
mov ecx, dword [rsp + 0x54]
movzx edx, byte [rsp + 0x50]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x180037e0a
test dl, dl
je 0x180037e0a
mov al, 1
jmp 0x180037e0c
xor al, al
mov r13d, dword [rsp + 0x74]
or cl, al
mov dword [rsp + 0x54], ecx
xor r11d, r11d
mov qword [rbp - 0x50], r11
mov dword [rsp + 0x7c], r11d
cmp dword [r12 + 0x3f30], r13d
jne 0x180038558
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x1800380cb
test r14b, r14b
je 0x18003802e
test dword [rsp + 0x70], 0x100000
je 0x180037ec1
movsxd rbx, dword [rdi + 0xc]
lea rax, [0x1800460be]
mov r8d, ebx
mov qword [rbp - 0x50], rax
lea rcx, [rdi + 0x74]
mov dword [rsp + 0x7c], r11d
xor r9d, r9d
xor edx, edx
call fcn.180035640
mov r9, rax
test rax, rax
je 0x180037ea5
test ebx, ebx
jle 0x180037ea5
xor eax, eax
mov edx, eax
nop word [rax + rax]
mov rcx, qword [rdi + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x180037e90
mov r8d, dword [rdi + 0xc]
xor edx, edx
mov rcx, rdi
call fcn.180034080
xor eax, eax
mov qword [rdi + 0x58], rax
mov dword [rdi + 0x54], eax
jmp 0x18003802e
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x48]
mov r8, r9
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180037ee3
inc rax
test ecx, ecx
jne 0x180037ed0
test edx, edx
je 0x18003802e
mov eax, dword [rdi + 0x38]
mov r15, r9
dec eax
mov qword [rbp - 0x50], r9
mov dword [rsp + 0x7c], eax
mov r13d, r11d
mov byte [rsp + 0x51], 1
mov r12, r11
test eax, eax
jle 0x180037fe6
movsxd rbx, eax
mov rsi, r9
add rbx, r9
mov r14d, r11d
nop word [rax + rax]
test rbx, rbx
je 0x180037f2a
cmp rsi, rbx
jae 0x180037f49
cmp byte [rsi], r12b
je 0x180037f49
mov r8, rbx
lea rcx, [rbp - 0x78]
mov rdx, rsi
call fcn.180003cd0
movsxd rcx, eax
add rsi, rcx
inc r14d
jmp 0x180037f20
lea r13d, [r14 + 1]
test r13d, r13d
jle 0x180037f86
cmp r13d, 8
mov eax, r13d
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x180037f86
mov rcx, qword [0x18004f968]
test rcx, rcx
je 0x180037f77
inc dword [rcx + 0xf4]
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov rsi, r15
mov r14, r12
movsxd r15, r13d
dec r15
lea r15, [r12 + r15*2]
cmp r12, r15
jae 0x180037fd5
nop dword [rax + rax]
test rbx, rbx
je 0x180037faa
cmp rsi, rbx
jae 0x180037fd5
cmp byte [rsi], 0
je 0x180037fd5
mov r8, rbx
lea rcx, [rbp - 0x78]
mov rdx, rsi
call fcn.180003cd0
movsxd rcx, eax
movzx eax, word [rbp - 0x78]
add rsi, rcx
mov word [r14], ax
add r14, 2
cmp r14, r15
jb 0x180037fa0
mov eax, dword [rsp + 0x7c]
xor r11d, r11d
mov word [r14], r11w
movzx r14d, byte [rsp + 0x7a]
test eax, eax
lea r9d, [r13 - 1]
lea rdx, [rdi + 0x54]
mov r8, r12
cmovle r9d, r11d
mov rcx, rdi
call fcn.180035a70
test r12, r12
je 0x18003801f
mov rax, qword [0x18004f968]
test rax, rax
je 0x180038016
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15d, dword [rsp + 0x5c]
mov r13d, dword [rsp + 0x74]
mov r12, qword [rsp + 0x68]
mov eax, dword [rdi + 0x18]
mov byte [rdi + 0x48], 1
mov ecx, dword [rdi + 0x2c]
lea ebx, [rax*4 + 1]
cmp ebx, ecx
jle 0x180038067
test ecx, ecx
je 0x180038052
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180038057
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.18001b520
mov dword [rdi + 0x28], ebx
mov r9, qword [rdi + 0x30]
mov r10, qword [rdi + 0x20]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x1800380c4
mov r15d, 0x80
movzx eax, word [r10]
test ax, ax
je 0x1800380bf
add r10, 2
mov r8d, eax
cmp eax, r15d
jae 0x1800380a4
mov byte [r9], r8b
inc r9
jmp 0x1800380ba
mov edx, r11d
mov rcx, r9
sub edx, r9d
dec edx
call fcn.180003e80
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180038087
mov r15d, dword [rsp + 0x5c]
mov byte [r9], 0
xor r11d, r11d
test r14b, r14b
je 0x180038142
cmp byte [rsp + 0x59], 0
je 0x1800380e1
mov esi, dword [rsp + 0x70]
test sil, 0x20
jne 0x180038146
mov r12d, dword [rbp - 0x80]
mov r15, qword [rbp - 0x48]
mov r8d, dword [rsp + 0x5c]
movzx r11d, byte [rsp + 0x51]
mov r10, qword [rbp - 0x50]
mov r9d, dword [rsp + 0x7c]
mov r13, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x74]
cmp dword [r13 + 0x5a90], r14d
jne 0x1800385fb
cmp dword [r13 + 0x3f30], r14d
je 0x1800385f0
mov rax, qword [0x18004f968]
mov ecx, dword [rax + 0x4774]
test cl, 0x20
je 0x180038570
shr ecx, 6
test cl, 1
jmp 0x18003858a
mov esi, dword [rsp + 0x70]
test esi, 0x801c0
je 0x1800384fa
mov ebx, r11d
test sil, 0x40
je 0x180038181
xor r8d, r8d
mov edx, r13d
mov ecx, 0x200
call fcn.180012bc0
test al, al
je 0x180038181
mov eax, 0x40
mov ebx, 0x200
xor r11d, r11d
jmp 0x180038202
test sil, sil
jns 0x1800381d8
mov r14d, 1
xor edx, edx
mov r8d, r14d
mov ecx, 0x203
call fcn.180010cc0
test al, al
je 0x1800381b2
mov r10d, 0x80
mov ebx, 0x203
mov eax, r10d
xor r11d, r11d
jmp 0x180038208
mov r8d, r14d
xor edx, edx
mov ecx, 0x204
call fcn.180010cc0
test al, al
je 0x1800381d8
mov r10d, 0x80
mov ebx, 0x204
mov eax, r10d
xor r11d, r11d
jmp 0x180038208
mov eax, 0x80000
test eax, esi
je 0x1800381ef
cmp byte [rdi + 0xe86], 0
je 0x1800381ef
xor r11d, r11d
jmp 0x180038202
mov ecx, pe_nt_image_headers64
mov r11d, 0
test ecx, esi
mov eax, r11d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x1800384fa
mov dword [rbp + 0x38], eax
mov rax, qword [rbp - 0x48]
mov dword [rbp + 0x48], r11d
mov qword [rbp + 0x61], r11
mov dword [rbp + 0x69], r11d
mov word [rbp + 0x6d], r11w
mov byte [rbp + 0x6f], 0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x3c], esi
mov qword [rbp + 0x40], r11
test r15b, r15b
jne 0x180038240
mov rax, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x20]
mov r9d, 0x800
mov qword [rbp + 0x50], rax
mov rcx, rdx
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x58], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbp + 0x5c], eax
movsxd rax, dword [rdi + 0x54]
mov dword [rbp + 0x4c], ebx
mov ebx, r11d
mov byte [rbp + 0x60], 0
lea r8, [rdx + rax*2]
nop
test r8, r8
je 0x18003827a
cmp rcx, r8
jae 0x18003829d
movzx eax, word [rcx]
test ax, ax
je 0x18003829d
add rcx, 2
cmp ax, r10w
jae 0x180038290
inc ebx
jmp 0x180038270
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x180038270
movsxd rax, dword [rdi + 0x58]
mov rcx, rdx
mov dword [rbp + 0x64], ebx
mov r12d, r11d
lea r8, [rdx + rax*2]
nop
test r8, r8
je 0x1800382ba
cmp rcx, r8
jae 0x1800382df
movzx eax, word [rcx]
test ax, ax
je 0x1800382df
add rcx, 2
cmp ax, r10w
jae 0x1800382d1
inc r12d
jmp 0x1800382b0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x1800382b0
movsxd rax, dword [rdi + 0x5c]
mov r15d, r11d
mov dword [rbp + 0x68], r12d
lea rcx, [rdx + rax*2]
nop
test rcx, rcx
je 0x1800382fa
cmp rdx, rcx
jae 0x18003831f
movzx eax, word [rdx]
test ax, ax
je 0x18003831f
add rdx, 2
cmp ax, r10w
jae 0x180038311
inc r15d
jmp 0x1800382f0
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x1800382f0
lea rcx, [rbp + 0x30]
mov dword [rbp + 0x6c], r15d
call r11
movsxd rcx, dword [rbp + 0x64]
movzx r13d, byte [rbp + 0x60]
cmp ecx, ebx
jne 0x18003833c
test r13b, r13b
je 0x180038387
mov rbx, qword [rbp + 0x50]
xor edx, edx
mov r14d, edx
lea rsi, [rbx + rcx]
nop dword [rax]
test rsi, rsi
je 0x18003835a
cmp rbx, rsi
jae 0x180038379
cmp byte [rbx], 0
je 0x180038379
mov r8, rsi
lea rcx, [rbp - 0x78]
mov rdx, rbx
call fcn.180003cd0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x180038350
mov ecx, dword [rbp + 0x64]
mov dword [rdi + 0x54], r14d
mov byte [rdi + 0xe84], 1
movsxd rax, dword [rbp + 0x68]
cmp eax, r12d
jne 0x180038395
test r13b, r13b
je 0x1800383e0
cmp eax, ecx
jne 0x18003839f
mov r14d, dword [rdi + 0x54]
jmp 0x1800383dc
mov rbx, qword [rbp + 0x50]
lea rsi, [rbx + rax]
xor eax, eax
mov r14d, eax
nop dword [rax]
test rsi, rsi
je 0x1800383ba
cmp rbx, rsi
jae 0x1800383d9
cmp byte [rbx], 0
je 0x1800383d9
mov r8, rsi
lea rcx, [rbp - 0x78]
mov rdx, rbx
call fcn.180003cd0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x1800383b0
mov eax, dword [rbp + 0x68]
mov dword [rdi + 0x58], r14d
movsxd rcx, dword [rbp + 0x6c]
cmp ecx, r15d
jne 0x1800383f2
test r13b, r13b
je 0x1800384fa
cmp ecx, eax
jne 0x180038445
mov r14d, dword [rdi + 0x58]
mov dword [rdi + 0x5c], r14d
test r13b, r13b
je 0x1800384fa
mov r8d, dword [rbp + 0x58]
mov rcx, rdi
mov rdx, qword [rbp + 0x50]
call fcn.180035d50
mov eax, dword [rbp - 0x3c]
mov ebx, dword [rbp + 0x58]
mov r12d, dword [rbp - 0x80]
cmp ebx, eax
jle 0x180038493
test r12b, r12b
je 0x180038493
mov ecx, dword [rdi + 0x1c]
sub ebx, eax
add ebx, dword [rdi + 0x18]
cmp ebx, ecx
jle 0x180038490
test ecx, ecx
je 0x18003847b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180038480
mov rbx, qword [rbp + 0x50]
xor eax, eax
mov r14d, eax
lea rsi, [rbx + rcx]
test rsi, rsi
je 0x18003845c
cmp rbx, rsi
jae 0x1800383fa
cmp byte [rbx], 0
je 0x1800383fa
mov r8, rsi
lea rcx, [rbp - 0x78]
mov rdx, rbx
call fcn.180003cd0
movsxd rcx, eax
add rbx, rcx
inc r14d
jmp 0x180038452
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.18001b5b0
mov dword [rdi + 0x18], ebx
mov r15, qword [rdi + 0x20]
movsxd r14, dword [rdi + 0x18]
mov rbx, r15
mov rsi, qword [rbp + 0x50]
dec r14
lea r14, [r15 + r14*2]
cmp r15, r14
jae 0x1800384da
nop
cmp byte [rsi], 0
je 0x1800384da
xor r8d, r8d
lea rcx, [rbp - 0x3c]
mov rdx, rsi
call fcn.180003cd0
movsxd rcx, eax
movzx eax, word [rbp - 0x3c]
add rsi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x1800384b0
xor eax, eax
mov word [rbx], ax
sub rbx, r15
mov eax, dword [rbp + 0x58]
sar rbx, 1
mov dword [rdi + 0xc], ebx
mov dword [rdi + 0x10], eax
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x1800384fe
mov r12d, dword [rbp - 0x80]
mov r8d, dword [rsp + 0x5c]
mov r15, qword [rbp - 0x48]
test r8b, r8b
jne 0x1800380ee
mov r9, qword [rdi + 0x30]
mov r8, r15
mov rax, r9
sub r8, r9
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180038533
inc rax
test ecx, ecx
jne 0x180038520
mov r8d, dword [rsp + 0x5c]
test edx, edx
je 0x1800380ee
mov r11b, 1
mov qword [rbp - 0x50], r9
mov r10, r9
mov byte [rsp + 0x51], r11b
mov r9d, dword [rdi + 0x10]
jmp 0x1800380fd
mov r12d, dword [rbp - 0x80]
mov r9d, r11d
mov r15, qword [rbp - 0x48]
mov r10d, r9d
mov r8d, dword [rsp + 0x5c]
jmp 0x1800380fd
mov edx, dword [rax + 0x476c]
mov ecx, dword [rax + 0x3f60]
cmp ecx, edx
jne 0x1800385f0
test ecx, ecx
je 0x1800385f0
cmp dword [rax + 0x3f30], edx
je 0x1800385f0
cmp byte [rax + 0x3f65], 0
jne 0x1800385a7
cmp dword [rax + 0x3f30], 0
jne 0x1800385f0
cmp byte [rax + 0x3f40], 0
je 0x1800385f0
test r8b, r8b
jne 0x1800385f0
mov r10, qword [r13 + 0x5aa0]
mov r8, r15
mov r9d, dword [r13 + 0x5a98]
mov rax, r10
dec r9d
mov qword [rbp - 0x50], r10
sub r8, r10
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800385e3
inc rax
test ecx, ecx
jne 0x1800385d0
test edx, edx
setne al
or r11b, al
mov byte [rsp + 0x51], r11b
xor esi, esi
mov dword [r13 + 0x5a90], esi
jmp 0x1800385fd
xor esi, esi
test r10, r10
je 0x1800386b0
mov ecx, 0x20
test r12b, r12b
je 0x180038686
mov eax, dword [rsp + 0x70]
xorps xmm0, xmm0
mov dword [rbp + 0x7c], eax
lea eax, [r9 + 1]
cmp eax, ecx
mov qword [rbp + 0x88], rsi
movdqa xmmword [rbp + 0xa0], xmm0
cmovle eax, ecx
mov qword [rbp + 0x70], r13
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x9c], eax
mov dword [rbp + 0x78], 0x40000
mov qword [rbp + 0x90], r15
mov dword [rbp + 0x98], r9d
mov qword [rbp + 0x80], rsi
call rsi
mov ecx, dword [rbp + 0x9c]
mov r15, qword [rbp + 0x90]
mov r10, qword [rbp - 0x50]
mov qword [rbp - 0x48], r15
lea r9d, [rcx - 1]
cmp dword [rbp + 0x98], r9d
cmovl r9d, dword [rbp + 0x98]
lea eax, [r9 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x1800386b0
jbe 0x1800386aa
lea r8, [rbx - 1]
mov rdx, r10
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r15 - 1], 0
cmp dword [r13 + 0x3f30], r14d
jne 0x1800386c9
cmp byte [rsp + 0x58], 0
je 0x1800387a4
call fcn.180007400
mov eax, 1
mov r10d, dword [rsp + 0x60]
movaps xmmword [rsp + 0x200], xmm14
movaps xmmword [rsp + 0x1f0], xmm15
test r10b, r10b
jne 0x1800387b5
mov r8d, eax
lea rcx, [rbp + 0x20]
mov edx, r14d
call fcn.180005450
movss xmm9, dword [0x180047b94]
mov ecx, 7
movaps xmm1, xmm9
call fcn.180004260
movss xmm0, dword [r13 + 0x3814]
mov r8d, eax
mov rdx, qword [rbp + 0x28]
mov r9b, 1
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm12
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.180005210
mov r11, qword [rbp - 0x68]
movaps xmm0, xmm12
addss xmm0, dword [r13 + 0x380c]
mov r10d, dword [rsp + 0x60]
movaps xmm1, xmm13
addss xmm1, dword [r13 + 0x3810]
movaps xmm15, xmm12
movaps xmm14, xmm13
addss xmm15, xmm11
addss xmm14, xmm7
movss dword [rbp + 0xb0], xmm0
movss dword [rbp + 0xb4], xmm1
movss dword [rbp + 0xd8], xmm15
movss dword [rbp + 0xdc], xmm14
movss dword [rbp - 0x50], xmm15
movss dword [rbp - 0x80], xmm14
jmp 0x180038806
mov eax, 1
mov dword [r13 + 0x5e34], eax
jmp 0x1800386ce
mov r11, qword [rbp - 0x68]
movaps xmm2, xmm11
movss xmm9, dword [0x180047b94]
addss xmm2, xmm12
movaps xmm1, xmm13
addss xmm1, xmm7
movsd xmm0, qword [r11 + 0x100]
movsd qword [rbp + 0xb0], xmm0
movss dword [rbp - 0x50], xmm2
movaps xmm15, xmm2
movss dword [rbp + 0xd8], xmm2
movss dword [rbp - 0x80], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0xdc], xmm1
cmp byte [rsp + 0x7b], 0
lea rax, [rbp + 0xb0]
movsd xmm0, qword [rax]
xorps xmm5, xmm5
xorps xmm7, xmm7
movsd qword [rbp + 0xb0], xmm0
movss dword [rbp + 0xd4], xmm13
movss dword [rbp + 0xd0], xmm12
movss dword [rsp + 0x7c], xmm5
movss dword [rbp - 0x78], xmm7
je 0x18003884b
mov r15, qword [rdi + 0x30]
mov qword [rbp - 0x48], r15
movzx eax, byte [rsp + 0x50]
mov r12d, dword [rsp + 0x54]
test al, al
jne 0x180038a2b
test r12b, r12b
jne 0x180038a2b
test r10b, r10b
je 0x1800388c1
movzx edx, byte [r15]
mov ecx, esi
lea rsi, [r15 + 1]
test dl, dl
je 0x180038895
nop dword [rax]
cmp dl, 0xa
lea eax, [rcx + 1]
movzx edx, byte [rsi]
cmovne eax, ecx
inc rsi
mov ecx, eax
test dl, dl
jne 0x180038880
movzx eax, byte [rsi - 1]
dec rsi
cmp al, 0xa
je 0x1800388a6
cmp al, 0xd
je 0x1800388a6
inc ecx
movd xmm7, ecx
movaps xmm6, xmm11
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3c08]
movss dword [rbp - 0x78], xmm7
jmp 0x180038905
cmp dword [r13 + 0x3f30], r14d
jne 0x1800388d0
movsxd rsi, dword [rdi + 0x10]
jmp 0x1800388ea
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp byte [r15 + rsi], 0
jne 0x1800388e0
movss xmm6, dword [rsp + 0x7c]
add rsi, r15
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x1800392b2
movss xmm14, dword [0x180047b94]
xor ecx, ecx
movaps xmm1, xmm14
call fcn.180004260
movss xmm2, dword [r13 + 0x3c08]
lea r8, [rbp + 0xd0]
mov rdx, qword [r11 + 0x298]
test r10b, r10b
mov r10, qword [r13 + 0x3c00]
mov r12d, 0
cmovne r8, r12
mov r9d, eax
mov rcx, rsi
test eax, 0xff000000
je 0x1800392d1
test rsi, rsi
jne 0x18003896d
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r15 + rcx], r12b
jne 0x180038961
add rcx, r15
cmp r15, rcx
je 0x1800392d1
test r10, r10
jne 0x180038983
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
xorps xmm8, xmm8
ucomiss xmm2, xmm8
jp 0x180038998
jne 0x180038998
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp + 0x20], xmm1
test r8, r8
je 0x1800389f1
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x1800389b7
movss dword [rbp + 0x20], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp + 0x24]
comiss xmm0, xmm1
jae 0x1800389cc
movss dword [rbp + 0x24], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp + 0x28]
ja 0x1800389dd
movss dword [rbp + 0x28], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp + 0x2c]
ja 0x1800389ee
movss dword [rbp + 0x2c], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
lea rax, [rbp + 0x20]
movss dword [rsp + 0x40], xmm8
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0xb0]
call fcn.18002b190
jmp 0x1800392d5
movsxd rsi, dword [rdi + 0x10]
xor r11d, r11d
add rsi, r15
mov r8d, 0xfffffc18
mov r15, qword [rdi + 0x20]
xorps xmm8, xmm8
xorps xmm6, xmm6
mov r9d, r11d
mov r14d, r11d
mov ebx, r8d
mov edx, r11d
test al, al
je 0x180038a66
movsxd rax, dword [rdi + 0x54]
lea edx, [r11 + 1]
lea r8d, [r11 - 1]
lea r9, [r15 + rax*2]
test r12b, r12b
je 0x180038a83
mov ecx, dword [rdi + 0x5c]
mov ebx, 0xffffffff
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
inc edx
movsxd rax, ecx
lea r14, [r15 + rax*2]
movzx ecx, word [r15]
movzx eax, r10b
mov r10d, r11d
add edx, eax
mov rax, r15
test cx, cx
je 0x180038ad5
cmp cx, 0xa
jne 0x180038ac8
inc r10d
cmp r8d, 0xffffffff
jne 0x180038ab5
cmp rax, r9
jb 0x180038ab5
dec edx
mov r8d, r10d
test edx, edx
jle 0x180038ad5
cmp ebx, 0xffffffff
jne 0x180038ac8
cmp rax, r14
jb 0x180038ac8
dec edx
mov ebx, r10d
test edx, edx
jle 0x180038ad5
movzx ecx, word [rax + 2]
add rax, 2
test cx, cx
jne 0x180038a98
inc r10d
mov rdx, r9
cmp r8d, 0xffffffff
mov r11d, r10d
cmovne r11d, r8d
cmp ebx, 0xffffffff
cmove ebx, r10d
cmp r9, r15
jbe 0x180038b05
cmp word [rdx - 2], 0xa
lea rax, [rdx - 2]
je 0x180038b05
mov rdx, rax
cmp rax, r15
ja 0x180038af2
mov r8, qword [r13 + 0x3c00]
movaps xmm1, xmm5
movss xmm4, dword [r13 + 0x3c08]
movaps xmm12, xmm5
movaps xmm3, xmm4
divss xmm3, dword [r8 + 0x14]
cmp rdx, r9
jae 0x180038b70
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180038b47
maxss xmm1, xmm12
movaps xmm12, xmm5
jmp 0x180038b6b
cmp ecx, 0xd
je 0x180038b6b
cmp ecx, dword [r8]
jge 0x180038b5c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180038b62
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm12, xmm0
cmp rdx, r9
jb 0x180038b30
movd xmm13, r11d
maxss xmm12, xmm1
cvtdq2ps xmm13, xmm13
mulss xmm13, xmm4
test ebx, ebx
js 0x180038c03
mov rdx, r14
cmp r14, r15
jbe 0x180038ba3
nop
cmp word [rdx - 2], 0xa
lea rax, [rdx - 2]
je 0x180038ba3
mov rdx, rax
cmp rax, r15
ja 0x180038b90
movaps xmm2, xmm5
movaps xmm8, xmm5
cmp rdx, r14
jae 0x180038bf3
nop
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180038bc7
maxss xmm2, xmm8
movaps xmm8, xmm5
jmp 0x180038bee
cmp ecx, 0xd
je 0x180038bee
cmp ecx, dword [r8]
jge 0x180038bdc
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180038be2
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm8, xmm0
cmp rdx, r14
jb 0x180038bb0
movd xmm6, ebx
maxss xmm8, xmm2
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm4
mov r9d, dword [rsp + 0x60]
test r9b, r9b
je 0x180038c25
movd xmm7, r10d
cvtdq2ps xmm7, xmm7
movss dword [rsp + 0x7c], xmm11
mulss xmm7, xmm4
movss dword [rbp - 0x78], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x180038d59
cmp byte [rdi + 0xe84], 0
je 0x180038d59
test dword [rsp + 0x70], 0x1000
jne 0x180038c9c
movss xmm2, dword [rdi + 0x50]
movaps xmm0, xmm11
comiss xmm2, xmm12
mulss xmm0, dword [0x180047b48]
movaps xmm1, xmm12
subss xmm11, dword [r13 + 0x380c]
jbe 0x180038c7c
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x180038c8a
subss xmm1, xmm11
comiss xmm1, xmm2
jb 0x180038ca1
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
jmp 0x180038ca1
xor eax, eax
mov dword [rdi + 0x50], eax
test r9b, r9b
je 0x180038d52
movss xmm3, dword [rbp - 0x2c]
movaps xmm0, xmm13
subss xmm0, dword [r13 + 0x3c08]
comiss xmm10, xmm0
jbe 0x180038ccd
movaps xmm10, xmm5
maxss xmm10, xmm0
jmp 0x180038cfd
movss xmm2, dword [r13 + 0x3810]
movaps xmm1, xmm3
addss xmm2, xmm2
movaps xmm0, xmm13
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm10
jb 0x180038cfd
movaps xmm10, xmm13
subss xmm10, xmm3
addss xmm10, xmm2
comiss xmm5, xmm10
movss xmm2, dword [r13 + 0x3810]
jbe 0x180038d11
movaps xmm2, xmm5
jmp 0x180038d26
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm3
maxss xmm2, xmm5
minss xmm2, xmm10
movss xmm1, dword [rbp + 0xb4]
mov rax, qword [rbp - 0x68]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
addss xmm1, xmm0
movss dword [rbp + 0xb4], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rdi + 0xe84], 0
movss xmm11, dword [rdi + 0x50]
test r12b, r12b
je 0x180038fbe
mov edx, dword [rdi + 0x5c]
mov eax, edx
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
cmovl eax, ecx
cmovge edx, ecx
cdqe
lea rbx, [r15 + rax*2]
movsxd rax, edx
lea r14, [r15 + rax*2]
test r8b, r8b
je 0x180038d90
movaps xmm1, xmm9
jmp 0x180038d98
movss xmm1, dword [0x180047b60]
mov ecx, 0x2f
call fcn.180004260
mov r15d, eax
xorps xmm5, xmm5
test r9b, r9b
je 0x180038db8
movss dword [rbp - 0x28], xmm5
xorps xmm10, xmm10
jmp 0x180038dc1
movss xmm10, dword [0x180047bb0]
movss xmm9, dword [rbp + 0xb0]
movss xmm7, dword [rbp + 0xb4]
addss xmm8, xmm9
addss xmm7, xmm6
subss xmm8, xmm11
subss xmm7, xmm5
cmp rbx, r14
jae 0x180038fc7
movss xmm6, dword [0x180047b5c]
movss xmm1, dword [rbp - 0x70]
nop word [rax + rax]
movss xmm4, dword [r13 + 0x3c08]
movaps xmm0, xmm14
addss xmm0, xmm4
comiss xmm7, xmm0
ja 0x180038fc7
comiss xmm1, xmm7
jbe 0x180038e4b
cmp rbx, r14
jae 0x180038fa1
nop dword [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180038fa1
cmp rbx, r14
jb 0x180038e30
jmp 0x180038fa1
mov rdx, qword [r13 + 0x3c00]
movaps xmm2, xmm4
movaps xmm3, xmm5
movaps xmm1, xmm5
divss xmm2, dword [rdx + 0x14]
cmp rbx, r14
jae 0x180038eae
nop word [rax + rax]
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180038ea4
cmp ecx, 0xd
je 0x180038e9d
cmp ecx, dword [rdx]
jge 0x180038e90
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x180038e95
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x180038e70
jmp 0x180038eae
movaps xmm3, xmm5
maxss xmm3, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm5, xmm1
jb 0x180038ede
cmp dword [rdx], 0x20
jle 0x180038eca
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180038ecf
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [rbp - 0x28]
addss xmm1, xmm8
subss xmm2, xmm4
movaps xmm0, xmm10
movss xmm4, dword [rbp - 0x34]
addss xmm0, xmm7
movaps xmm3, xmm8
addss xmm3, xmm5
minss xmm1, xmm15
addss xmm2, xmm7
minss xmm0, xmm14
maxss xmm3, xmm4
movss dword [rbp + 0xc0], xmm1
maxss xmm2, dword [rbp - 0x70]
comiss xmm0, dword [rbp - 0x70]
movss dword [rbp + 0xbc], xmm2
movss dword [rbp + 0xb8], xmm3
movss dword [rbp + 0xc4], xmm0
jbe 0x180038f9c
comiss xmm14, xmm2
jbe 0x180038f9c
comiss xmm1, xmm4
jbe 0x180038f9c
comiss xmm15, xmm3
jbe 0x180038f9c
xor eax, eax
lea r8, [rbp + 0xc0]
mov dword [rsp + 0x28], eax
lea rdx, [rbp + 0xb8]
mov rax, qword [rbp - 0x68]
mov r9d, r15d
movss dword [rsp + 0x20], xmm5
mov rcx, qword [rax + 0x298]
call fcn.180026ba0
movss xmm0, dword [rbp - 0x50]
xorps xmm5, xmm5
movss xmm9, dword [rbp + 0xb0]
movss dword [rbp - 0x50], xmm0
movss xmm0, dword [rbp - 0x80]
movss dword [rbp - 0x80], xmm0
movss xmm1, dword [rbp - 0x70]
movaps xmm8, xmm9
subss xmm8, xmm11
addss xmm7, dword [r13 + 0x3c08]
cmp rbx, r14
jb 0x180038e00
jmp 0x180038fc7
movss xmm9, dword [rbp + 0xb0]
mov r10d, dword [rsp + 0x60]
mov r15, qword [rbp - 0x48]
test r10b, r10b
jne 0x180038fe7
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x180039127
movss xmm14, dword [0x180047b94]
xor ecx, ecx
movaps xmm1, xmm14
call fcn.180004260
movss xmm0, dword [rbp + 0xb4]
subss xmm9, xmm11
mov rbx, qword [rbp - 0x68]
lea r8, [rbp + 0xd0]
movss xmm2, dword [r13 + 0x3c08]
test r10b, r10b
mov r10, qword [r13 + 0x3c00]
xorps xmm5, xmm5
subss xmm0, xmm5
mov r12d, 0
mov rdx, qword [rbx + 0x298]
cmovne r8, r12
movss dword [rbp - 0x48], xmm9
mov r9d, eax
mov rcx, rsi
movss dword [rbp - 0x44], xmm0
test eax, 0xff000000
je 0x180039137
test rsi, rsi
jne 0x180039072
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r15 + rcx], r12b
jne 0x180039066
add rcx, r15
cmp r15, rcx
je 0x180039137
test r10, r10
jne 0x180039088
mov rax, qword [rdx + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x180039098
jne 0x180039098
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x88]
movups xmmword [rbp + 0x20], xmm1
test r8, r8
je 0x1800390f1
movss xmm0, dword [r8]
comiss xmm1, xmm0
jae 0x1800390b7
movss dword [rbp + 0x20], xmm0
movss xmm1, dword [r8 + 4]
movss xmm0, dword [rbp + 0x24]
comiss xmm0, xmm1
jae 0x1800390cc
movss dword [rbp + 0x24], xmm1
movss xmm0, dword [r8 + 8]
comiss xmm0, dword [rbp + 0x28]
ja 0x1800390dd
movss dword [rbp + 0x28], xmm0
movss xmm0, dword [r8 + 0xc]
comiss xmm0, dword [rbp + 0x2c]
ja 0x1800390ee
movss dword [rbp + 0x2c], xmm0
test r8, r8
setne al
mov byte [rsp + 0x48], al
lea rax, [rbp + 0x20]
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x48]
call fcn.18002b190
xorps xmm5, xmm5
jmp 0x180039137
movss xmm14, dword [0x180047b94]
xor r12d, r12d
mov rbx, qword [rbp - 0x68]
cmp byte [rsp + 0x50], 0
je 0x1800392c0
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x7b], 0
je 0x180039182
comiss xmm5, xmm0
jae 0x180039182
movss xmm1, dword [0x180047b9c]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180047b80]
comiss xmm1, xmm0
jae 0x180039182
xor cl, cl
jmp 0x180039184
mov cl, 1
movss xmm0, dword [rbp + 0xb0]
xorps xmm8, xmm8
addss xmm0, xmm12
subss xmm0, xmm11
cvttss2si eax, xmm0
movss xmm0, dword [rbp + 0xb4]
addss xmm0, xmm13
movss xmm13, dword [rbp - 0x70]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
subss xmm0, xmm8
movss dword [rbp + 0xb8], xmm6
movaps xmm2, xmm6
addss xmm2, xmm14
cvttss2si eax, xmm0
movss dword [rbp + 0xc0], xmm2
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movaps xmm0, xmm7
movaps xmm1, xmm7
subss xmm0, dword [r13 + 0x3c08]
subss xmm1, dword [0x180047ba4]
addss xmm0, dword [0x180047b5c]
movss dword [rbp + 0xc4], xmm1
movss dword [rbp + 0xbc], xmm0
test cl, cl
je 0x180039269
comiss xmm1, xmm13
jbe 0x180039269
movss xmm3, dword [rbp - 0x80]
comiss xmm3, xmm0
jbe 0x180039269
comiss xmm2, dword [rbp - 0x34]
jbe 0x180039269
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm6
jbe 0x180039269
movss dword [rbp - 0x64], xmm1
xor ecx, ecx
movaps xmm1, xmm14
movss dword [rbp - 0x68], xmm6
call fcn.180004260
mov rcx, qword [rbx + 0x298]
lea rdx, [rbp + 0xb8]
mov r9d, eax
movss dword [rsp + 0x20], xmm14
lea r8, [rbp - 0x68]
call fcn.180026930
cmp byte [rsp + 0x5c], 0
mov r14d, dword [rsp + 0x74]
jne 0x1800392aa
movss xmm0, dword [r13 + 0x3c08]
subss xmm6, xmm14
subss xmm7, xmm0
movss dword [r13 + 0x5bcc], xmm0
mov byte [r13 + 0x5bc0], 1
movss dword [r13 + 0x5bc4], xmm6
movss dword [r13 + 0x5bc8], xmm7
movss xmm6, dword [rsp + 0x7c]
jmp 0x1800392d5
movss xmm14, dword [0x180047b94]
xor r12d, r12d
jmp 0x1800392d1
movss xmm6, dword [rsp + 0x7c]
movss xmm13, dword [rbp - 0x70]
mov r14d, dword [rsp + 0x74]
xorps xmm8, xmm8
mov ebx, dword [rbp - 0x40]
movaps xmm15, xmmword [rsp + 0x1f0]
test bl, bl
je 0x1800392ea
call fcn.180010210
cmp byte [rsp + 0x60], 0
je 0x18003936e
movss xmm0, dword [rbp - 0x78]
lea rcx, [rbp - 0x68]
addss xmm0, dword [r13 + 0x3810]
movss dword [rbp - 0x68], xmm6
movss dword [rbp - 0x64], xmm0
call fcn.180033120
mov ebx, dword [r13 + 0x4750]
mov eax, ebx
or eax, 0x401
mov dword [r13 + 0x4750], eax
call fcn.18000a9e0
mov eax, dword [r13 + 0x4774]
mov edi, dword [rbp - 0x18]
and eax, 0x80
or edi, eax
mov dword [r13 + 0x4750], ebx
call fcn.180013360
cmp dword [r13 + 0x476c], 0
mov ebx, dword [rbp - 0x40]
jne 0x18003936e
mov eax, dword [rbp - 0x1c]
mov dword [r13 + 0x4770], eax
mov dword [r13 + 0x476c], r14d
mov dword [r13 + 0x4774], edi
cmp byte [r13 + 0x5c78], 0
je 0x1800394f5
test bl, bl
jne 0x1800394f5
mov rdi, qword [0x18004f968]
mov r14, qword [rdi + 0x3ed0]
mov qword [rdi + 0x5ca0], r12
mov qword [rdi + 0x5c98], r12
test rsi, rsi
jne 0x1800393cd
mov rsi, r15
cmp r15, 0xffffffffffffffff
jae 0x1800393cd
nop
movzx ecx, byte [rsi]
test cl, cl
je 0x1800393cd
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x1800393c4
cmp byte [rax], cl
je 0x1800393cd
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x1800393b0
movss xmm1, dword [rbp + 0xb4]
movss xmm0, dword [rdi + 0x3810]
addss xmm0, dword [rdi + 0x5ca8]
movss dword [rdi + 0x5ca8], xmm1
addss xmm0, xmm14
comiss xmm1, xmm0
jbe 0x18003940a
lea rcx, [0x180046e24]
call fcn.1800191c0
mov byte [rdi + 0x5cac], 1
lea r8, [0x1800477a5]
lea rdx, [0x1800477a4]
lea rcx, [rbp + 0xb0]
call fcn.180019200
mov ecx, dword [rdi + 0x5cb0]
mov eax, dword [r14 + 0x188]
cmp ecx, eax
jle 0x18003943d
mov dword [rdi + 0x5cb0], eax
mov ecx, eax
mov r14d, dword [r14 + 0x188]
mov r13d, 1
sub r14d, ecx
nop dword [rax]
mov r8, rsi
mov edx, 0xa
sub r8, r15
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rsi
cmovne rbx, rax
cmp r15, rbx
jne 0x180039477
cmp rbx, rsi
je 0x1800394d6
mov r9d, ebx
lea edx, [r14*4]
sub r9d, r15d
cmp byte [rdi + 0x5cac], 0
jne 0x180039491
mov edx, r13d
lea r8, [0x1800460be]
mov qword [rsp + 0x20], r15
lea rcx, str._s_.s
call fcn.1800191c0
mov byte [rdi + 0x5cac], 0
cmp byte [rbx], 0xa
jne 0x1800394c8
lea rcx, [0x180046e24]
call fcn.1800191c0
mov byte [rdi + 0x5cac], r13b
cmp rbx, rsi
je 0x1800394d6
lea r15, [rbx + 1]
jmp 0x180039450
lea r8, [0x1800477a1]
lea rdx, [0x1800477a0]
lea rcx, [rbp + 0xb0]
call fcn.180019200
mov r13, qword [rsp + 0x68]
movss xmm0, dword [rbp - 0x24]
comiss xmm0, xmm8
movaps xmm14, xmmword [rsp + 0x200]
jbe 0x18003953b
movss xmm0, dword [rbp - 0x30]
lea rdx, str.MaxPlayer
addss xmm0, dword [r13 + 0x3824]
addss xmm13, dword [r13 + 0x3810]
mov r9b, 1
xor r8d, r8d
unpcklps xmm0, xmm13
movq rcx, xmm0
call fcn.180004640
movzx r8d, byte [rsp + 0x51]
mov r9d, dword [rsp + 0x70]
test r8b, r8b
je 0x180039579
bt r9d, 0x1b
jb 0x180039579
mov rax, qword [0x18004f968]
mov ecx, dword [rax + 0x3f30]
cmp ecx, dword [rsp + 0x74]
je 0x180039569
test ecx, ecx
jne 0x180039572
mov word [rax + 0x3f40], 0x101
or dword [rax + 0x4774], 4
movzx ecx, byte [rsp + 0x59]
test r9b, 0x20
mov eax, r8d
cmovne eax, ecx
jmp 0x1800364cb