Function at 0x1800410f0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
movaps xmmword [rsp + 0x3a0], xmm6
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rbp + 0x298], rax
mov rsi, r9
mov qword [rbp + 0x40], r9
mov r14, r8
mov qword [rbp + 0x48], r8
mov edi, edx
mov r12, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0x1b8], r8
mov qword [rbp + 0x1b0], r9
xor r13d, r13d
mov dword [rsp + 0x54], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x54], 1
mov eax, dword [0x18009edbc]
mov dword [rsp + 0x68], eax
cmp eax, 0xffffffff
jne 0x180041229
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor edx, edx
lea rcx, [rdx - 1]
lea r8d, [r13 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18004121f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1800409a0
mov r9, rax
test rax, rax
je 0x180041216
mov edx, r13d
mov r8, qword [rax]
test r8, r8
je 0x18004120e
lea rcx, [rax + 0x10]
nop dword [rax]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x258], xmm0
movsd xmm1, qword [rcx + 0x20]
movsd qword [rbp + 0x268], xmm1
cmp rbx, qword [rcx]
je 0x1800411fd
inc edx
add rcx, 0x28
movsxd rax, edx
cmp rax, r8
jb 0x1800411d0
jmp 0x18004120e
mov rax, qword [rbp + 0x260]
shr rax, 0x20
mov dword [0x18009edbc], eax
mov rcx, r9
call fcn.18005b8c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x18009edbc]
mov dword [rsp + 0x68], eax
call fcn.180041010
mov dword [rsp + 0x50], eax
mov rdx, r14
lea rcx, [rbp + 0x150]
call fcn.180003df0
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x228]
call fcn.180043630
nop
mov qword [rbp + 0x1e0], r13
mov qword [rbp + 0x1f0], r13
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], r13w
mov r8d, select
lea rdx, str.__typerenderer
lea rcx, [rbp + 0x1e0]
call fcn.1800040b0
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15, rax
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x170]
call fcn.180003df0
mov r8, rax
mov rdx, rsi
lea rcx, [rbp + 0x58]
call fcn.180040b20
nop
mov dword [rsp + 0x6c], r13d
mov rcx, qword [rbp + 0x60]
sub rcx, qword [rbp + 0x58]
movabs rbx, 0x73615a240e6c2b45
mov rax, rbx
imul rcx
mov rcx, rdx
sar rcx, 8
mov rax, rcx
shr rax, 0x3f
add rcx, rax
mov qword [rbp - 0x58], rcx
je 0x180041981
mov rcx, r13
mov qword [rbp + 8], rcx
xorps xmm6, xmm6
movzx edi, byte [rsp + 0x40]
movzx r14d, byte [rsp + 0x40]
movzx esi, byte [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
imul rax, rcx, 0x238
add rax, qword [rbp + 0x58]
mov ebx, dword [rax + 8]
mov ecx, ebx
call fcn.1800409a0
mov r13, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x180041947
cmp qword [rax], 0
je 0x180041947
mov r8d, ebx
xor edx, edx
mov ecx, 0x440
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp], rax
cmp rax, 0xffffffffffffffff
je 0x180041947
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
xor r8d, r8d
mov qword [rbp - 0x78], r8
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r8
mov r15d, r8d
mov dword [rsp + 0x48], r8d
cmp qword [r13], r15
jbe 0x180041786
add r13, 0x10
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
nop word [rax + rax]
movups xmm0, xmmword [r13]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rbp + 0x80], xmm1
psrldq xmm1, 8
movq rbx, xmm1
shr rbx, 0x20
mov r12d, dword [rsp + 0x68]
cmp ebx, edx
je 0x1800413e5
cmp ebx, r12d
jne 0x180041765
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r8d
lea r9, [rsp + 0x60]
mov r8, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x180041759
cmp ebx, r12d
jne 0x180041552
mov eax, dword [rbp + 0x88]
and eax, 7
cmp al, 7
jne 0x18004174e
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
xor ecx, ecx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [rcx + 4]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
mov r8d, 0x30
lea rdx, [rbp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800414b7
cmp qword [rbp + 0xf8], 0x10000
jne 0x1800414b7
mov eax, 0x3ff7
lea rcx, [r15 + 0xfffc]
nop
movss xmm0, dword [rcx]
comiss xmm0, xmm6
ja 0x1800414d5
comiss xmm6, xmm0
ja 0x1800414d5
sub rcx, 4
sub eax, 1
jns 0x1800414a0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r15d, dword [rsp + 0x48]
jmp 0x180041759
lea ebx, [rax*4 + 4]
test ebx, ebx
jle 0x1800414b7
mov ecx, ebx
call fcn.18003ff30
test rax, rax
je 0x1800414b7
xor r8d, r8d
mov dword [rbp + 0x24], r8d
mov dword [rbp + 0x34], r8d
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x18], rax
mov eax, dword [rbp + 0x70]
mov dword [rbp + 0x20], eax
mov qword [rbp + 0x28], r15
mov dword [rbp + 0x30], ebx
mov rax, qword [rbp - 0x68]
cmp rax, qword [rbp - 0x60]
je 0x180041538
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rax + 0x10], xmm1
add rax, 0x20
mov qword [rbp - 0x68], rax
mov r15d, dword [rsp + 0x48]
jmp 0x18004175c
lea r8, [rbp + 0x18]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180044d50
mov r15d, dword [rsp + 0x48]
jmp 0x180041759
mov ecx, 0x210
call fcn.18005c4e8
mov r12, rax
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x20c
call fcn.180051780
mov dword [r12], 0x104
mov r9d, 0x210
mov r8, r12
mov edx, 2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x180041746
lea rdx, [r12 + 4]
xor eax, eax
mov qword [rbp + 0x1c0], rax
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], ax
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x1800415d0
lea rcx, [rbp + 0x1c0]
call fcn.1800040b0
nop
lea r9, [rbp + 0x228]
cmp qword [rbp + 0x240], 8
cmovae r9, qword [rbp + 0x228]
lea rcx, [rbp + 0x1c0]
mov rbx, qword [rbp + 0x1c0]
mov r15, qword [rbp + 0x1d8]
cmp r15, 8
cmovae rcx, rbx
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp + 0x1d0]
call fcn.180004480
cmp rax, 0xffffffffffffffff
je 0x180041706
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x200]
call fcn.180003df0
mov ecx, dword [rbp + 0x70]
mov dword [rbp + 0x220], ecx
or dword [rsp + 0x54], 2
mov rdx, qword [rbp - 0x80]
cmp rdx, qword [rbp - 0x78]
je 0x1800416a1
xor r8d, r8d
movups xmm0, xmmword [rbp + 0x200]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x210]
movups xmmword [rdx + 0x10], xmm1
mov eax, 7
mov qword [rbp + 0x218], rax
mov word [rbp + 0x200], r8w
mov dword [rdx + 0x20], ecx
add rdx, 0x28
mov qword [rbp - 0x80], rdx
jmp 0x1800416b9
lea r8, [rbp + 0x200]
lea rcx, [rsp + 0x78]
call fcn.180044f00
mov rax, qword [rbp + 0x218]
cmp rax, 8
jb 0x1800416f8
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800416f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042190
call fcn.18004a624
mov rbx, qword [rbp + 0x1c0]
mov r15, qword [rbp + 0x1d8]
cmp r15, 8
jb 0x180041741
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180041739
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042196
mov rcx, rbx
call fcn.18004a624
mov r15d, dword [rsp + 0x48]
mov rcx, r12
call fcn.18005b8c4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
inc r15d
mov dword [rsp + 0x48], r15d
add r13, 0x28
movsxd rax, r15d
cmp rax, qword [rcx]
mov rax, qword [rbp]
jb 0x1800413b0
mov r12, qword [rsp + 0x70]
mov r9, qword [rbp - 0x68]
mov rax, r9
mov r15, qword [rbp - 0x70]
sub rax, r15
mov qword [rsp + 0x48], rax
mov r13, rax
sar r13, 5
mov rbx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x80]
cmp r13, 1
jne 0x180041b3e
mov rcx, r8
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r13
jne 0x180041b3e
lea rax, [r15 + 0x18]
lea r9, [r15 + 0x10]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0xc8]
call fcn.180044520
mov r8, rax
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x180041831
xor ecx, ecx
mov qword [rdx], rcx
mov qword [rdx + 8], rcx
mov rax, qword [rax]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8], rcx
mov qword [r8 + 8], rcx
add qword [r12 + 8], 0x10
jmp 0x18004183a
mov rcx, r12
call fcn.180023a50
nop
mov r12, qword [rbp + 0xd0]
test r12, r12
je 0x180041884
mov eax, 0xffffffff
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x18004187b
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [r12 + 0xc], eax
cmp eax, 1
jne 0x18004187b
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_htonl]
mov r15, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x78]
movabs r12, 0x6666666666666667
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call fcn.18005b8c4
nop
test r15, r15
je 0x1800418e1
mov rdx, qword [rbp - 0x60]
sub rdx, r15
and rdx, 0xffffffffffffffe0
mov rax, r15
cmp rdx, 0x1000
jb 0x1800418d8
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421c6
mov rcx, r15
call fcn.18004a624
nop
test rbx, rbx
je 0x180041942
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.180045640
mov rcx, qword [rbp - 0x78]
sub rcx, rbx
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x18004193a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421cc
mov rcx, rbx
call fcn.18004a624
mov r12, qword [rsp + 0x70]
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov rcx, qword [rbp + 8]
inc rcx
mov qword [rbp + 8], rcx
cdqe
cmp rax, qword [rbp - 0x58]
jb 0x180041320
mov r15, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x40]
mov r14, qword [rbp + 0x48]
xor r13d, r13d
movabs rbx, 0x73615a240e6c2b45
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbp + 0x58]
test r8, r8
je 0x1800419e4
mov rcx, qword [rbp + 0x68]
sub rcx, r8
mov rax, rbx
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 0x1800419db
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004218a
mov rcx, r8
call fcn.18004a624
nop
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x180041a2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041a25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421d2
call fcn.18004a624
nop
mov rdx, qword [rbp + 0x240]
cmp rdx, 8
jb 0x180041a72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x228]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041a6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421d8
call fcn.18004a624
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x180041ab1
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180041aac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004217e
mov rcx, r8
call fcn.18004a624
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x180041b00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180041afb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180042184
mov rcx, r8
call fcn.18004a624
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov rax, r12
mov rcx, qword [rbp + 0x298]
xor rcx, rsp
call fcn.180049ee0
movaps xmm6, xmmword [rsp + 0x3a0]
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp r15, r9
je 0x180041884
cmp rbx, r8
je 0x180041884
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1800446b0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor ecx, ecx
mov qword [rbp - 0x10], rcx
test r13, r13
je 0x180041bff
movabs rax, 0x7ffffffffffffff
cmp r13, rax
ja 0x1800421a2
mov rbx, r13
shl rbx, 5
cmp rbx, 0x1000
jb 0x180041bc1
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x18004219c
call fcn.18004a198
test rax, rax
je 0x1800421ba
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x180041bd6
test rbx, rbx
je 0x180041bd3
mov rcx, rbx
call fcn.18004a198
mov r12, rax
jmp 0x180041bd6
mov r12, rcx
mov qword [rbp - 0x20], r12
lea rax, [r12 + rbx]
mov qword [rbp - 0x10], rax
mov r8, qword [rsp + 0x48]
mov rdx, r15
mov rcx, r12
call fcn.180051aa0
shl r13, 5
add r13, r12
mov qword [rbp - 0x18], r13
jmp 0x180041c07
mov r13, qword [rbp - 0x18]
mov r12, qword [rbp - 0x20]
mov qword [rsp + 0x48], r13
mov qword [rbp + 0x38], r12
sub r13, r12
sar r13, 5
mov rbx, r13
sar rbx, 1
test rbx, rbx
jle 0x180041c6d
mov r15, rbx
shl r15, 5
add r15, r12
nop dword [rax]
dec rbx
lea r15, [r15 - 0x20]
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov byte [rsp + 0x20], dil
lea r9, [rbp + 0x110]
mov r8, r13
mov rdx, rbx
mov rcx, r12
call fcn.180045f30
test rbx, rbx
jg 0x180041c30
nop dword [rax]
mov rbx, qword [rbp - 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x248]
call fcn.180003df0
mov ebx, dword [rbx + 0x20]
mov dword [rbp + 0x268], ebx
mov r13, qword [rbp - 0x50]
mov r15, qword [rbp - 0x48]
mov rcx, r15
sub rcx, r13
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 2
jl 0x180041d87
add r15, 0xffffffffffffffd8
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0x270], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rbp + 0x280], xmm1
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
mov eax, dword [r15 + 0x20]
mov dword [rbp + 0x290], eax
mov eax, dword [r13 + 0x20]
mov dword [r15 + 0x20], eax
mov rdx, r13
mov rcx, r15
call fcn.18002a640
sub r15, r13
movabs rax, 0x6666666666666667
imul r15
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov byte [rsp + 0x20], r14b
lea r9, [rbp + 0x270]
xor edx, edx
mov rcx, r13
call fcn.180045e00
mov rdx, qword [rbp + 0x288]
cmp rdx, 8
jb 0x180041d83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180041d7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421a8
call fcn.18004a624
mov r15, qword [rbp - 0x48]
mov rdx, qword [r15 - 0x10]
cmp rdx, 8
jb 0x180041dc7
mov rcx, qword [r15 - 0x28]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180041dc2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800421a8
mov rcx, r8
call fcn.18004a624
xor r8d, r8d
mov qword [r15 - 0x18], r8
mov qword [r15 - 0x10], 7
mov word [r15 - 0x28], r8w
mov rcx, qword [rbp - 0x48]
add rcx, 0xffffffffffffffd8
mov qword [rbp - 0x48], rcx
movups xmm1, xmmword [r12]
movups xmmword [rbp + 0x98], xmm1
movups xmm0, xmmword [r12 + 0x10]
movups xmmword [rbp + 0xa8], xmm0
psrldq xmm1, 8
movd eax, xmm1
cmp eax, ebx
mov rbx, qword [rsp + 0x48]
jl 0x180041e30
cmp qword [rbp - 0x50], rcx
jne 0x18004206c
mov rax, rbx
sub rax, r12
sar rax, 5
cmp rax, 1
jne 0x18004206c
mov rax, rbx
sub rax, r12
and rax, 0xffffffffffffffe0
cmp rax, 0x40
jl 0x180041e8c
lea r8, [rbx - 0x20]
movups xmm0, xmmword [r8]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rbp + 0x140], xmm1
movups xmm0, xmmword [r12]
movups xmmword [r8], xmm0
movups xmm1, xmmword [r12 + 0x10]
movups xmmword [r8 + 0x10], xmm1
sub r8, r12
sar r8, 5
mov byte [rsp + 0x20], sil
lea r9, [rbp + 0x130]
xor edx, edx
mov rcx, r12
call fcn.180045f30
sub rbx, 0x20
mov qword [rsp + 0x48], rbx
mov qword [rbp - 0x18], rbx
mov ecx, 0xd0
call fcn.18004a198
mov r13, rax
mov qword [rbp + 0xc0], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x18008ee38]
mov qword [r13], rax
lea r15, [r13 + 0x10]
mov qword [rbp + 0xd8], r15
lea rdx, [rbp + 0x248]
lea rcx, [rbp + 0x190]
call fcn.180003df0
mov rbx, rax
mov qword [rbp + 0x50], rax
lea rax, [0x18008ec50]
mov qword [r15], rax
mov byte [r15 + 8], 0
xorps xmm0, xmm0
movups xmmword [r15 + 0x10], xmm0
lea rcx, [r15 + 0x20]
mov edx, 2
call fcn.18004de14
nop
lea rcx, [r15 + 0x70]
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov qword [r15 + 0x98], rax
mov dword [r15 + 0xa4], eax
mov qword [r15 + 0xb0], rax
mov qword [r15 + 0xb8], rax
mov rax, qword [rbp + 0x98]
mov qword [r15 + 0xa8], rax
cmp rcx, rbx
je 0x180041f71
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180041f68
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
call fcn.1800040b0
mov rax, qword [rbp + 0xa8]
mov qword [r15 + 0x90], rax
mov eax, dword [rbp + 0xb0]
mov dword [r15 + 0xa0], eax
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x180041fcb
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x180041fc6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800421ae
mov rcx, r8
call fcn.18004a624
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
or dword [rsp + 0x54], 4
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r13
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x18004200e
mov qword [rdx], r15
mov qword [rdx + 8], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
add qword [rax + 8], 0x10
jmp 0x18004201b
lea r8, [rbp - 0x30]
mov rcx, rax
call fcn.180023a50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180042067
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180042058
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180042058
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbp - 0x18]
mov qword [rsp + 0x48], rbx
mov r12, qword [rbp - 0x20]
jmp 0x18004206c
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x260]
cmp rdx, 8
jb 0x1800420b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x248]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800420ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421b4
call fcn.18004a624
mov rax, qword [rbp - 0x48]
cmp qword [rbp - 0x50], rax
je 0x1800420c6
cmp qword [rbp + 0x38], rbx
jne 0x180041c70
mov rdx, qword [rbp - 0x10]
sub rdx, r12
and rdx, 0xffffffffffffffe0
mov rax, r12
cmp rdx, 0x1000
jb 0x1800420f7
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421ba
mov rcx, r12
call fcn.18004a624
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x18004187b
mov rdx, qword [rbp - 0x48]
call fcn.180045640
mov rcx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x50]
sub rcx, r8
movabs r12, 0x6666666666666667
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180042168
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800421c0
mov rcx, r8
call fcn.18004a624
mov rbx, qword [rsp + 0x78]
mov r15, qword [rbp - 0x70]
jmp 0x18004188e
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180002a20
int3
call fcn.18000e3e0
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180055d94
int3