Function at 0x140052650
Capabilities:
Encode data using xor
Encrypt data using aes
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r15
movzx eax, byte [rdx + 1]
mov esi, r8d
movzx r10d, byte [rdx]
mov r9, rdx
shl r10d, 8
mov r15, rcx
xor r10d, eax
movzx eax, byte [rdx + 2]
shl r10d, 8
xor r10d, eax
movzx eax, byte [rdx + 3]
shl r10d, 8
xor r10d, eax
mov dword [rcx], r10d
movzx eax, byte [rdx + 5]
movzx ebx, byte [rdx + 4]
shl ebx, 8
xor ebx, eax
movzx eax, byte [rdx + 6]
shl ebx, 8
xor ebx, eax
movzx eax, byte [rdx + 7]
shl ebx, 8
xor ebx, eax
mov dword [rcx + 4], ebx
movzx eax, byte [rdx + 9]
movzx edi, byte [rdx + 8]
shl edi, 8
xor edi, eax
movzx eax, byte [rdx + 0xa]
shl edi, 8
xor edi, eax
movzx eax, byte [rdx + 0xb]
shl edi, 8
xor edi, eax
mov dword [rcx + 8], edi
movzx eax, byte [rdx + 0xd]
movzx r11d, byte [rdx + 0xc]
shl r11d, 8
xor r11d, eax
movzx eax, byte [rdx + 0xe]
shl r11d, 8
xor r11d, eax
movzx eax, byte [rdx + 0xf]
shl r11d, 8
xor r11d, eax
mov dword [rcx + 0xc], r11d
cmp r8d, 0x80
jne 0x140052b7c
lea r12, str.ccccwwww
mov eax, r11d
shr rax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 8
mov r8d, dword [r12 + rcx*4]
movzx ecx, al
btc r8d, 0x18
and r8d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r8d, eax
mov eax, r11d
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r8d, eax
movzx eax, r11b
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, r10d
xor ebx, r8d
mov dword [r15 + 0x10], r8d
xor edi, ebx
mov dword [r15 + 0x14], ebx
xor r11d, edi
mov dword [r15 + 0x18], edi
mov edx, r11d
mov eax, r11d
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x1c], edx
mov r11d, dword [r12 + rcx*4]
movzx ecx, al
btc r11d, 0x19
and r11d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r11d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r11d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r11d, ecx
xor r11d, r8d
mov dword [r15 + 0x20], r11d
mov r9d, r11d
xor r9d, ebx
mov r10d, r9d
mov dword [r15 + 0x24], r9d
xor r10d, edi
xor edx, r10d
mov dword [r15 + 0x28], r10d
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, edx
mov ebx, dword [r12 + rcx*4]
movzx ecx, al
btc ebx, 0x1a
and ebx, 0xff000000
mov dword [r15 + 0x2c], r8d
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor ebx, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor ebx, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor ebx, ecx
xor ebx, r11d
mov dword [r15 + 0x30], ebx
mov esi, ebx
xor esi, r9d
mov dword [r15 + 0x34], esi
mov r9d, esi
xor r9d, r10d
mov dword [r15 + 0x38], r9d
mov eax, r9d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x3c], edx
mov r10d, dword [r12 + rcx*4]
movzx ecx, al
btc r10d, 0x1b
and r10d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r10d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r10d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r10d, ecx
xor r10d, ebx
mov dword [r15 + 0x40], r10d
xor esi, r10d
mov dword [r15 + 0x44], esi
mov r8d, esi
xor r8d, r9d
mov dword [r15 + 0x48], r8d
mov eax, r8d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x4c], edx
mov r11d, dword [r12 + rcx*4]
movzx ecx, al
btc r11d, 0x1c
and r11d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r11d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r11d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r11d, ecx
xor r11d, r10d
xor esi, r11d
mov dword [r15 + 0x50], r11d
mov dword [r15 + 0x54], esi
mov r9d, esi
xor r9d, r8d
mov eax, r9d
mov dword [r15 + 0x58], r9d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
mov dword [r15 + 0x5c], edx
mov r10d, dword [r12 + rcx*4]
btc r10d, 0x1d
and r10d, 0xff000000
shr rax, 8
movzx ecx, al
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r10d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r10d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r10d, ecx
xor r10d, r11d
mov dword [r15 + 0x60], r10d
xor esi, r10d
mov dword [r15 + 0x64], esi
mov r8d, esi
xor r8d, r9d
mov dword [r15 + 0x68], r8d
mov eax, r8d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x6c], edx
mov ebx, dword [r12 + rcx*4]
movzx ecx, al
btc ebx, 0x1e
and ebx, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor ebx, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor ebx, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor ebx, ecx
xor ebx, r10d
mov dword [r15 + 0x70], ebx
mov edi, ebx
xor edi, esi
mov dword [r15 + 0x74], edi
mov r9d, edi
xor r9d, r8d
mov dword [r15 + 0x78], r9d
mov eax, r9d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x7c], edx
mov r11d, dword [r12 + rcx*4]
movzx ecx, al
xor r11d, 0x80ffffff
and r11d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r11d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r11d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r11d, ecx
xor r11d, ebx
xor edi, r11d
mov dword [r15 + 0x80], r11d
mov r8d, edi
mov dword [r15 + 0x84], edi
xor r8d, r9d
mov eax, r8d
mov dword [r15 + 0x88], r8d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x8c], edx
mov r10d, dword [r12 + rcx*4]
movzx ecx, al
xor r10d, 0x1b000000
and r10d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r10d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r10d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r10d, ecx
xor r10d, r11d
mov dword [r15 + 0x90], r10d
xor edi, r10d
mov dword [r15 + 0x94], edi
mov r9d, edi
xor r9d, r8d
mov dword [r15 + 0x98], r9d
mov eax, r9d
xor eax, edx
mov r8d, eax
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
mov dword [r15 + 0x9c], r8d
mov edx, dword [r12 + rcx*4]
movzx ecx, al
xor edx, 0x36000000
and edx, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, r8d
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor edx, eax
movzx eax, r8b
mov ecx, dword [r12 + rax*4]
mov eax, 0xa
and ecx, 0xff00
xor edx, ecx
xor edx, r10d
xor edi, edx
mov dword [r15 + 0xa0], edx
mov dword [r15 + 0xa4], edi
xor edi, r9d
mov dword [r15 + 0xa8], edi
xor edi, r8d
mov dword [r15 + 0xac], edi
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
movzx eax, byte [rdx + 0x11]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], r13
movzx r13d, byte [rdx + 0x10]
shl r13d, 8
xor r13d, eax
mov qword [rsp + 0x48], r14
movzx eax, byte [rdx + 0x12]
shl r13d, 8
xor r13d, eax
movzx eax, byte [rdx + 0x13]
shl r13d, 8
xor r13d, eax
lea rax, [rcx + 0x10]
mov dword [rax], r13d
movzx ecx, byte [rdx + 0x15]
movzx r8d, byte [rdx + 0x14]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rdx + 0x16]
shl r8d, 8
xor r8d, ecx
movzx ecx, byte [rdx + 0x17]
shl r8d, 8
xor r8d, ecx
mov dword [r15 + 0x14], r8d
cmp esi, 0xc0
jne 0x140053009
lea r12, str.ccccwwww
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
mov r9d, dword [r12 + rcx*4]
movzx ecx, al
btc r9d, 0x18
and r9d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r9d, eax
mov eax, r8d
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r9d, eax
movzx eax, r8b
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r9d, ecx
xor r9d, r10d
mov dword [r15 + 0x18], r9d
mov r10d, r9d
xor r10d, ebx
mov dword [r15 + 0x1c], r10d
mov ebx, r10d
xor ebx, edi
mov dword [r15 + 0x20], ebx
mov edi, ebx
xor edi, r11d
mov dword [r15 + 0x24], edi
mov esi, edi
xor esi, r13d
mov dword [r15 + 0x28], esi
mov eax, esi
xor eax, r8d
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x2c], edx
mov r8d, dword [r12 + rcx*4]
movzx ecx, al
btc r8d, 0x19
and r8d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, r9d
mov dword [r15 + 0x30], r8d
xor r10d, r8d
mov dword [r15 + 0x34], r10d
xor ebx, r10d
xor edi, ebx
mov dword [r15 + 0x38], ebx
xor esi, edi
mov dword [r15 + 0x3c], edi
xor edx, esi
mov dword [r15 + 0x40], esi
mov eax, edx
mov dword [r15 + 0x44], edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r11d, dword [r12 + rcx*4]
movzx ecx, al
btc r11d, 0x1a
and r11d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r11d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r11d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r11d, ecx
xor r11d, r8d
mov dword [r15 + 0x48], r11d
mov r14d, r11d
xor r14d, r10d
mov dword [r15 + 0x4c], r14d
mov r8d, r14d
xor r8d, ebx
mov dword [r15 + 0x50], r8d
mov r9d, r8d
xor r9d, edi
mov dword [r15 + 0x54], r9d
mov r10d, r9d
xor r10d, esi
mov eax, r10d
mov dword [r15 + 0x58], r10d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x5c], edx
mov ebx, dword [r12 + rcx*4]
movzx ecx, al
btc ebx, 0x1b
and ebx, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor ebx, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor ebx, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor ebx, ecx
xor ebx, r11d
mov dword [r15 + 0x60], ebx
xor r14d, ebx
mov dword [r15 + 0x64], r14d
mov r11d, r14d
xor r11d, r8d
mov dword [r15 + 0x68], r11d
mov r8d, r11d
xor r8d, r9d
mov r9d, r8d
mov dword [r15 + 0x6c], r8d
xor r9d, r10d
mov eax, r9d
mov dword [r15 + 0x70], r9d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x74], edx
mov r10d, dword [r12 + rcx*4]
movzx ecx, al
btc r10d, 0x1c
and r10d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r10d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r10d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r10d, ecx
xor r10d, ebx
mov dword [r15 + 0x78], r10d
xor r14d, r10d
mov dword [r15 + 0x7c], r14d
mov edi, r14d
xor edi, r11d
mov dword [r15 + 0x80], edi
mov esi, edi
xor esi, r8d
mov dword [r15 + 0x84], esi
mov ebp, esi
xor ebp, r9d
mov dword [r15 + 0x88], ebp
mov eax, ebp
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0x8c], edx
mov r8d, dword [r12 + rcx*4]
movzx ecx, al
btc r8d, 0x1d
and r8d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, r10d
mov dword [r15 + 0x90], r8d
xor r14d, r8d
mov dword [r15 + 0x94], r14d
xor edi, r14d
mov dword [r15 + 0x98], edi
xor esi, edi
mov dword [r15 + 0x9c], esi
xor ebp, esi
xor edx, ebp
mov dword [r15 + 0xa0], ebp
mov dword [r15 + 0xa4], edx
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov ebx, dword [r12 + rcx*4]
movzx ecx, al
btc ebx, 0x1e
and ebx, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor ebx, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor ebx, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
and ecx, 0xff00
xor ebx, ecx
xor ebx, r8d
mov dword [r15 + 0xa8], ebx
mov r9d, ebx
xor r9d, r14d
mov dword [r15 + 0xac], r9d
mov r10d, r9d
xor r10d, edi
mov r11d, r10d
mov dword [r15 + 0xb0], r10d
xor r11d, esi
mov dword [r15 + 0xb4], r11d
mov eax, r11d
xor eax, ebp
mov dword [r15 + 0xb8], eax
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r15 + 0xbc], edx
mov r8d, dword [r12 + rcx*4]
movzx ecx, al
xor r8d, 0x80ffffff
and r8d, 0xff000000
mov eax, dword [r12 + rcx*4]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r12 + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r12 + rax*4]
mov eax, recv
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
mov dword [r15 + 0xc0], r8d
xor r8d, r9d
mov dword [r15 + 0xc4], r8d
xor r8d, r10d
mov dword [r15 + 0xc8], r8d
xor r8d, r11d
mov dword [r15 + 0xcc], r8d
jmp 0x1400533a2
movzx edx, byte [rdx + 0x18]
movzx ecx, byte [r9 + 0x19]
shl edx, 8
xor edx, ecx
movzx ecx, byte [r9 + 0x1a]
shl edx, 8
xor edx, ecx
movzx ecx, byte [r9 + 0x1b]
shl edx, 8
xor edx, ecx
mov dword [r15 + 0x18], edx
movzx ecx, byte [r9 + 0x1d]
movzx edx, byte [r9 + 0x1c]
shl edx, 8
xor edx, ecx
movzx ecx, byte [r9 + 0x1e]
shl edx, 8
xor edx, ecx
movzx ecx, byte [r9 + 0x1f]
shl edx, 8
xor edx, ecx
mov dword [r15 + 0x1c], edx
cmp esi, 0x100
jne 0x1400533a0
mov r8d, edx
lea r12, str.ccccwwww
mov ecx, edx
lea rsi, [0x140070ebc]
shr rcx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 8
mov qword [rsp + 0x30], rsi
mov r9d, dword [r12 + rdx*4]
movzx edx, cl
btc r9d, 0x18
and r9d, 0xff000000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff0000
xor r9d, ecx
mov ecx, r8d
shr rcx, 0x18
movzx ecx, byte [r12 + rcx*4]
xor r9d, ecx
movzx ecx, r8b
mov edx, dword [r12 + rcx*4]
and edx, 0xff00
xor r9d, edx
xor r9d, r10d
xor ebx, r9d
mov dword [r15 + 0x20], r9d
xor edi, ebx
mov dword [r15 + 0x24], ebx
xor r11d, edi
mov dword [r15 + 0x28], edi
mov dword [r15 + 0x2c], r11d
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rax + 0x1c]
mov ecx, r8d
shr rcx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 8
mov ebx, dword [r12 + rdx*4]
movzx edx, cl
and ebx, 0xff0000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff00
xor ebx, ecx
mov ecx, r8d
shr rcx, 0x18
mov edx, dword [r12 + rcx*4]
and edx, 0xff000000
movzx ecx, r8b
xor ebx, edx
movzx edx, byte [r12 + rcx*4]
xor ebx, edx
xor ebx, r13d
mov dword [rax + 0x20], ebx
mov r14d, ebx
xor r14d, dword [rax + 4]
mov dword [rax + 0x24], r14d
mov r15d, r14d
xor r15d, dword [rax + 8]
mov dword [rax + 0x28], r15d
mov ecx, r15d
xor ecx, dword [rax + 0xc]
mov r9d, ecx
shr rcx, 8
movzx edx, cl
mov ecx, r9d
shr rcx, 0x10
mov dword [rax + 0x2c], r9d
mov edi, dword [r12 + rdx*4]
movzx edx, cl
and edi, 0xff0000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff000000
xor edi, ecx
mov ecx, r9d
shr rcx, 0x18
movzx ecx, byte [r12 + rcx*4]
xor edi, ecx
movzx ecx, r9b
mov edx, dword [r12 + rcx*4]
and edx, 0xff00
xor edi, edx
xor edi, dword [rsi - 8]
xor edi, dword [rax + 0x10]
mov dword [rax + 0x30], edi
mov r10d, edi
xor r10d, dword [rax + 0x14]
mov dword [rax + 0x34], r10d
mov r11d, r10d
xor r11d, dword [rax + 0x18]
mov ecx, r11d
mov dword [rax + 0x38], r11d
xor ecx, r8d
mov r8d, ecx
shr rcx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 8
mov dword [rax + 0x3c], r8d
mov esi, dword [r12 + rdx*4]
movzx edx, cl
and esi, 0xff0000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff00
xor esi, ecx
mov ecx, r8d
shr rcx, 0x18
mov edx, dword [r12 + rcx*4]
and edx, 0xff000000
movzx ecx, r8b
xor esi, edx
movzx edx, byte [r12 + rcx*4]
xor esi, edx
xor esi, ebx
xor r14d, esi
mov dword [rax + 0x40], esi
xor r15d, r14d
mov dword [rax + 0x44], r14d
xor r9d, r15d
mov dword [rax + 0x48], r15d
mov dword [rax + 0x4c], r9d
mov ecx, r9d
shr rcx, 8
movzx edx, cl
mov ecx, r9d
shr rcx, 0x10
mov ebp, dword [r12 + rdx*4]
movzx edx, cl
and ebp, 0xff0000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff000000
xor ebp, ecx
mov ecx, r9d
shr rcx, 0x18
movzx ecx, byte [r12 + rcx*4]
xor ebp, ecx
movzx ecx, r9b
mov edx, dword [r12 + rcx*4]
mov rcx, qword [rsp + 0x30]
and edx, 0xff00
xor ebp, edx
xor ebp, dword [rcx - 4]
xor ebp, edi
mov dword [rax + 0x50], ebp
mov ebx, ebp
xor ebx, r10d
mov dword [rax + 0x54], ebx
mov edi, ebx
xor edi, r11d
mov dword [rax + 0x58], edi
mov ecx, edi
xor ecx, r8d
mov r11d, ecx
shr rcx, 0x10
movzx edx, cl
mov ecx, r11d
shr rcx, 8
mov dword [rax + 0x5c], r11d
mov r13d, dword [r12 + rdx*4]
movzx edx, cl
and r13d, 0xff0000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff00
xor r13d, ecx
mov ecx, r11d
shr rcx, 0x18
mov edx, dword [r12 + rcx*4]
and edx, 0xff000000
movzx ecx, r11b
xor r13d, edx
movzx edx, byte [r12 + rcx*4]
xor r13d, edx
xor r13d, esi
mov ecx, r13d
mov dword [rax + 0x60], r13d
xor ecx, r14d
mov dword [rax + 0x64], ecx
xor ecx, r15d
mov dword [rax + 0x68], ecx
xor ecx, r9d
mov r8d, ecx
shr rcx, 8
movzx edx, cl
mov ecx, r8d
shr rcx, 0x10
mov dword [rax + 0x6c], r8d
mov r9d, dword [r12 + rdx*4]
movzx edx, cl
and r9d, 0xff0000
mov ecx, dword [r12 + rdx*4]
and ecx, 0xff000000
xor r9d, ecx
mov ecx, r8d
shr rcx, 0x18
movzx ecx, byte [r12 + rcx*4]
lea rax, [rax + 0x60]
mov rsi, qword [rsp + 0x30]
xor r9d, ecx
movzx ecx, r8b
mov edx, dword [r12 + rcx*4]
lea rcx, [0x140070ed4]
and edx, 0xff00
xor r9d, edx
xor r9d, ebp
xor r9d, dword [rsi]
add rsi, 0xc
mov dword [rax + 0x10], r9d
xor r9d, ebx
mov dword [rax + 0x14], r9d
xor r9d, edi
mov dword [rax + 0x18], r9d
xor r9d, r11d
mov dword [rax + 0x1c], r9d
mov qword [rsp + 0x30], rsi
cmp rsi, rcx
jne 0x1400530f0
mov eax, recv
jmp 0x1400533a2
xor eax, eax
mov r13, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret