Function at 0x180041ca0
Capabilities:
Delete file
Encode data using xor
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x370
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor r12d, r12d
mov r15d, dword [0x18005a0d0]
cmp byte [0x1800602e0], r12b
jne 0x180042d00
mov byte [0x1800602e0], 1
movups xmm0, xmmword [0x180051580]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x180051590]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1800515a0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1800515b0]
movups xmmword [rsp + 0x70], xmm1
movzx eax, byte [0x1800515c0]
mov byte [rbp - 0x80], al
mov r8d, r12d
cmp r15d, 2
jl 0x180041e85
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051aa0]
movdqa xmm6, xmmword [0x180051860]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rbp + 0x230], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp + 0x230]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x180041d80
cmp r8d, 0x41
jge 0x180041ec0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x41
jl 0x180041e90
movups xmm0, xmmword [0x18005f7a8]
movdqa xmmword [rbp + 0x230], xmm0
lea r9, [rbp + 0x230]
movss xmm2, dword [0x18005180c]
movss xmm1, dword [0x1800517d0]
lea rcx, [rsp + 0x40]
call fcn.18001ce00
movups xmm0, xmmword [0x180051520]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x180051530]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x180051540]
movups xmmword [rsp + 0x60], xmm0
movzx eax, word [0x180051550]
mov word [rsp + 0x70], ax
mov r8d, r12d
cmp r15d, 2
jl 0x180042065
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051aa0]
movdqa xmm6, xmmword [0x180051860]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rbp + 0x230], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp + 0x230]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x180041f60
cmp r8d, 0x32
jge 0x1800420a0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x32
jl 0x180042070
movups xmm0, xmmword [0x18005f7a8]
movdqa xmmword [rbp + 0x230], xmm0
lea r9, [rbp + 0x230]
movss xmm6, dword [0x180051808]
movaps xmm2, xmm6
movss xmm1, dword [0x1800517d4]
lea rcx, [rsp + 0x40]
call fcn.18001ce00
movups xmm0, xmmword [0x1800516c0]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800516d0]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1800516e0]
movups xmmword [rsp + 0x60], xmm0
movzx eax, word [0x1800516f0]
mov word [rsp + 0x70], ax
mov r8d, r12d
cmp r15d, 2
jl 0x180042255
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051aa0]
movdqa xmm7, xmmword [0x180051860]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rbp + 0x230], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp + 0x230]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x180042150
cmp r8d, 0x32
jge 0x180042290
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x32
jl 0x180042260
movups xmm0, xmmword [0x18005f7a8]
movdqa xmmword [rbp + 0x230], xmm0
lea r9, [rbp + 0x230]
movaps xmm2, xmm6
movss xmm1, dword [0x1800517d8]
lea rcx, [rsp + 0x40]
call fcn.18001ce00
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str..MadcConfig.ini
lea rcx, [rsp + 0x40]
call fcn.180004930
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800423ba
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x1800423b0
cmp eax, 0x5f
je 0x180042361
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1800423ba
mov ecx, 0x60
call fcn.18004c8d8
mov rdi, rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x230]
mov r8d, 0x5f
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800423b0
mov ecx, dword [rbp + 0x230]
mov byte [rcx + rdi], 0
mov r8d, dword [rbp + 0x230]
mov rdx, rdi
lea rcx, [0x18005f940]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800423fa
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800423f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800423f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
xorps xmm0, xmm0
comiss xmm0, dword [0x18005f977]
jb 0x180042442
mov dword [0x18005f98b], 6
mov dword [0x18005f977], 0x43960000
mov dword [0x18005f983], 0x40a00000
mov dword [0x18005f97f], 0x42c80000
mov dword [0x18005f987], 0x43160000
mov dword [0x18005f97b], 0x40200000
mov eax, dword [0x18005003c]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x180050040]
mov byte [rbp + 0x230], 0xc0
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
lea rax, [rbp + 0x230]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180042496
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x70]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x1800424d6
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp - 0x70]
mov rdi, qword [rbp - 0x58]
cmp rcx, rdx
je 0x180042542
lea r9, [rbp - 0x70]
cmp rdi, 0xf
cmova r9, qword [rbp - 0x70]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rbp - 0x60]
cmp rsi, rax
ja 0x180042530
mov r14, rcx
cmp rax, 0xf
jbe 0x180042517
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x18004253c
mov rdx, rsi
call fcn.180004d20
mov rdi, qword [rbp - 0x58]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rdi, 0xf
jbe 0x180042582
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004257d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042cf4
call fcn.18004c45c
mov eax, dword [0x18004ff34]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x18004ff38]
mov byte [rbp + 0x230], 0xd1
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
lea rax, [rbp + 0x230]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800425d2
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x50]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x180042612
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp - 0x50]
mov rdi, qword [rbp - 0x38]
cmp rcx, rdx
je 0x18004267e
lea r9, [rbp - 0x50]
cmp rdi, 0xf
cmova r9, qword [rbp - 0x50]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rbp - 0x40]
cmp rsi, rax
ja 0x18004266c
mov r14, rcx
cmp rax, 0xf
jbe 0x180042653
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x180042678
mov rdx, rsi
call fcn.180004d20
mov rdi, qword [rbp - 0x38]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rdi, 0xf
jbe 0x1800426be
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800426b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042cf4
call fcn.18004c45c
mov eax, dword [0x18004ffa4]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x18004ffa8]
mov byte [rbp + 0x230], 0xb5
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
lea rax, [rbp + 0x230]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180042710
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x30]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x180042750
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp - 0x30]
mov rdi, qword [rbp - 0x18]
cmp rcx, rdx
je 0x1800427bc
lea r9, [rbp - 0x30]
cmp rdi, 0xf
cmova r9, qword [rbp - 0x30]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rbp - 0x20]
cmp rsi, rax
ja 0x1800427aa
mov r14, rcx
cmp rax, 0xf
jbe 0x180042791
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x1800427b6
mov rdx, rsi
call fcn.180004d20
mov rdi, qword [rbp - 0x18]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rdi, 0xf
jbe 0x1800427fc
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800427f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042cf4
call fcn.18004c45c
mov eax, dword [0x18004fe5c]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x18004fe60]
mov byte [rbp + 0x230], 0xbd
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
lea rax, [rbp + 0x230]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180042850
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x10]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x180042890
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp - 0x10]
mov rdi, qword [rbp + 8]
cmp rcx, rdx
je 0x1800428fc
lea r9, [rbp - 0x10]
cmp rdi, 0xf
cmova r9, qword [rbp - 0x10]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rbp]
cmp rsi, rax
ja 0x1800428ea
mov r14, rcx
cmp rax, 0xf
jbe 0x1800428d1
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x1800428f6
mov rdx, rsi
call fcn.180004d20
mov rdi, qword [rbp + 8]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rdi, 0xf
jbe 0x18004293c
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042cf4
call fcn.18004c45c
mov eax, dword [0x180050058]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x18005005c]
mov byte [rbp + 0x230], 0xd7
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
lea rax, [rbp + 0x230]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180042990
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x10]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x1800429d0
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp + 0x10]
mov rdi, qword [rbp + 0x28]
cmp rcx, rdx
je 0x180042a3c
lea r9, [rbp + 0x10]
cmp rdi, 0xf
cmova r9, qword [rbp + 0x10]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rbp + 0x20]
cmp rsi, rax
ja 0x180042a2a
mov r14, rcx
cmp rax, 0xf
jbe 0x180042a11
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rsi], 0
jmp 0x180042a36
mov rdx, rsi
call fcn.180004d20
mov rdi, qword [rbp + 0x28]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rdi, 0xf
jbe 0x180042a7c
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042a77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042cf4
call fcn.18004c45c
mov eax, dword [0x180050098]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x18005009c]
mov byte [rbp + 0x230], 0xcb
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
lea rax, [rbp + 0x230]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180042ad0
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x30]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x180042b10
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp + 0x30]
mov rdi, qword [rbp + 0x48]
cmp rcx, rdx
je 0x180042b7c
lea r9, [rbp + 0x30]
cmp rdi, 0xf
cmova r9, qword [rbp + 0x30]
mov rax, qword [rcx + 0x18]
mov rsi, qword [rbp + 0x40]
cmp rsi, rax
ja 0x180042b6a
mov r14, rcx
cmp rax, 0xf
jbe 0x180042b51
mov r14, qword [rcx]
mov qword [rcx + 0x10], rsi
mov r8, rsi
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + r14], 0
jmp 0x180042b76
mov rdx, rsi
call fcn.180004d20
mov rdi, qword [rbp + 0x48]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rdi, 0xf
jbe 0x180042bbc
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042bb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042cf4
call fcn.18004c45c
mov eax, dword [0x18005171c]
mov dword [rbp + 0x230], eax
movzx eax, byte [0x180051720]
mov byte [rbp + 0x230], 0xcb
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor al, 0x38
mov byte [rbp + 0x234], al
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
lea rax, [rbp + 0x230]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180042c10
mov r8, rbx
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x50]
call fcn.180004930
nop
mov eax, dword [0x18005fdf8]
cmp eax, dword [0x18005fdfc]
jl 0x180042c52
inc eax
movsxd rdx, eax
lea rcx, [0x18005fdf0]
call fcn.1800200c0
mov eax, dword [0x18005fdf8]
movsxd rcx, eax
shl rcx, 5
add rcx, qword [0x18005fdf0]
lea rdx, [rbp + 0x50]
mov rbx, qword [rbp + 0x68]
cmp rcx, rdx
je 0x180042cbd
lea r9, [rbp + 0x50]
cmp rbx, 0xf
cmova r9, qword [rbp + 0x50]
mov rax, qword [rcx + 0x18]
mov rdi, qword [rbp + 0x60]
cmp rdi, rax
ja 0x180042cab
mov rsi, rcx
cmp rax, 0xf
jbe 0x180042c93
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x180042cb7
mov rdx, rdi
call fcn.180004d20
mov rbx, qword [rbp + 0x68]
mov eax, dword [0x18005fdf8]
inc eax
mov dword [0x18005fdf8], eax
cmp rbx, 0xf
jbe 0x180042d00
lea rdx, [rbx + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042cfb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
call fcn.180017d60
test al, al
je 0x180044293
movsd xmm0, qword [0x180051510]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x180051518]
mov byte [rbp + 0x230], 0xcf
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea r8, [0x18005f940]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x180042d9b
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x180042da2
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f941]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x180042dfc
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042df7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042e4d
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x180042e59
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042e54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042e54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180042eaf
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180042efd
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180042f09
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042f04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042f04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movsd xmm0, qword [0x1800516a0]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x1800516a8]
mov byte [rbp + 0x230], 0xcf
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea r8, [0x18005f94a]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x180042f97
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x180042f9e
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f94b]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x180042ff8
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042ff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043049
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x180043055
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043050
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043050
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800430ab
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800430a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800430f9
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180043105
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043100
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movsd xmm0, qword [0x180051658]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x180051660]
mov byte [rbp + 0x230], 0xcb
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea r8, [0x18005f959]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x180043193
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x18004319a
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f95a]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x1800431f4
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800431ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043245
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x180043251
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004324c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004324c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800432a7
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800432a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800432f5
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180043301
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800432fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800432fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movsd xmm0, qword [0x180051668]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x180051670]
mov byte [rbp + 0x230], 0xb5
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea r8, [0x18005f954]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x18004338f
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x180043396
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f955]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x1800433f0
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800433eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043441
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x18004344d
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043448
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043448
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800434a3
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004349e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800434f1
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x1800434fd
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800434f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800434f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movsd xmm0, qword [0x1800516f8]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x180051700]
mov byte [rbp + 0x230], 0xc4
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea r8, [0x18005f94f]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x18004358b
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x180043592
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f950]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x1800435ec
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800435e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004363d
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x180043649
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043644
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043644
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x18004369f
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004369a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800436ed
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x1800436f9
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800436f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800436f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
call fcn.180018730
movsxd rcx, dword [0x18005fb10]
test ecx, ecx
je 0x180043736
lea eax, [rcx - 1]
movsxd rdx, eax
cmp rdx, rcx
jae 0x180043724
imul rax, rdx, 0xd8
add rax, qword [0x18005fb08]
jmp 0x18004372b
mov rax, qword [rbp + 0x230]
mov dword [rax + 0x68], r12d
mov dword [rax + 0x6c], 0x41700000
movsd xmm0, qword [0x180051690]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x180051698]
mov byte [rbp + 0x230], 0xc8
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea r8, [0x18005f997]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.18001bff0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x1800437e1
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800437dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004382f
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x18004383b
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043836
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043836
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movss xmm1, dword [0x1800517a8]
movsd xmm0, qword [0x1800516b0]
movsd qword [rbp + 0x230], xmm0
movzx eax, byte [0x1800516b8]
mov byte [rbp + 0x230], 0xca
xor byte [rbp + 0x231], 0x35
xor byte [rbp + 0x232], 0x36
xor byte [rbp + 0x233], 0x37
xor byte [rbp + 0x234], 0x38
xor byte [rbp + 0x235], 0x39
xor byte [rbp + 0x236], 0x3a
xor byte [rbp + 0x237], 0x3b
xor al, 0x3c
mov byte [rbp + 0x238], al
lea rax, [0x1800602d0]
mov qword [rsp + 0x30], rax
lea rax, [0x1800602e4]
mov qword [rsp + 0x28], rax
lea rax, [0x18005f98b]
mov qword [rsp + 0x20], rax
lea r9, [0x18005fdf0]
movss xmm0, dword [0x1800517e8]
unpcklps xmm0, xmm1
movq r8, xmm0
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.18001b3b0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180043922
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004391d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043970
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x18004397c
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043977
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043977
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movsd xmm0, qword [0x180051680]
movsd qword [rbp + 0x230], xmm0
mov eax, dword [0x180051688]
mov dword [rbp + 0x238], eax
movzx eax, byte [0x18005168c]
mov byte [rbp + 0x23c], al
mov r8d, r12d
cmp r15d, 2
jl 0x180043aba
movdqa xmm4, xmmword [0x180051aa0]
movdqa xmm2, xmmword [0x180051840]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180051860]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
mov eax, dword [0x1800518f0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x180051680]
xorps xmm2, xmm0
movd dword [rbp + 0x230], xmm2
movdqa xmm3, xmmword [0x180051850]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180051860]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp + 0x234]
xorps xmm2, xmm1
movd dword [rbp + 0x234], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x230]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x180043ad0
lea r8, [0x18005f96d]
lea rdx, [rbp + 0x230]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x180043b37
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x180043b3e
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f96e]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x180043b98
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043be9
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x180043bf5
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043bf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043bf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180043c4b
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043c99
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180043ca5
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043ca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043ca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
cmp byte [0x18005f504], 0
je 0x180044293
call fcn.180018730
movsxd rcx, dword [0x18005fb10]
test ecx, ecx
je 0x180043cef
lea eax, [rcx - 1]
movsxd rdx, eax
cmp rdx, rcx
jae 0x180043cdd
imul rax, rdx, 0xd8
add rax, qword [0x18005fb08]
jmp 0x180043ce4
mov rax, qword [rbp + 0x230]
mov dword [rax + 0x68], r12d
mov dword [rax + 0x6c], 0x41700000
movups xmm0, xmmword [0x180051708]
movups xmmword [rsp + 0x40], xmm0
movzx eax, byte [0x180051718]
mov byte [rsp + 0x50], al
mov r8d, r12d
cmp r15d, 2
jl 0x180043e55
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051aa0]
movdqa xmm6, xmmword [0x180051860]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rbp + 0x230], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp + 0x230]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x180043d50
cmp r8d, 0x11
jge 0x180043e90
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x180043e60
lea r8, [0x18005f99b]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.18001bff0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180043ee2
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180043f30
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180043f3c
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180043f37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180043f37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movups xmm0, xmmword [0x180051558]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x180051568]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x180051570]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x180051574]
mov byte [rsp + 0x5c], al
mov r8d, r12d
cmp r15d, 2
jl 0x1800440b5
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051aa0]
movdqa xmm6, xmmword [0x180051860]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rbp + 0x230], xmm0
lea rcx, [rsp + 0x40]
mov edx, dword [rbp + 0x230]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x180043fb0
cmp r8d, 0x1d
jge 0x1800440f0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x1800440c0
lea r8, [0x18005f972]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.180018c90
nop
movsxd rdx, dword [rax]
movsxd rcx, dword [0x18005fb10]
cmp rdx, rcx
jae 0x180044125
imul rcx, rdx, 0xd8
add rcx, qword [0x18005fb08]
jmp 0x18004412c
mov rcx, qword [rbp + 0x230]
lea rdx, [0x18005f973]
mov qword [rcx + 0x98], rdx
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.180016930
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 0xf
jbe 0x180044186
inc rdx
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044181
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800441d7
call fcn.18004c45c
mov qword [rbp + 0x1d0], r12
mov qword [rbp + 0x1d8], socket
mov byte [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x1800441e3
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800441de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800441de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
mov qword [rbp + 0x168], r12
mov qword [rbp + 0x170], socket
mov byte [rbp + 0x158], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0xf
jbe 0x180044239
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180044234
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180044287
call fcn.18004c45c
mov qword [rbp + 0xf0], r12
mov qword [rbp + socket8], 0xf
mov byte [rbp + 0xe0], 0
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180044293
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004428e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004428e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
call fcn.180041ab0
call fcn.18001d160
call fcn.18001ea40
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.18004c400
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret