Function at 0x180005320
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov byte [rbp + 7], dl
mov qword [rbp - 0x10], rcx
mov eax, dword [0x18074d698]
xor edx, edx
div dword [0x18074d69c]
imul eax, eax, 0x1b731f12
xor eax, 0x51025213
imul eax, eax, 0x4658b86d
cmp eax, 0xe64730f5
jae 0x180005aa0
jmp 0x180005368
mov eax, dword [0x18074d6a0]
mov ecx, dword [str.DW_nw_]
imul eax, ecx
or eax, 0x68b7936b
imul esi, eax, 0xa65029a1
add esi, 0x3aedd7c5
mov eax, 0x10
call fcn.180698e80
sub rsp, rax
mov rdx, rsp
mov eax, 0x10
call fcn.180698e80
sub rsp, rax
mov rcx, rsp
mov eax, 0x20
call fcn.180698e80
sub rsp, rax
mov rdi, rsp
mov eax, 0x30
call fcn.180698e80
sub rsp, rax
mov r12, rsp
mov eax, 0x10
call fcn.180698e80
sub rsp, rax
mov rbx, rsp
mov eax, 0x20
call fcn.180698e80
sub rsp, rax
mov r13, rsp
mov eax, 0x10
call fcn.180698e80
sub rsp, rax
mov r14, rsp
lea rax, [0x1806b5800]
add rax, 0xffffffffffffab58
add rax, 0xa
mov qword [rcx], rax
mov rcx, qword [rcx]
movabs rax, 0xebd081ceeb577af
mov qword [rdx], rax
mov rdx, qword [rdx]
sub rsp, 0x20
call fcn.18031d3f0
add rsp, 0x20
mov r15, qword [rax]
cmp esi, 0xb1892679
jbe 0x180005368
jmp 0x18000543d
mov qword [rbp - 0x18], rbx
mov esi, dword [rax + 8]
mov bx, word [rax + 0xc]
mov al, byte [0x1807afe04]
sub rsp, 0x20
mov ecx, 0xe
mov edx, 1
call fcn.1804caf90
add rsp, 0x20
cmp rax, 0
jne 0x180005484
sub rsp, 0x20
mov ecx, 1
mov edx, 0xe
call fcn.18063bc30
add rsp, 0x20
ud2
mov cx, bx
shr cx, 8
xor cl, 0x6a
xor bl, 0x50
movabs rdx, 0x805b955cd3e88fd5
xor r15, rdx
xor esi, 0xacfde8a4
mov qword [rax], r15
mov dword [rax + 8], esi
mov byte [rax + 0xc], bl
mov byte [rax + 0xd], cl
mov qword [r13], 0xe
mov qword [r13 + 8], rax
mov qword [r13 + 0x10], 0xe
sub rsp, 0x20
mov rcx, r13
call fcn.18043bba0
add rsp, 0x20
mov rcx, rdx
cmp rax, 0
sete al
mov rbx, qword [rbp - 0x18]
test al, 1
jne 0x1800054eb
jmp 0x1800055ba
mov eax, dword [0x18074d6a8]
xor edx, edx
div dword [0x18074d6ac]
add eax, 0x1b562cbc
imul eax, eax, 0xf7f3df13
add eax, 0x4c3bf124
cmp eax, 0xd07a4ae8
jae 0x180005b09
mov eax, dword [0x18074d6b0]
add eax, dword [0x18074d6b4]
and eax, 0xb8faad59
mov r8d, 0x845b6cfd
xor edx, edx
div r8d
or eax, 0xd74160d9
mov qword [r14], rcx
cmp eax, 0x1c3e2b0b
jb 0x180005b09
jmp 0x180005545
mov eax, dword [0x18074d6b8]
sub eax, dword [0x18074d6bc]
add eax, 0x377fa426
or eax, 0x15ffb826
imul eax, eax, 0xd4fb73ce
cmp eax, 0xdf004b99
je 0x180005b1d
mov eax, dword [0x18074d6c0]
and eax, dword [0x18074d6c4]
mov ecx, 0x8896955
xor edx, edx
div ecx
sub eax, 0x6c152d04
sub eax, 0x3f52ce75
cmp eax, 0x3afe7417
jb 0x180005b1d
jmp 0x180005598
sub rsp, 0x20
mov rcx, r12
mov rdx, r14
call fcn.180667310
add rsp, 0x20
cmp word [r12 + 8], 2
je 0x1800056aa
jmp 0x180005618
ud2
mov rsi, qword [r12]
mov eax, dword [0x18074d6d8]
xor eax, dword [0x18074d6dc]
mov ecx, 0xfba9b789
xor edx, edx
div ecx
add eax, 0x644996f9
add eax, 0x27060789
cmp eax, 0x1139ec4f
jb 0x180005b37
jmp 0x180005648
mov eax, dword [str.PBKE9D__t4e_X]
imul eax, dword [0x18074d6e4]
mov ecx, 0x4d7df44c
xor edx, edx
div ecx
mov r12d, eax
xor r12d, 0x3b068a57
sub r12d, 0x18627f49
mov qword [rbx], rsi
mov al, byte [0x1807afe04]
sub rsp, 0x20
mov ecx, 1
mov edx, 1
call fcn.1804caf90
add rsp, 0x20
cmp rax, 0
sete cl
cmp r12d, 0xaf0ae5ac
je 0x180005648
test cl, 1
jne 0x1800058c1
jmp 0x1800056ae
ud2
mov cl, byte [rbp + 7]
mov byte [rax], cl
mov qword [rdi], 1
mov r15, rdi
add r15, 8
mov qword [rdi + 8], rax
mov rsi, rdi
add rsi, 0x10
mov qword [rdi + 0x10], 1
mov rax, qword [rbp - 0x10]
mov r12, qword [rax + 0x10]
mov qword [rbp - 8], r12
bswap r12
sub rsp, 0x30
mov rcx, rdi
mov edx, 1
mov r8d, 8
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.18045c010
add rsp, 0x30
mov rcx, qword [rdi + 0x10]
mov r13, qword [r15]
mov r10, r13
add r10, rcx
mov r11, r15
mov eax, dword [0x18074d6e8]
sub eax, dword [0x18074d6ec]
mov r9d, 0xd7dfcda6
xor edx, edx
div r9d
or eax, 0xc48c4b47
or eax, 0x71c0d3f8
cmp eax, 0xcc66d645
mov r8, qword [rbp - 8]
jb 0x180005b68
mov edx, dword [0x18074d6f0]
or edx, dword [0x18074d6f4]
sub edx, 0x89b9fbe1
xor edx, 0x41d5619a
and edx, 0xa1e973d6
mov qword [r10], r12
mov r15, rcx
add r15, 8
mov qword [rsi], r15
mov rax, qword [rbp - 0x10]
mov r9, qword [rax + 8]
mov rax, qword [rdi]
sub rax, r15
cmp rax, r8
setb al
cmp edx, 0x4fc2ad13
jb 0x180005b68
mov r12, r9
test al, 1
jne 0x1800057a4
jmp 0x180005884
mov r13, r11
mov eax, dword [0x18074d6f8]
and eax, dword [0x18074d6fc]
imul eax, eax, 0x828f031c
mov ecx, 0xa37a241d
xor edx, edx
div ecx
imul eax, eax, 0x486d3204
cmp eax, 0x1d4077d9
jbe 0x180005b86
jmp 0x1800057d5
mov eax, dword [0x18074d700]
xor edx, edx
div dword [0x18074d704]
imul ebx, eax, 0x8cd8f220
sub ebx, 0xa8a3d367
and ebx, 0xca2e50ec
sub rsp, 0x30
mov rcx, rdi
mov rdx, r15
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.18045c010
mov r8, qword [rbp - 8]
add rsp, 0x30
cmp ebx, 0x5116fc79
je 0x1800057d5
jmp 0x180005825
mov r15, qword [rsi]
mov rbx, qword [rbp - 0x18]
mov r9, r13
mov eax, dword [0x18074d708]
xor eax, dword [0x18074d70c]
mov ecx, 0x38dad38f
xor edx, edx
div ecx
imul eax, eax, 0x5d297cef
add eax, 0xbdc2548c
cmp eax, 0x7af52cd3
jae 0x180005bbd
jmp 0x18000585c
mov eax, dword [0x18074d710]
xor eax, dword [0x18074d714]
add eax, 0x6d352e06
sub eax, 0x42e73358
imul eax, eax, 0x4f55934c
mov r13, qword [r9]
cmp eax, 0x73585a0c
je 0x18000585c
jmp 0x180005884
mov rcx, r13
add rcx, r15
sub rsp, 0x20
mov rdx, r12
mov rsi, r8
call fcn.1806a7400
add rsp, 0x20
add r15, rsi
sub rsp, 0x20
mov rcx, rbx
mov rdx, r13
mov r8, r15
call fcn.18043aea0
add rsp, 0x20
cmp rax, 0
je 0x180005927
jmp 0x180005a9c
sub rsp, 0x20
mov ecx, 1
mov edx, 1
call fcn.18063bc30
add rsp, 0x20
mov eax, dword [0x18074d718]
and eax, dword [0x18074d71c]
add eax, 0xa8952e49
xor eax, 0x25485cc4
or eax, 0x26ec1c50
cmp eax, 0x3b118511
jae 0x180005bce
mov eax, dword [0x18074d720]
sub eax, dword [0x18074d724]
or eax, 0x98dfa345
imul eax, eax, 0x360f27bd
or eax, 0x2c035e83
cmp eax, 0xf18146d7
jae 0x180005bce
ud2
mov eax, dword [0x18074d728]
sub eax, dword [0x18074d72c]
add eax, 0x6c2ac920
imul eax, eax, 0x2031fbfe
or eax, 0xba3909d0
cmp eax, 0xb7e69324
jb 0x180005bdf
jmp 0x180005950
mov eax, dword [0x18074d730]
xor edx, edx
div dword [0x18074d734]
xor eax, 0x26d7b33b
xor eax, 0x1f130404
or eax, 0x166b9501
cmp eax, 0x48645a07
je 0x180005950
jmp 0x180005976
mov rdx, qword [rdi]
cmp rdx, 0
je 0x180005997
sub rsp, 0x20
mov rcx, r13
mov r8d, 1
call fcn.1804cafa0
add rsp, 0x20
jmp 0x180005997
mov rcx, qword [rbx]
sub rsp, 0x20
call qword [sym.imp.ws2_32.dll_closesocket]
add rsp, 0x20
mov rcx, qword [r14]
sub rsp, 0x20
call qword [sym.imp.ws2_32.dll_closesocket]
add rsp, 0x20
mov rax, qword [rbp - 0x10]
mov rsi, qword [rax]
cmp rsi, 0
je 0x180005a8b
mov eax, dword [0x18074d738]
xor edx, edx
div dword [0x18074d73c]
add eax, 0x1bdac88a
and eax, 0xb4499ec8
add eax, 0xd204daec
cmp eax, 0xbc947ea5
jbe 0x180005bf0
mov eax, dword [0x18074d740]
and eax, dword [0x18074d744]
add eax, 0xc6bbde4f
sub eax, 0x2be68b2d
mov ecx, 0xbae4bf70
xor edx, edx
div ecx
mov edi, eax
sub rsp, 0x20
mov rcx, r12
mov rdx, rsi
mov r8d, 1
call fcn.1804cafa0
add rsp, 0x20
cmp edi, 0x99fff264
jae 0x180005bf0
jmp 0x180005a3a
mov eax, dword [0x18074d748]
add eax, dword [0x18074d74c]
imul eax, eax, 0xe4a42c69
xor eax, 0xf38b1062
xor eax, 0xf935eca1
cmp eax, 0xc8fc8bd2
jae 0x180005c1a
jmp 0x180005a63
mov eax, dword [0x18074d750]
or eax, dword [0x18074d754]
xor eax, 0x8ee42815
mov ecx, 0xe4ae5760
xor edx, edx
div ecx
or eax, 0x42de53f1
cmp eax, 0xc713b345
jae 0x180005a63
jmp 0x180005a8b
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
ud2
push rbx
invalid
sub eax, 0x29247dec
mov esp, 0x2b019266
jrcxz 0x180005b5b
mov qword [r14], rcx
jmp 0x180005514
invalid
mov di, 0xa993
or eax, 0x22b2dbe2
mov al, al
mov esp, 0x8a338948
add eax, 0x7aa2b8
sub rsp, 0x20
mov ecx, 1
mov edx, 1
call fcn.1804caf90
xor dword [rsp + rcx*2], edx
add rsp, 0x20
jmp 0x180005646
test ah, cl
invalid
or eax, 0x62fafcd3
mov cl, 0xd2
in eax, 0x66
adc ch, bl
sub rsp, 0x30
mov rcx, rdi
mov rdx, r15
mov r9d, 1
mov qword [rsp + 0x20], 1
call fcn.18045c010
mov r8, qword [rbp - 8]
add rsp, 0x30
jmp 0x1800057d3
invalid
rcr byte [rsi], 0x26
push 0xffffffffffffffc7
fld xword [r13 + rsi - 0x162dcfc3]
invalid
add al, 0xfe
xchg esp, eax
push 2
rcl byte [rax], 0xd0
invalid
invalid
mov bl, 0x6d
wait
mov bl, 0x50
call 0x1b9d4f863
jmp 0x180005a61