Function at 0x180295390
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov eax, dword [0x180524650]
xor edx, edx
div dword [0x180524654]
imul eax, eax, 0x8b94c98e
mov ecx, 0x49a5595b
xor edx, edx
div ecx
add eax, 0xb3f12c5f
cmp eax, 0x37aad7c4
jb 0x18029572e
jmp 0x1802953cb
mov eax, dword [0x180524658]
sub eax, dword [0x18052465c]
xor eax, 0x90f9dab5
mov ecx, 0x5c7dd2c7
xor edx, edx
div ecx
mov edi, eax
add edi, 0x5c506a60
mov rcx, rsi
call fcn.1802b7070
cmp edi, 0x349e5bf0
jbe 0x1802953cb
jmp 0x1802953ff
mov rbx, rsi
add rbx, 0x18
mov rcx, qword [rsi + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x18029551e
mov r14, rsi
add r14, 0x20
mov rdi, qword [r14]
cmp rdi, 0
je 0x180295518
mov rcx, rdi
call fcn.18041b8c0
mov rax, qword [rdi]
lock dec qword [rax]
sete al
test al, 1
jne 0x180295440
jmp 0x180295491
mov eax, dword [0x180524660]
and eax, dword [0x180524664]
xor eax, 0x637ffa18
or eax, 0x66dff042
imul eax, eax, 0x6271ba3f
cmp eax, 0xc9266e55
jae 0x180295747
mov eax, dword [0x180524668]
mov ecx, dword [0x18052466c]
xor eax, ecx
add eax, 0x67e582f5
cmp eax, 0x790759e2
jb 0x180295747
jmp 0x180295487
mov rcx, rdi
call fcn.180279160
jmp 0x180295491
mov eax, dword [0x180524670]
imul eax, dword [0x180524674]
mov ecx, 0xa9b1370c
xor edx, edx
div ecx
mov ecx, 0x41b4c63f
xor edx, edx
div ecx
add eax, 0x336849f
cmp eax, 0xf36d1015
je 0x180295754
jmp 0x1802954c2
mov eax, dword [0x180524678]
xor eax, dword [0x18052467c]
xor eax, 0xb282d1f7
and eax, 0x8ba9ae44
sub eax, 0x1a1b5f25
mov rcx, rdi
add rcx, 8
cmp eax, 0x86060440
ja 0x1802954c2
jmp 0x1802954ed
mov rax, qword [rcx]
lock dec qword [rax]
sete al
test al, 1
je 0x180295502
call fcn.180272d20
jmp 0x180295502
mov rcx, qword [r14]
mov edx, 0x20
mov r8d, 8
call fcn.1802cbf20
mov rcx, qword [rbx]
call qword [sym.imp.ws2_32.dll_closesocket]
mov rcx, rsi
call fcn.180405bd0
cmp qword [rsi], 0
sete al
mov rcx, rsi
add rcx, 8
test al, 1
jne 0x18029553d
jmp 0x18029560a
mov rax, qword [rcx]
mov r8, 0xffffffffffffffff
lock xadd qword [rax], r8
mov eax, dword [str.X_v64]
xor edx, edx
div dword [0x180524684]
add eax, 0x4b29d94f
mov r9d, 0xf7754284
xor edx, edx
div r9d
and eax, 0xc1d92013
cmp eax, 0x7872a438
jae 0x180295765
jmp 0x18029557c
mov eax, dword [0x180524688]
add eax, dword [0x18052468c]
imul eax, eax, 0x96600ef1
sub eax, 0x9f27c545
imul edx, eax, 0xfd9c0401
cmp r8, 1
sete al
cmp edx, 0x3d7c754d
ja 0x18029557c
test al, 1
jne 0x1802955b1
jmp 0x18029567a
mov eax, dword [0x180524690]
and eax, dword [0x180524694]
xor eax, 0xc4bff997
xor eax, 0x78fff0a6
add eax, 0x433b78d1
cmp eax, 0x125780ba
ja 0x180295772
jmp 0x1802955d9
mov eax, dword [0x180524698]
mov edx, dword [0x18052469c]
and eax, edx
add eax, 0x4179fd0e
shr eax, 2
imul rax, rax, 0x2181c67f
shr rax, 0x3b
cmp eax, 0xf5a24eab
jae 0x1802955d9
jmp 0x180295603
call fcn.180275eb0
jmp 0x18029567a
mov eax, dword [0x1805246a0]
imul eax, dword [0x1805246a4]
mov r8d, 0xe335369e
xor edx, edx
div r8d
add eax, 0x6f11a1b4
and eax, 0x7d0cca67
cmp eax, 0x2667bbbc
jbe 0x180295783
mov edx, dword [0x1805246a8]
or edx, dword [0x1805246ac]
and edx, 0xb415196d
sub edx, 0x44026237
xor edx, 0x5467349c
mov rax, qword [rcx]
cmp edx, 0x716bb031
jae 0x180295783
jmp 0x180295666
lock dec qword [rax]
sete al
test al, 1
jne 0x180295673
jmp 0x18029567a
call fcn.180279770
jmp 0x18029567a
mov rcx, rsi
add rcx, 0x10
mov rax, qword [rcx]
lock dec qword [rax]
sete al
test al, 1
jne 0x180295691
jmp 0x1802956e8
mov eax, dword [0x1805246b0]
xor edx, edx
div dword [0x1805246b4]
and eax, 0xbe4c9999
or eax, 0xb0635453
and eax, 0x286af9a7
cmp eax, 0xdbb20a7d
je 0x180295794
jmp 0x1802956bb
mov eax, dword [0x1805246b8]
mov edx, dword [str._Cff]
sub eax, edx
and eax, 0x80637a
add eax, 0x85da1aec
and eax, 0x7982694
cmp eax, 0xfc59fc51
je 0x1802956bb
jmp 0x1802956e1
call fcn.180274de0
jmp 0x1802956e8
mov rcx, rsi
add rcx, 0x28
mov rax, qword [rcx]
lock dec qword [rax]
sete al
test al, 1
jne 0x1802956ff
jmp 0x180295706
call fcn.180275540
jmp 0x180295706
add rsi, 0x30
mov rax, qword [rsi]
lock dec qword [rax]
sete al
test al, 1
jne 0x18029571a
jmp 0x180295724
mov rcx, rsi
call fcn.180275540
jmp 0x180295724
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
invalid
sbb al, 0xb7
xchg ebx, eax
sbb ebp, ebp
idiv dword [rax + rax*8 - 0x2ec17]
invalid
jp 0x180295718
pop rbp
stosb byte [rdi], al
xchg esp, eax
add eax, dword [rcx]
xor dword [rcx + rsi*2], 0xfd5be9d9
invalid
invalid
invalid
in al, dx
invalid
movsd dword [rdi], dword [rsi]
clc
invalid