Function at 0x414990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x445008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x58], edx
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xc4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x70], esi
test ebx, ebx
je 0x414e87
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x98], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0xa4], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0xb0], eax
mov eax, dword [ecx + 0x38]
push edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xb8], eax
cmp ebx, 0x40
jae 0x414a99
xor eax, eax
test ebx, ebx
je 0x414a88
lea edx, [ebp - 0x44]
sub ecx, edx
mov dword [ebp - 0x58], ecx
nop word [eax + eax]
lea edx, [ebp - 0x44]
add edx, eax
inc eax
mov cl, byte [ecx + edx]
mov byte [edx], cl
mov ecx, dword [ebp - 0x58]
cmp eax, ebx
jb 0x414a70
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xc4], esi
mov esi, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp - 0x94]
mov esi, edi
mov ecx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], 0x14
nop dword [eax]
add eax, edx
rol eax, 7
xor ecx, eax
mov dword [ebp - 0x74], ecx
lea eax, [ecx + edx]
rol eax, 9
xor dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
mov ecx, dword [ebp - 0x7c]
rol eax, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
mov dword [ebp - 0x7c], ecx
rol eax, 0x12
xor edx, eax
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
add eax, esi
rol eax, 7
xor ecx, eax
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov dword [ebp - 0x60], ecx
rol eax, 9
xor dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
add eax, ecx
mov ecx, dword [ebp - 0x6c]
rol eax, 0xd
xor esi, eax
mov eax, dword [ebp - 0x54]
add eax, esi
rol eax, 0x12
xor dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
add eax, ecx
rol eax, 7
xor dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
add eax, ecx
rol eax, 9
xor edi, eax
mov eax, dword [ebp - 0x64]
add eax, edi
rol eax, 0xd
xor dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
add eax, edi
rol eax, 0x12
xor ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x68]
add eax, ecx
rol eax, 7
xor ebx, eax
lea eax, [ecx + ebx]
mov ecx, dword [ebp - 0x78]
rol eax, 9
xor ecx, eax
mov dword [ebp - 0x78], ecx
lea eax, [ecx + ebx]
rol eax, 0xd
xor dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, ecx
rol eax, 0x12
xor dword [ebp - 0x68], eax
lea eax, [ebx + edx]
rol eax, 7
xor esi, eax
lea eax, [esi + edx]
rol eax, 9
xor edi, eax
lea eax, [edi + esi]
rol eax, 0xd
xor ebx, eax
lea eax, [ebx + edi]
rol eax, 0x12
xor edx, eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x4c]
add eax, ecx
mov dword [ebp - 0xbc], edx
rol eax, 7
mov edx, dword [ebp - 0x50]
xor edx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x78]
rol eax, 9
xor edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x78], edx
rol eax, 0xd
xor ecx, eax
mov dword [ebp - 0x74], ecx
lea eax, [edx + ecx]
mov edx, dword [ebp - 0x5c]
rol eax, 0x12
xor dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x6c]
rol eax, 7
xor dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x6c]
rol eax, 9
xor edx, eax
mov eax, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x5c], edx
rol eax, 0xd
xor dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
add eax, edx
mov edx, dword [ebp - 0x7c]
rol eax, 0x12
xor dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x68]
rol eax, 7
xor edx, eax
mov eax, dword [ebp - 0x68]
add eax, edx
mov dword [ebp - 0x7c], edx
rol eax, 9
xor dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
add eax, edx
mov edx, dword [ebp - 0x64]
rol eax, 0xd
xor edx, eax
mov eax, dword [ebp - 0x54]
add eax, edx
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0xbc]
rol eax, 0x12
xor dword [ebp - 0x68], eax
sub dword [ebp - 0x88], 2
mov eax, dword [ebp - 0x7c]
jne 0x414b20
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc0]
add eax, esi
mov edx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0x54]
xor eax, dword [ecx + 4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc8]
add eax, edi
add esi, dword [ebp - 0xb0]
xor eax, dword [ecx + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x90]
add eax, ebx
xor esi, dword [ecx + 0x34]
xor eax, dword [ecx + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x94]
xor eax, dword [ecx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x98]
xor eax, dword [ecx + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x9c]
xor eax, dword [ecx + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0xa0]
xor eax, dword [ecx + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x80]
xor eax, dword [ecx + 0x20]
mov ebx, dword [ebp - 0x48]
add ebx, dword [ebp - 0xa8]
xor ebx, dword [ecx + 0x2c]
mov edi, dword [ebp - 0x7c]
add edi, dword [ebp - 0xac]
xor edi, dword [ecx + 0x30]
add edx, dword [ebp - 0x64]
xor edx, dword [ecx + 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x84]
xor eax, dword [ecx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0xa4]
xor eax, dword [ecx + 0x28]
mov ecx, dword [ebp - 0xb8]
add ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x84]
xor ecx, dword [eax + 0x3c]
add dword [ebp - 0x80], 1
lea eax, [ebx + 1]
cmovne eax, ebx
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x8c]
xor eax, dword [ebx]
mov ebx, dword [ebp - 0x70]
mov dword [ebx], eax
mov eax, dword [ebp - 0x88]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x48]
mov dword [eax + 0x2c], ebx
mov ebx, dword [ebp + 0xc]
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
cmp ebx, 0x40
jbe 0x414e4f
mov ecx, dword [ebp - 0x58]
add eax, 0x40
mov edx, dword [ebp - 0x8c]
sub ebx, 0x40
mov edi, dword [ebp - 0xc0]
add ecx, 0x40
mov dword [ebp + 0xc], ebx
mov esi, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], ecx
jmp 0x414a57
pop edi
jae 0x414e72
test ebx, ebx
je 0x414e72
mov ecx, dword [ebp - 0xc4]
sub eax, ecx
mov dword [ebp - 0x70], eax
mov al, byte [eax + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
mov eax, dword [ebp - 0x70]
sub ebx, 1
jne 0x414e61
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x84]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00420573
mov esp, ebp
pop ebp
ret