Function at 0x4503e0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x4503c4
mov dword [esp + 0x18], 0x44f730
jmp 0x4506b0
mov dword [esp + 0x18], 0x44f1e0
jmp 0x4503e0
mov eax, 0x38
call fcn.00479690
mov eax, dword [0x4e100c]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
test edi, edi
je 0x45068e
cmp ebx, ebp
je 0x450491
mov eax, esi
cmp edi, 0x10
jb 0x450489
mov eax, edi
shr eax, 4
mov dword [esp + 0x14], eax
nop dword [eax]
push ecx
push ebp
push ebx
call edx
mov eax, dword [esi]
add esp, 0xc
xor dword [ebp], eax
sub edi, 0x10
mov eax, dword [esi + 4]
xor dword [ebp + 4], eax
mov eax, dword [esi + 8]
xor dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
mov esi, ebx
xor dword [ebp + 0xc], eax
add ebx, 0x10
mov ecx, dword [esp + 0x1c]
add ebp, 0x10
sub dword [esp + 0x14], 1
mov edx, dword [esp + 0x20]
jne 0x450440
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], edi
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x450505
cmp edi, 0x10
jb 0x450505
mov eax, edi
shr eax, 4
mov dword [esp + 0x14], eax
nop
push ecx
lea eax, [esp + 0x38]
push eax
push ebx
call edx
mov ecx, dword [ebx]
add esp, 0xc
mov eax, dword [esi]
sub edi, 0x10
xor eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x38]
mov dword [esi], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0xc]
add ebx, 0x10
mov dword [ebp + 0xc], eax
add ebp, 0x10
sub dword [esp + 0x14], 1
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x1c]
jne 0x4504a0
mov dword [esp + 0x54], edi
test edi, edi
je 0x45068e
lea ecx, [esp + 0x34]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, 1
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, 2
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, 3
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
lea eax, [ebp + 2]
mov dword [esp + 0x10], eax
mov eax, ecx
sub ebp, eax
nop dword [eax]
push dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
push ebx
call dword [esp + 0x2c]
add esp, 0xc
xor eax, eax
cmp eax, edi
jae 0x450630
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x34]
mov edi, dword [esp + 0x24]
add esi, eax
mov dl, byte [esi + ecx]
mov cl, byte [esi]
xor cl, byte [esi + edi]
mov byte [esi + ebp], cl
mov ecx, edi
mov edi, dword [esp + 0x54]
mov byte [esi + ecx], dl
mov ecx, dword [esp + 0x28]
add ecx, esi
cmp ecx, edi
jae 0x45062f
mov cl, byte [esi + 1]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 1]
xor cl, byte [esi + eax + 1]
mov esi, dword [esp + 0x10]
mov byte [esi + eax - 1], cl
lea esi, [esp + 0x34]
mov ecx, dword [esp + 0x18]
add esi, eax
mov byte [ecx + eax + 1], dl
mov ecx, dword [esp + 0x2c]
add ecx, esi
cmp ecx, edi
jae 0x45062a
mov cl, byte [esi + 2]
mov esi, dword [esp + 0x18]
mov dl, byte [eax + ebx + 2]
xor cl, byte [esi + eax + 2]
mov esi, dword [esp + 0x10]
mov byte [esi + eax], cl
lea esi, [esp + 0x34]
mov ecx, dword [esp + 0x18]
add esi, eax
mov byte [ecx + eax + 2], dl
mov ecx, dword [esp + 0x30]
add ecx, esi
cmp ecx, edi
jae 0x450625
mov cl, byte [esi + 3]
mov esi, dword [esp + 0x18]
mov dl, byte [ebx + eax + 3]
xor cl, byte [esi + eax + 3]
mov esi, dword [esp + 0x10]
mov byte [esi + eax + 1], cl
mov esi, dword [esp + 0x18]
mov byte [esi + eax + 3], dl
add eax, 4
cmp eax, 0x10
jb 0x450563
jmp 0x450630
add eax, 3
jmp 0x450630
add eax, 2
jmp 0x450630
inc eax
cmp edi, 0x10
jbe 0x450667
add dword [esp + 0x14], 0x10
sub edi, 0x10
add dword [esp + 0x10], 0x10
add ebx, 0x10
add ebp, 0x10
mov dword [esp + 0x54], edi
test edi, edi
jne 0x450550
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0042eb1e
add esp, 0x38
ret
cmp eax, 0x10
jae 0x45068e
mov ecx, dword [esp + 0x18]
sub ebx, ecx
lea edx, [ecx + eax]
mov ecx, 0x10
sub ecx, eax
nop dword [eax]
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ecx, 1
jne 0x450680
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042eb1e
add esp, 0x38
ret
mov eax, 0x14
call fcn.00479690
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
test esi, esi
je 0x450837
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x2c]
cmp esi, 0x10
jb 0x450730
mov eax, esi
shr eax, 4
mov dword [esp + 0x10], eax
mov eax, edi
sub edx, ebp
sub eax, ebp
mov ecx, ebp
mov dword [esp + 0x14], eax
mov ebx, 4
mov esi, eax
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
sub ebx, 1
jne 0x4506f7
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov edx, edi
sub esi, 0x10
add esp, 0xc
add ebp, 0x10
mov dword [esp + 0x30], esi
add edi, 0x10
sub dword [esp + 0x10], 1
jne 0x4506e4
test esi, esi
je 0x45082a
mov ebx, edi
mov ecx, edx
sub ebx, ebp
sub ecx, ebp
mov dword [esp + 0x14], ebx
xor eax, eax
mov ebx, 1
mov dword [esp + 0x20], ecx
sub ebx, ebp
mov dword [esp + 0x10], ebx
mov ebx, 2
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov ebx, 3
sub ebx, ebp
mov dword [esp + 0x1c], ebx
nop dword [eax + eax]
cmp eax, esi
jae 0x4507e2
mov esi, dword [esp + 0x14]
lea ebx, [eax + ebp]
mov cl, byte [ecx + ebx]
xor cl, byte [ebx]
mov byte [esi + ebx], cl
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add ecx, ebx
cmp ecx, esi
jae 0x4507e1
mov cl, byte [eax + ebp + 1]
xor cl, byte [eax + edx + 1]
mov byte [edi + eax + 1], cl
mov ecx, dword [esp + 0x18]
add ecx, ebx
cmp ecx, esi
jae 0x4507dc
mov cl, byte [eax + ebp + 2]
xor cl, byte [eax + edx + 2]
mov byte [edi + eax + 2], cl
mov ecx, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, esi
jae 0x4507d7
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + edx + 3]
mov byte [edi + eax + 3], cl
add eax, 4
mov ecx, dword [esp + 0x20]
cmp eax, 0x10
jb 0x450770
jmp 0x450801
add eax, 3
jmp 0x4507e2
add eax, 2
jmp 0x4507e2
inc eax
cmp eax, 0x10
jae 0x450801
mov ebx, 0x10
lea ecx, [eax + edi]
sub edx, edi
sub ebx, eax
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x4507f3
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
add esp, 0xc
mov edx, edi
cmp esi, 0x10
jbe 0x45082a
sub esi, 0x10
add ebp, 0x10
add edi, 0x10
mov dword [esp + 0x30], esi
test esi, esi
jne 0x450738
mov eax, dword [esp + 0x38]
movups xmm0, xmmword [edx]
pop edi
pop ebp
movups xmmword [eax], xmm0
pop ebx
pop esi
add esp, 0x14
ret