Function at 0x414610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x44e024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x330], eax
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0x180
jbe 0x414651
pop edi
mov eax, 0xffffffc8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427ca1
mov esp, ebp
pop ebp
ret
push ebx
push 0x1a0
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00429110
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.00428b90
lea ebx, [esi + 0x19]
mov byte [ebp + esi - 0x1ec], pe_nt_image_headers32
add esp, 0x18
mov dword [ebp - 0x334], ebx
xor eax, eax
nop word [eax + eax]
mov byte [ebp + eax - 0x64], al
inc eax
cmp eax, 0x20
jl 0x4146a0
lea eax, [ebp - 0x31c]
push eax
call fcn.00417490
push 0x100
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004176d0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4148ce
xor ecx, ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x32c], ecx
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x324], ebx
xorps xmm0, xmm0
lea edi, [ebp - 0x204]
movups xmmword [ebp - 0x14], xmm0
test ebx, ebx
je 0x41485d
lea eax, [ebp - 0x14]
mov ebx, edi
sub ebx, eax
mov ecx, edi
lea eax, [ebp - 4]
mov dword [ebp - 0x328], ebx
sub eax, ecx
mov dword [ebp - 0x320], eax
xor eax, eax
nop word [eax + eax]
mov ecx, dword [edi + eax]
xor dword [ebp + eax - 0x14], ecx
add eax, 4
lea ecx, [eax + 4]
cmp ecx, 0x10
jbe 0x414730
sub esi, eax
cmp eax, 0x10
jae 0x4147f0
cmp esi, 0x40
jb 0x4147e0
lea edx, [ebp - 0x14]
lea ecx, [edi + 0xf]
add edx, eax
cmp edx, ecx
lea ecx, [eax + edi]
ja 0x41476c
lea edx, [ebp - 5]
cmp edx, ecx
jae 0x4147e0
mov ebx, dword [ebp - 0x320]
and esi, 0x3f
mov edx, 0x10
sub edx, esi
add ecx, 0x20
nop
movups xmm0, xmmword [ebp + eax - 0x14]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x60]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x14], xmm1
movups xmm0, xmmword [ebp + eax - 4]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [ebp + eax - 4], xmm1
add eax, 0x40
mov esi, eax
movups xmm1, xmmword [ecx + ebx - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx + ebx - 0x50], xmm1
movups xmm0, xmmword [ecx + ebx - 0x40]
movups xmm1, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx + ebx - 0x40], xmm1
cmp eax, edx
jb 0x414780
mov ebx, dword [ebp - 0x328]
cmp esi, 0x10
jae 0x4147f0
nop
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [edx + ebx]
xor byte [edx], cl
cmp eax, 0x10
jb 0x4147e0
mov ecx, dword [ebp - 0x324]
add ebx, 0x10
sub dword [ebp - 0x320], 0x10
add edi, 0x10
cmp ecx, 0x10
mov dword [ebp - 0x328], ebx
mov eax, ecx
mov edx, 0x10
cmovae eax, edx
sub ecx, eax
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x324], ecx
push 1
push eax
call fcn.00417430
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4148ce
lea esi, [eax + 0x10]
cmp dword [ebp - 0x324], eax
jne 0x414725
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 0x32c]
mov ebx, dword [ebp - 0x334]
inc byte [ebp - 0x201]
movups xmmword [ebp + ecx - 0x44], xmm0
add ecx, 0x10
mov dword [ebp - 0x32c], ecx
cmp ecx, 0x30
jl 0x4146f0
push 0x100
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.004176d0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4148ce
mov edi, dword [ebp - 0x330]
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00417430
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4148ce
movups xmm0, xmmword [ebp - 0x24]
add ebx, 0x10
movups xmmword [edi], xmm0
add edi, 0x10
cmp ebx, 0x30
jl 0x4148a0
lea eax, [ebp - 0x31c]
push eax
call fcn.00417470
lea eax, [ebp - 0x204]
push 0x1a0
push eax
call fcn.004154c0
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.004154c0
lea eax, [ebp - 0x64]
push 0x20
push eax
call fcn.004154c0
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004154c0
add esp, 0x24
pop ebx
test esi, esi
je 0x414924
push 0x30
push dword [ebp - 0x330]
call fcn.004154c0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00427ca1
mov esp, ebp
pop ebp
ret