Function at 0x41aa60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58c
mov eax, dword [0x467fd4]
xor eax, esp
mov dword [esp + 0x588], eax
mov eax, dword [esp + 0x5ac]
xorps xmm0, xmm0
push ebx
mov ebx, dword [esp + 0x5a8]
push ebp
mov ebp, dword [esp + 0x59c]
mov edx, ebp
push esi
mov esi, dword [esp + 0x59c]
push edi
mov edi, dword [esp + 0x5b8]
mov dword [esp + 0x38], ecx
mov ecx, esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], eax
movups xmmword [esp + 0x5c], xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x7c], xmm0
movups xmmword [esp + 0x8c], xmm0
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc dword [esp + eax*4 + 0x5c]
sub edx, 1
jne 0x41aad0
cmp dword [esp + 0x5c], ebp
jne 0x41aaef
mov dword [ebx], edx
mov dword [edi], edx
xor eax, eax
jmp 0x41aecb
mov eax, dword [edi]
mov ecx, 1
cmp dword [esp + ecx*4 + 0x5c], 0
jne 0x41ab03
inc ecx
cmp ecx, 0xf
jbe 0x41aaf6
cmp eax, ecx
mov dword [esp + 0x1c], ecx
mov edx, ecx
cmovae edx, eax
mov eax, 0xf
cmp dword [esp + eax*4 + 0x5c], 0
jne 0x41ab1f
sub eax, 1
jne 0x41ab13
cmp edx, eax
mov dword [esp + 0x24], eax
mov ebx, eax
cmovbe ebx, edx
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], ebx
mov dword [edi], ebx
cmp ecx, eax
jae 0x41ab51
nop dword [eax + eax]
sub edx, dword [esp + ecx*4 + 0x5c]
js 0x41aec6
inc ecx
add edx, edx
cmp ecx, eax
jb 0x41ab40
mov ecx, edx
sub edx, dword [esp + eax*4 + 0x5c]
mov dword [esp + 0x58], edx
js 0x41aec6
xor edx, edx
mov dword [esp + eax*4 + 0x5c], ecx
mov dword [esp + 0xa0], edx
sub eax, 1
je 0x41ab93
xor ecx, ecx
nop word [eax + eax]
add edx, dword [esp + ecx + 0x60]
lea ecx, [ecx + 4]
mov dword [esp + ecx + 0xa0], edx
sub eax, 1
jne 0x41ab80
xor ecx, ecx
mov edx, dword [esi]
lea esi, [esi + 4]
test edx, edx
je 0x41abb4
mov eax, dword [esp + edx*4 + 0x9c]
mov dword [esp + eax*4 + 0x118], ecx
inc eax
mov dword [esp + edx*4 + 0x9c], eax
inc ecx
cmp ecx, ebp
jb 0x41ab95
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x118]
mov edx, dword [esp + 0x1c]
xor ebp, ebp
mov ebx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
or edi, 0xffffffff
neg ebx
mov dword [esp + 0x44], ebp
xor esi, esi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0xdc], ebp
mov dword [esp + 0x40], ebp
cmp edx, eax
jg 0x41aea4
lea eax, [esp + 0x5c]
lea eax, [eax + edx*4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
nop dword [eax + eax]
mov eax, dword [eax]
test eax, eax
je 0x41ae86
nop word [eax + eax]
mov dword [esp + 0x4c], eax
dec eax
mov dword [esp + 0x48], eax
lea eax, [ecx + ebx]
cmp edx, eax
jle 0x41ad51
mov esi, dword [esp + 0x24]
inc edi
sub esi, eax
mov dword [esp + 0x14], eax
cmp esi, ecx
mov dword [esp + 0x34], edi
mov ebx, edx
cmova esi, ecx
sub ebx, eax
mov eax, 1
mov ecx, ebx
shl eax, cl
cmp eax, dword [esp + 0x4c]
jbe 0x41ac94
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
sub ecx, dword [esp + 0x48]
add eax, ecx
cmp ebx, esi
jae 0x41ac94
inc ebx
cmp ebx, esi
jae 0x41ac94
mov ecx, dword [edx + 4]
lea edx, [edx + 4]
add eax, eax
cmp eax, ecx
jbe 0x41ac94
inc ebx
sub eax, ecx
cmp ebx, esi
jb 0x41ac81
mov edx, dword [esp + 0x50]
mov ecx, ebx
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 0x38]
test edx, edx
je 0x41acb9
or eax, 0xffffffff
sub eax, esi
add dword [ecx + 0x64], eax
mov eax, dword [ecx + 0x64]
lea eax, [edx + eax*8]
jmp 0x41acda
mov edx, dword [ecx + 0xac]
lea eax, [esi*8 + 8]
add ecx, 0xac
push 1
push eax
call dword [edx + 4]
test eax, eax
je 0x41aebf
mov ecx, dword [esp + 0x3c]
lea edx, [eax + 8]
add eax, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov dword [esp + edi*4 + 0xdc], edx
mov dword [ecx], edx
mov dword [eax], 0
test edi, edi
je 0x41ad3a
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], bl
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov dword [esp + 0x10], edx
sub ecx, eax
mov edx, ebp
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x28]
shr edx, cl
mov ecx, dword [esp + edi*4 + 0xd8]
mov dword [esp + edi*4 + 0x9c], ebp
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x10]
mov dword [ecx + edx*8 + 4], eax
jmp 0x41ad3e
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [ecx + ebx]
cmp edx, eax
jg 0x41ac44
mov edi, dword [esp + 0x30]
mov al, dl
sub al, bl
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x54]
mov ecx, dword [edi]
lea eax, [esp + eax*4 + 0x118]
cmp edi, eax
jb 0x41ad75
mov byte [esp + 0x28], 0xc0
jmp 0x41adcf
mov eax, dword [esp + 0x5a8]
cmp ecx, eax
jae 0x41ad96
cmp ecx, 0x100
mov dword [esp + 0x10], ecx
sbb al, al
and al, 0xa0
add al, 0x60
mov byte [esp + 0x28], al
jmp 0x41adc8
sub ecx, eax
cmp ecx, 0x1f
jae 0x41aec6
mov eax, dword [esp + 0x5b0]
test eax, eax
je 0x41aec6
mov al, byte [eax + ecx*2]
add al, 0x50
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x5ac]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x10], eax
add edi, 4
mov dword [esp + 0x30], edi
mov ecx, edx
mov edi, 1
sub ecx, ebx
mov edx, ebp
shl edi, cl
mov ecx, ebx
shr edx, cl
cmp edx, esi
jae 0x41ae15
mov eax, dword [esp + 0x40]
lea ecx, [edi*8]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
lea eax, [eax + edx*8]
nop word [eax + eax]
mov dword [eax], ebp
add edx, edi
mov dword [eax + 4], ebx
add eax, ecx
cmp edx, esi
jb 0x41ae00
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov eax, 1
lea ecx, [edx - 1]
shl eax, cl
test ebp, eax
je 0x41ae2f
xor ebp, eax
shr eax, 1
test ebp, eax
jne 0x41ae27
mov edi, dword [esp + 0x34]
xor ebp, eax
mov eax, 1
mov dword [esp + 0x44], ebp
mov ecx, ebx
shl eax, cl
dec eax
and eax, ebp
cmp eax, dword [esp + edi*4 + 0x9c]
je 0x41ae76
mov edx, dword [esp + 0x18]
sub ebx, edx
mov eax, 1
mov ecx, ebx
dec edi
shl eax, cl
dec eax
and eax, ebp
cmp eax, dword [esp + edi*4 + 0x9c]
jne 0x41ae52
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x41ac30
mov eax, dword [esp + 0x20]
inc edx
add eax, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
cmp edx, dword [esp + 0x24]
jle 0x41ac20
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x58], 0
je 0x41aae8
cmp eax, 1
je 0x41aae8
mov eax, 0xfffffffb
jmp 0x41aecb
mov eax, 0xfffffffc
jmp 0x41aecb
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x598]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422c85
add esp, 0x58c
ret 0x20