Function at 0x461c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x14]
push 0x22c
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.0060a8e0
add esp, 0xc
push 0x26
push str.E54C3DE0_9E70_4eea_94B6_D069D4E4A9BC
call fcn.00619456
add esp, 8
lea ecx, [ebp - 0x25c]
push 1
push eax
push str.E54C3DE0_9E70_4eea_94B6_D069D4E4A9BC
call fcn.00460e90
mov eax, dword [ebp + 0xc]
cmp eax, 0x20
jb 0x461eba
lea edi, [esi + 0x10]
test edi, edi
je 0x461d02
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x18], xmm0
jmp 0x461d1c
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
call fcn.0060e1be
mov dword [eax], 0x16
call fcn.0060e0c0
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
test esi, esi
je 0x461eba
push ecx
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
mov ecx, esi
call fcn.00460fb0
add esp, 8
test eax, eax
jne 0x461eba
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x28]
lea edi, [eax + 0xc]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x461eba
add ecx, 4
add edx, 4
sub edi, 4
jae 0x461d50
mov eax, dword [esi + 8]
add eax, 0x20
cmp dword [ebp + 0xc], eax
jne 0x461eba
cmp dword [esi], 0x4752434d
jne 0x461eba
mov ecx, dword [ebp - 0x264]
test ecx, ecx
je 0x461d8f
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
test ebx, ebx
je 0x461ebf
mov ecx, dword [ebp - 0x260]
mov edi, dword [ebx]
mov eax, dword [esi + 8]
mov dword [ebx], eax
test ecx, ecx
je 0x461eb0
mov edx, dword [esi + 8]
mov dword [ebp - 0x264], edx
cmp edx, edi
jbe 0x461dc3
mov ebx, 0xea
jmp 0x461ebf
mov edi, dword [ebp - 0x44]
lea eax, [esi + 0x20]
mov esi, dword [ebp - 0x40]
test eax, eax
je 0x461ea9
cmp edx, 1
jb 0x461ea9
test edi, edi
je 0x461ea9
test esi, esi
je 0x461ea9
test edx, edx
jle 0x461eb6
sub eax, ecx
mov dword [ebp - 0x268], eax
mov ah, byte [ebp - 0x3b]
xor ebx, ebx
cmp dword [ebp - 0x4c], ebx
jle 0x461e45
nop word [eax + eax]
lea ecx, [ebp - 0x25c]
call fcn.00460e00
mov byte [edi], al
lea ecx, [ebp - 0x25c]
lea edi, [edi + 1]
call fcn.00460e00
mov byte [esi], al
lea esi, [esi + 1]
inc ebx
cmp ebx, dword [ebp - 0x4c]
jl 0x461e10
mov ah, byte [ebp - 0x3b]
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x260]
mov edx, dword [ebp - 0x268]
mov ebx, dword [ebp - 0x4c]
mov al, byte [edx + ecx]
mov edx, dword [ebp - 0x48]
lea ecx, [ebx - 1]
add edx, esi
test ecx, ecx
jle 0x461e7e
sub ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
sub ebx, esi
dec ebx
sub ecx, edx
add ebx, edx
add ecx, edi
nop dword [eax]
sub al, byte [edx]
lea edx, [edx - 1]
xor al, byte [ecx + edx + 1]
dec ebx
test ebx, ebx
jg 0x461e70
sub al, byte [esi]
mov ecx, dword [ebp - 0x260]
xor al, ah
xor al, byte [edi]
xor ah, al
mov byte [ebp - 0x3b], ah
mov byte [ecx], al
inc ecx
sub dword [ebp - 0x264], 1
mov dword [ebp - 0x260], ecx
jne 0x461e00
xor ebx, ebx
jmp 0x461ec5
mov ebx, 0x1771
jmp 0x461ec5
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
xor ebx, ebx
jmp 0x461ec5
mov ebx, 0xd
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x461edc
lea eax, [ebp - 0x3a]
cmp edi, eax
je 0x461edc
push edi
call fcn.0060819c
mov esi, dword [ebp - 0x40]
add esp, 4
test esi, esi
je 0x461ef0
lea eax, [ebp - 0x35]
cmp esi, eax
je 0x461ef0
push esi
call fcn.0060819c
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00608185
mov esp, ebp
pop ebp
ret