Function at 0x414530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x44e054]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x320], ebx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0x180
jbe 0x414573
pop edi
pop esi
mov eax, 0xffffffc8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427b91
mov esp, ebp
pop ebp
ret
push 0x1a0
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00429000
lea eax, [ebp - 0x31c]
push eax
call fcn.00417420
mov eax, esi
mov byte [ebp - 0x1ed], 0x30
bswap eax
push esi
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0x1ec]
push edi
push eax
call fcn.00428a80
mov byte [ebp + esi - 0x1ec], pe_nt_image_headers32
add esp, 0x1c
add esi, 0x19
xor eax, eax
mov dword [ebp - 0x330], esi
mov byte [ebp + eax - 0x64], al
inc eax
cmp eax, 0x20
jl 0x4145c7
push 0x100
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00417660
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x414746
mov dword [ebp - 0x328], eax
nop dword [eax]
lea edi, [ebp - 0x204]
xorps xmm0, xmm0
mov ebx, esi
movups xmmword [ebp - 0x14], xmm0
test esi, esi
je 0x4146cf
mov esi, edi
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1f5]
sub esi, eax
mov dword [ebp - 0x324], ecx
nop word [eax + eax]
lea edx, [ebp - 0x14]
xor eax, eax
cmp edx, ecx
ja 0x414658
lea edx, [ebp - 5]
cmp edx, edi
jb 0x414658
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jb 0x414640
mov ecx, dword [ebp - 0x324]
jmp 0x414667
movups xmm1, xmmword [ebp - 0x14]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [ebp - 0x14], xmm1
add ecx, 0x10
add edi, 0x10
mov dword [ebp - 0x324], ecx
add esi, 0x10
cmp ebx, 0x10
mov dword [ebp - 0x32c], edi
mov eax, ebx
mov ecx, 0x10
cmovae eax, ecx
sub ebx, eax
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.004173c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x414740
mov edi, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0x324]
test ebx, ebx
jne 0x414630
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp - 0x328]
mov esi, dword [ebp - 0x330]
inc byte [ebp - 0x201]
movups xmmword [ebp + eax - 0x44], xmm0
add eax, 0x10
mov dword [ebp - 0x328], eax
cmp eax, 0x30
jl 0x414600
push 0x100
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00417660
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x414740
mov esi, dword [ebp - 0x320]
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.004173c0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x414740
movups xmm0, xmmword [ebp - 0x24]
add ebx, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp ebx, 0x30
jl 0x414712
mov ebx, dword [ebp - 0x320]
lea eax, [ebp - 0x31c]
push eax
call fcn.00417400
lea eax, [ebp - 0x204]
push 0x1a0
push eax
call fcn.004153e0
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.004153e0
lea eax, [ebp - 0x64]
push 0x20
push eax
call fcn.004153e0
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004153e0
add esp, 0x24
test edi, edi
je 0x414796
push 0x30
push ebx
call fcn.004153e0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427b91
mov esp, ebp
pop ebp
ret