Function at 0x414602
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x4276d0], 0x2549
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x414667
mov dword [0x4276d0], 0x4a54
mov eax, 1
lea ecx, [ebp - 0x12c]
mov dword [0x4276cc], 0xba1
mov byte [ebp - 0x12c], 0x56
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], eax
jmp 0x4146c6
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x4c
mov esi, dword [edi]
imul edi, eax, 0x5c
add edx, edi
add edx, 0x48
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x282
mov ecx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x414633
jmp 0x414667
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x4163f6]
mov dl, byte [eax + 0x4163c7]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x4146c6
mov dword [0x4276d0], 0x293e
mov dword [0x4276cc], 0x1fef
call fcn.00415d7c
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.0041500b
mov dword [0x4276e8], eax
mov dword [0x4276cc], 0xbd5
mov ecx, esp
mov edx, dword [ebp - 0x144]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
mov esi, eax
add esi, 1
imul edi, eax, 0x5c
mov ebx, edx
add ebx, edi
add ebx, 0x4c
imul edi, eax, 0x5c
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, edi
add eax, 0x48
mov edi, dword [ebp - 0x148]
add edi, ecx
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x154]
imul eax, eax, 0x5c
add edx, eax
add edx, 0x40
mov eax, dword [ebx]
mov edx, dword [edx]
mov ebx, dword [ebp - 0x158]
movzx ebx, word [ebx]
xor ebx, eax
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], esi
call fcn.004152d2
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x164]
cmp edx, 0x282
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x414769
lea eax, [0x4163d5]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x4276cc], 0xcf1
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], ecx
call fcn.0041536c
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x144]
mov dword [esp + 0xc], edx
call fcn.00415b6b
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x87e72
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x139a00
mov ecx, dword [ebp - 0x148]
add ecx, 0x43ba5
mov dword [edx + 8], ecx
mov dword [0x4276cc], 0x1a3a
mov dword [edx + 0xc], 0x2020
mov dword [0x4276d0], 0x166f
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret