Function at 0x4145b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
lea ecx, [esi + eax]
mov dword [esp + 0x2c], ecx
cmp eax, 0x20
jb 0x414915
mov ebp, dword [esp + 0x50]
lea eax, [ecx - 0x20]
mov dword [esp + 0x30], eax
mov edi, ebx
add edi, 0xadc0b5d6
mov eax, ebp
adc eax, 0x60ea27ee
mov dword [esp + 0x18], eax
mov eax, ebx
add eax, 0x27d4eb4f
mov dword [esp + 0x20], eax
mov eax, ebp
adc eax, 0xc2b2ae3d
mov dword [esp + 0x1c], eax
mov eax, ebx
add eax, 0x7a143579
mov dword [esp + 0x14], eax
mov eax, ebp
adc eax, 0x61c8864e
mov dword [esp + 0x24], eax
jmp 0x414624
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0xc2b2ae3d
push 0x27d4eb4f
push eax
push ecx
call fcn.0041c780
mov ecx, eax
add ecx, edi
mov eax, ecx
adc edx, dword [esp + 0x18]
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.0041c780
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
push 0xc2b2ae3d
push 0x27d4eb4f
push ecx
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
call fcn.0041c780
mov ecx, eax
add ecx, dword [esp + 0x20]
mov eax, ecx
adc edx, dword [esp + 0x1c]
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.0041c780
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
push 0xc2b2ae3d
push 0x27d4eb4f
push ecx
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
call fcn.0041c780
mov ecx, eax
add ecx, ebx
mov eax, ecx
adc edx, ebp
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.0041c780
mov ecx, dword [esi + 0x1c]
mov ebx, eax
mov edi, dword [esi + 0x18]
mov ebp, edx
push 0xc2b2ae3d
push 0x27d4eb4f
push ecx
push edi
add esi, 0x20
call fcn.0041c780
mov ecx, eax
add ecx, dword [esp + 0x14]
mov eax, ecx
adc edx, dword [esp + 0x24]
push 0x9e3779b1
shld eax, edx, 0x1f
shld edx, ecx, 0x1f
push 0x85ebca87
push edx
push eax
call fcn.0041c780
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
cmp esi, dword [esp + 0x30]
jbe 0x414620
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov edx, dword [esp + 0x18]
shld eax, edx, 1
mov dword [esp + 0x30], ebp
mov ebp, edx
shld ebp, ecx, 1
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov edi, eax
shld edx, eax, 7
mov eax, dword [esp + 0x30]
shld edi, ecx, 7
mov ecx, ebx
mov dword [esp + 0x3c], ebx
shld ecx, eax, 0xc
shld eax, ebx, 0xc
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x24]
shld ebx, ebp, 0x12
push 0xc2b2ae3d
mov dword [esp + 0x14], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x18]
shld ebx, ebp, 0x12
add dword [esp + 0x14], ecx
push 0x27d4eb4f
push dword [esp + 0x20]
adc ebx, eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x34]
add eax, edi
adc ebx, edx
add eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
adc ebx, dword [esp + 0x48]
call fcn.0041c780
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0041c780
xor eax, dword [esp + 0x10]
xor edx, ebx
push 0x9e3779b1
push 0x85ebca87
push edx
push eax
call fcn.0041c780
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esp + 0x24]
mov edi, eax
mov ebx, edx
push dword [esp + 0x2c]
add edi, 0xc2b2ae63
adc ebx, 0x85ebca77
call fcn.0041c780
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0041c780
push 0x9e3779b1
push 0x85ebca87
xor edx, ebx
xor eax, edi
push edx
push eax
call fcn.0041c780
mov edi, eax
mov ebx, edx
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esp + 0x38]
add edi, 0xc2b2ae63
push dword [esp + 0x48]
adc ebx, 0x85ebca77
call fcn.0041c780
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0041c780
push 0x9e3779b1
push 0x85ebca87
xor edx, ebx
xor eax, edi
push edx
push eax
call fcn.0041c780
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esp + 0x2c]
mov edi, eax
mov ebx, edx
add edi, 0xc2b2ae63
push ebp
adc ebx, 0x85ebca77
call fcn.0041c780
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0041c780
push 0x9e3779b1
push 0x85ebca87
xor edx, ebx
xor eax, edi
push edx
push eax
call fcn.0041c780
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x48]
add ebx, 0xc2b2ae63
mov edi, edx
adc edi, 0x85ebca77
jmp 0x414925
mov edi, dword [esp + 0x50]
add ebx, 0x165667c5
adc edi, 0x27d4eb2f
add ebx, eax
lea ebp, [esi + 8]
adc edi, 0
cmp ebp, ecx
ja 0x41499e
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [esi + 4]
push dword [esi]
call fcn.0041c780
mov ecx, eax
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0041c780
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0041c780
mov ecx, dword [esp + 0x2c]
mov esi, ebp
mov ebx, eax
mov edi, edx
add ebx, 0xc2b2ae63
lea ebp, [esi + 8]
adc edi, 0x85ebca77
cmp ebp, ecx
jbe 0x414931
lea ebp, [esi + 4]
cmp ebp, ecx
ja 0x4149ee
mov ecx, dword [esi]
mov eax, 0x9e3779b1
mul ecx
push 0xc2b2ae3d
mov esi, eax
mov eax, 0x85ebca87
mul ecx
push 0x27d4eb4f
add esi, edx
xor eax, ebx
xor esi, edi
mov ecx, eax
shld ecx, esi, 0x17
shld esi, eax, 0x17
push esi
push ecx
call fcn.0041c780
mov ecx, dword [esp + 0x2c]
mov ebx, eax
add ebx, 0x9e3779f9
mov edi, edx
mov esi, ebp
adc edi, 0x165667b1
mov eax, ecx
xor edx, edx
sub eax, esi
xor ebp, ebp
cmp esi, ecx
cmova eax, edx
mov dword [esp + 0x3c], eax
test eax, eax
je 0x414a47
movzx eax, byte [esi]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0041c780
mov ecx, eax
xor edx, edi
xor ecx, ebx
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0xb
shld edx, ecx, 0xb
push 0x85ebca87
push edx
push eax
call fcn.0041c780
inc ebp
lea esi, [esi + 1]
mov ebx, eax
mov edi, edx
cmp ebp, dword [esp + 0x3c]
jb 0x414a03
push 0xc2b2ae3d
xor eax, eax
mov ecx, edi
push 0x27d4eb4f
shr ecx, 1
xor eax, edi
xor ecx, ebx
push eax
push ecx
call fcn.0041c780
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.0041c780
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret