Function at 0x180046b40
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x318]
sub rsp, 0x3d8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rbp + 0x10], r9
mov rsi, r8
mov qword [rbp + 0x78], r8
mov edi, edx
mov r13, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0x1d0], r8
mov qword [rbp + 0x1d8], r9
xor r14d, r14d
mov dword [rsp + 0x48], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x48], 1
mov r12d, dword [0x1800a0e4c]
mov dword [rsp + 0x60], r12d
cmp r12d, 0xffffffff
jne 0x180046c7a
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180046c6e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1800463e0
mov r9, rax
test rax, rax
je 0x180046c65
mov edx, r14d
mov r8, qword [rax]
test r8, r8
je 0x180046c5d
lea rcx, [rax + 0x10]
movups xmm2, xmmword [rcx + 0x10]
movsd xmm0, qword [rcx + 0x20]
movsd qword [rbp + 0x288], xmm0
cmp rbx, qword [rcx]
je 0x180046c49
inc edx
add rcx, 0x28
movsxd rax, edx
cmp rax, r8
jb 0x180046c23
jmp 0x180046c5d
psrldq xmm2, 8
movq rax, xmm2
shr rax, 0x20
mov dword [0x1800a0e4c], eax
mov rcx, r9
call fcn.180062174
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, dword [0x1800a0e4c]
mov dword [rsp + 0x60], r12d
call fcn.180046a60
mov dword [rsp + 0x44], eax
mov rdx, rsi
lea rcx, [rbp + 0x128]
call fcn.180006250
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.180048db0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], r14
mov qword [rbp + 0x218], r14
mov r8d, select
lea rdx, str.__typerenderer
lea rcx, [rbp + 0x200]
call fcn.1800066c0
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], r14
lea r15, [rbp + 0x200]
mov r14, qword [rbp + 0x218]
cmp r14, 7
seta byte [rsp + 0x40]
mov rdi, qword [rbp + 0x200]
cmova r15, rdi
movabs rbx, 0x7ffffffffffffffe
mov rsi, qword [rbp + 0x210]
cmp rsi, rbx
ja 0x180047a46
cmp rsi, 7
ja 0x180046d48
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], 7
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x38], xmm0
jmp 0x180046d9e
mov rax, rsi
or rax, 7
cmp rax, rbx
ja 0x180046d63
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
inc rbx
mov qword [rbp - 8], rbx
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x38]
call fcn.180006ae0
mov rcx, rax
lea rax, [rbx - 1]
mov qword [rbp - 8], rax
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], rax
lea r8, [rsi*2 + 2]
mov rdx, r15
call fcn.18007a3d0
lea r8, [rbp + 0x38]
mov rbx, qword [rbp + 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.180046560
nop
xor esi, esi
mov r15d, esi
mov dword [rsp + 0x70], esi
mov rcx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x20]
sub rcx, r8
movabs rax, 0x73615a240e6c2b45
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180047868
mov r9d, esi
mov qword [rbp + 8], rsi
xorps xmm8, xmm8
movzx edi, byte [rsp + 0x40]
movzx ebx, byte [rsp + 0x40]
nop dword [rax]
imul rax, r9, 0x238
mov esi, dword [rax + r8 + 8]
mov ecx, esi
call fcn.1800463e0
mov r14, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180047804
cmp qword [rax], 0
je 0x180047804
mov r8d, esi
xor edx, edx
mov ecx, 0x440
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp], rax
cmp rax, 0xffffffffffffffff
je 0x180047804
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
xor edx, edx
mov qword [rbp - 0x30], rdx
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdx
mov r15d, edx
mov dword [rsp + 0x50], edx
cmp qword [r14], r15
jbe 0x1800472bd
lea r13, [r14 + 0x10]
mov ecx, dword [rsp + 0x44]
nop dword [rax + rax]
movups xmm7, xmmword [r13]
movups xmm6, xmmword [r13 + 0x10]
mov rsi, qword [r13 + 0x18]
shr rsi, 0x20
cmp esi, ecx
je 0x180046e9f
cmp esi, r12d
jne 0x18004729c
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
lea r9, [rsp + 0x58]
mov r8, qword [rbp + 0x18]
movq rdx, xmm7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x180047296
cmp esi, r12d
jne 0x180047010
psrldq xmm6, 8
movd eax, xmm6
and eax, 7
mov rcx, qword [rsp + 0x58]
cmp al, 7
jne 0x180047290
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
mov r8d, 0x30
lea rdx, [rbp + 0xb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180046f79
cmp qword [rbp + 0xd0], 0x10000
jne 0x180046f79
mov eax, 0x3ff7
lea rcx, [r14 + 0xfffc]
nop dword [rax]
movss xmm0, dword [rcx]
comiss xmm0, xmm8
ja 0x180046f97
comiss xmm8, xmm0
ja 0x180046f97
sub rcx, 4
sub eax, 1
jns 0x180046f60
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r14, qword [rsp + 0x68]
jmp 0x180047296
lea esi, [rax*4 + 4]
test esi, esi
jle 0x180046f79
mov ecx, esi
call fcn.180045940
test rax, rax
je 0x180046f79
xor edx, edx
mov dword [rbp + 0x64], edx
mov dword [rbp + 0x74], edx
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x58], rax
movd dword [rbp + 0x60], xmm7
mov qword [rbp + 0x68], r14
mov dword [rbp + 0x70], esi
mov rax, qword [rbp - 0x70]
cmp rax, qword [rbp - 0x68]
je 0x180046ff6
movups xmm0, xmmword [rbp + 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x68]
movups xmmword [rax + 0x10], xmm1
add rax, 0x20
mov qword [rbp - 0x70], rax
mov r14, qword [rsp + 0x68]
jmp 0x180047298
lea r8, [rbp + 0x58]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.18004a950
mov r14, qword [rsp + 0x68]
jmp 0x180047296
mov ecx, 0x210
call fcn.180062d88
mov r12, rax
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x20c
call fcn.18007a010
mov dword [r12], 0x104
mov r9d, 0x210
mov r8, r12
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x180047283
lea rdx, [r12 + 4]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xor esi, esi
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x180047080
lea rcx, [rbp + 0x1e0]
call fcn.1800066c0
nop
lea r11, [rbp + 0x220]
cmp qword [rbp + 0x238], 7
cmova r11, qword [rbp + 0x220]
lea r15, [rbp + 0x1e0]
mov r14, qword [rbp + 0x1f8]
cmp r14, 7
cmova r15, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x230]
cmp r8, rax
ja 0x18004723a
test r8, r8
je 0x18004716c
sub rax, r8
lea rsi, [rax + 1]
lea rsi, [r15 + rsi*2]
mov rcx, r15
movzx r10d, word [r11]
nop word [rax + rax]
mov rax, rsi
sub rax, rcx
sar rax, 1
mov edx, 0
je 0x18004712c
cmp word [rcx], r10w
je 0x180047129
cmp rax, 1
je 0x18004712c
dec rax
add rcx, 2
cmp word [rcx], r10w
jne 0x180047116
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x18004723a
mov rdx, r11
test r8, r8
je 0x18004715a
mov r9, rcx
sub r9, r11
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x1800471cd
add rdx, 2
sub r8, 1
jne 0x180047146
sub rcx, r15
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x18004723a
xor esi, esi
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x240]
call fcn.180006250
movd dword [rbp + 0x260], xmm7
or dword [rsp + 0x48], 8
mov rdx, qword [rbp - 0x38]
cmp rdx, qword [rbp - 0x30]
je 0x1800471dd
movups xmm0, xmmword [rbp + 0x240]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x250]
movups xmmword [rdx + 0x10], xmm1
mov eax, 7
mov qword [rbp + 0x258], rax
mov word [rbp + 0x240], si
movd dword [rdx + 0x20], xmm7
add rdx, 0x28
mov qword [rbp - 0x38], rdx
jmp 0x1800471f4
add rcx, 2
mov r8, qword [rbp + 0x230]
jmp 0x180047100
lea r8, [rbp + 0x240]
lea rcx, [rbp - 0x40]
call fcn.18004ab00
mov rax, qword [rbp + 0x258]
cmp rax, 7
jbe 0x180047233
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004722e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a4c
call fcn.180050b2c
mov r14, qword [rbp + 0x1f8]
cmp r14, 7
jbe 0x180047279
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047274
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a52
call fcn.180050b2c
mov r14, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x50]
mov rcx, r12
call fcn.180062174
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov ecx, dword [rsp + 0x44]
inc r15d
mov dword [rsp + 0x50], r15d
add r13, 0x28
movsxd rax, r15d
cmp rax, qword [r14]
mov r12d, dword [rsp + 0x60]
mov rax, qword [rbp]
jb 0x180046e80
mov r9, qword [rbp - 0x70]
mov rax, r9
mov r12, qword [rbp - 0x78]
sub rax, r12
mov qword [rsp + 0x50], rax
mov r15, rax
sar r15, 5
mov r13, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
cmp r15, 1
jne 0x180047407
mov rcx, r8
sub rcx, r13
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r15
jne 0x180047407
mov ecx, 0xd0
call fcn.1800506b0
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], r15d
mov dword [rax + 0xc], r15d
lea rcx, [0x180090820]
mov qword [rax], rcx
add rax, 0x10
mov qword [rsp + 0x50], rax
mov esi, dword [r12 + 0x18]
mov r14, qword [r12 + 0x10]
mov r15, qword [r12]
mov rdx, r13
lea rcx, [rbp + 0x148]
call fcn.180006250
mov dword [rsp + 0x20], esi
mov r9, r14
mov r8, r15
mov rdx, rax
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.180044c30
nop
or dword [rsp + 0x48], 4
mov qword [rbp - 0x60], rsi
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x58], rax
mov r13, qword [rsp + 0x78]
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x1800473b0
mov qword [rdx], rsi
mov qword [rdx + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
add qword [r13 + 8], 0x10
jmp 0x1800473bd
lea r8, [rbp - 0x60]
mov rcx, r13
call fcn.180027150
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1800477a2
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800473fe
mov rsi, qword [rbp - 0x58]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1800473fe
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r12, qword [rbp - 0x78]
jmp 0x1800477a2
cmp r12, r9
je 0x18004779d
cmp r13, r8
je 0x18004779d
mov rdx, r13
lea rcx, [rbp + 0x88]
call fcn.180049da0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
xor eax, eax
mov qword [rbp - 0x18], rax
test r15, r15
je 0x1800474c5
movabs rcx, 0x7ffffffffffffff
cmp r15, rcx
ja 0x180047a5e
mov rsi, r15
shl rsi, 5
cmp rsi, 0x1000
jb 0x18004748c
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x180047a58
call fcn.1800506b0
test rax, rax
je 0x180047a6a
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x18004749c
test rsi, rsi
je 0x180047499
mov rcx, rsi
call fcn.1800506b0
mov r14, rax
mov qword [rbp - 0x28], r14
lea rax, [rsi + r14]
mov qword [rbp - 0x18], rax
mov r8, qword [rsp + 0x50]
mov rdx, r12
mov rcx, r14
call fcn.18007a3d0
shl r15, 5
add r15, r14
mov qword [rbp - 0x20], r15
jmp 0x1800474cd
mov r15, qword [rbp - 0x20]
mov r14, qword [rbp - 0x28]
mov qword [rsp + 0x50], r14
mov r13, r15
sub r13, r14
sar r13, 5
mov rsi, r13
sar rsi, 1
test rsi, rsi
jle 0x180047530
mov r12, rsi
shl r12, 5
add r12, r14
dec rsi
lea r12, [r12 - 0x20]
movups xmm0, xmmword [r12]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov byte [rsp + 0x20], bl
lea r9, [rbp + 0xe8]
mov r8, r13
mov rdx, rsi
mov rcx, r14
call fcn.18004b4d0
test rsi, rsi
jg 0x1800474f1
mov r13, qword [rsp + 0x50]
mov rsi, qword [rbp + 0x88]
mov rdx, rsi
lea rcx, [rbp + 0x268]
call fcn.180006250
mov esi, dword [rsi + 0x20]
mov dword [rbp + 0x288], esi
lea rcx, [rbp + 0x88]
call fcn.180049a10
movups xmm6, xmmword [r14]
movups xmmword [rbp + 0x168], xmm6
movups xmm7, xmmword [r14 + 0x10]
movups xmmword [rbp + 0x178], xmm7
cmp dword [r14 + 8], esi
jl 0x1800475a5
mov rax, qword [rbp + 0x90]
cmp qword [rbp + 0x88], rax
jne 0x1800476f5
mov rax, r15
sub rax, r14
sar rax, 5
cmp rax, 1
jne 0x1800476f5
mov rax, r15
sub rax, r14
and rax, 0xffffffffffffffe0
cmp rax, 0x40
jl 0x1800475fb
lea r8, [r15 - 0x20]
movups xmm0, xmmword [r8]
movups xmmword [rbp + 0x108], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rbp + 0x118], xmm1
movups xmmword [r8], xmm6
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [r8 + 0x10], xmm1
sub r8, r14
sar r8, 5
mov byte [rsp + 0x20], dil
lea r9, [rbp + 0x108]
xor edx, edx
mov rcx, r14
call fcn.18004b4d0
sub r15, 0x20
mov qword [rbp - 0x20], r15
mov ecx, 0xd0
call fcn.1800506b0
mov rsi, rax
mov qword [rbp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x180090820]
mov qword [rsi], rax
lea r12, [rsi + 0x10]
lea rdx, [rbp + 0x268]
lea rcx, [rbp + 0x188]
call fcn.180006250
mov rdx, rax
movdqa xmm0, xmm7
psrldq xmm0, 8
movd dword [rsp + 0x20], xmm0
movq r9, xmm7
movq r8, xmm6
mov rcx, r12
call fcn.180044c30
nop
or dword [rsp + 0x48], 2
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], rsi
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x1800476a3
mov qword [rdx], r12
mov qword [rdx + 8], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
add qword [rax + 8], 0x10
jmp 0x1800476b0
lea r8, [rbp - 0x50]
mov rcx, rax
call fcn.180027150
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1800476f5
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800476ed
mov rsi, qword [rbp - 0x48]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1800476ed
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x280]
cmp rdx, 7
jbe 0x18004773b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x268]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047736
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a64
call fcn.180050b2c
mov rax, qword [rbp + 0x90]
cmp qword [rbp + 0x88], rax
je 0x180047754
cmp r13, r15
jne 0x180047535
mov rdx, qword [rbp - 0x18]
sub rdx, r14
and rdx, 0xffffffffffffffe0
mov rax, r14
cmp rdx, 0x1000
jb 0x180047784
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a6a
mov rcx, r14
call fcn.180050b2c
nop
lea rcx, [rbp + 0x88]
call fcn.180049c00
mov r12, qword [rbp - 0x78]
mov r13, qword [rsp + 0x78]
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call fcn.180062174
nop
test r12, r12
je 0x1800477f6
mov rdx, qword [rbp - 0x68]
sub rdx, r12
and rdx, 0xffffffffffffffe0
mov rax, r12
cmp rdx, 0x1000
jb 0x1800477ed
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a70
mov rcx, r12
call fcn.180050b2c
nop
lea rcx, [rbp - 0x40]
call fcn.180049c00
mov r15d, dword [rsp + 0x70]
inc r15d
mov dword [rsp + 0x70], r15d
mov r9, qword [rbp + 8]
inc r9
mov qword [rbp + 8], r9
mov rcx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x20]
sub rcx, r8
movabs r12, 0x73615a240e6c2b45
mov rax, r12
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jae 0x180047852
mov r12d, dword [rsp + 0x60]
jmp 0x180046e00
mov r14, qword [rbp + 0x218]
mov rdi, qword [rbp + 0x200]
mov rbx, qword [rbp + 0x10]
xor esi, esi
jmp 0x180047872
movabs r12, 0x73615a240e6c2b45
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbp + 0x20]
test r8, r8
je 0x1800478e1
mov rcx, qword [rbp + 0x30]
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x238
mov rax, r8
cmp rdx, 0x1000
jb 0x1800478cd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a76
mov rcx, r8
call fcn.180050b2c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rsi
cmp byte [rsp + 0x40], 0
je 0x18004791e
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180047915
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a7c
mov rcx, rdi
call fcn.180050b2c
nop
mov rdx, qword [rbp + 0x238]
cmp rdx, 7
jbe 0x180047965
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004795f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047a82
call fcn.180050b2c
nop
mov rdi, qword [rbp + 0x78]
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1800479a8
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800479a3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180047a3a
mov rcx, r8
call fcn.180050b2c
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1800479f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800479ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180047a40
mov rcx, r8
call fcn.180050b2c
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rax, r13
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.180050570
lea r11, [rsp + 0x3d8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18005c4f8
nop
call fcn.18005c4f8
nop
call fcn.180004ad0
nop
call fcn.18005c4f8
nop
call fcn.18005c4f8
nop
call fcn.180004ab0
int3
call fcn.180011100
nop
call fcn.18005c4f8
nop
call fcn.18005c4f8
nop
call fcn.18005c4f8
nop
call fcn.18005c4f8
nop
call fcn.18005c4f8
nop
call fcn.18005c4f8
int3