Function at 0x471150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 0x230]
xor eax, eax
push edi
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], esi
cmp ebx, eax
je 0x471395
mov esi, dword [ebp + 0xc]
cmp esi, eax
je 0x471395
mov dword [ebp - 0x134], eax
jbe 0x4713be
add ebx, 0x100
mov dword [ebp - 0x130], ebx
jmp 0x4711c0
mov esi, dword [ebx]
lea eax, [ebx - 0x100]
test eax, eax
je 0x471204
test esi, esi
je 0x471204
xor edi, edi
test esi, esi
je 0x471204
jmp 0x4711e0
mov al, byte [ebx + edi - 0x100]
test al, al
je 0x471204
movsx eax, al
push eax
call dword [sym.imp.MSVCR100.dll_toupper]
mov byte [ebx + edi - 0x100], al
inc edi
add esp, 4
cmp edi, esi
jb 0x4711e0
mov eax, dword [ebx]
lea ecx, [ebx - 0x100]
test ecx, ecx
jne 0x471214
xor edi, edi
jmp 0x471238
mov ecx, 0xdc379acf
lea edx, [ebx - 0x100]
test eax, eax
je 0x471236
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4b9ae8]
xor ecx, esi
rol ecx, 5
inc edx
dec eax
jne 0x471223
mov edi, ecx
mov edx, dword [ebp - 0x12c]
call fcn.00470c50
test eax, eax
mov eax, dword [ebp - 0x138]
je 0x471261
mov dword [eax], 2
mov dword [eax + 4], 0
mov dword [eax + 8], 0x620e
cmp dword [ebx + 0xc], 0
je 0x471378
mov esi, dword [sym.imp.MSVCR100.dll_strncpy_s]
push 3
push 0x4b99a8
lea ecx, [ebp - 0x124]
push 0x100
push ecx
mov dword [ebp - 0x128], 0x148
call esi
mov edx, dword [ebx]
push edx
lea eax, [ebx - 0x100]
push eax
lea ecx, [ebp - 0x121]
push 0x100
push ecx
call esi
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], edx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], eax
mov ecx, 0x49
lea esi, [ebp - 0x128]
lea edi, [ebp - 0x264]
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0xc], edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x12c]
mov eax, dword [esi + 0x230]
mov ecx, dword [esi + 0x22c]
add esp, 0x20
cmp eax, ecx
jb 0x471310
inc ecx
push ecx
lea ebx, [esi + 0x228]
call fcn.00402de0
mov ebx, dword [ebp - 0x130]
jmp 0x471317
inc eax
mov dword [esi + 0x230], eax
mov ecx, dword [esi + 0x230]
mov edx, dword [esi + 0x228]
imul ecx, ecx, 0x124
mov eax, dword [ebp - 0x134]
lea edi, [ecx + edx - 0x124]
inc eax
add ebx, 0x114
mov ecx, 0x49
lea esi, [ebp - 0x264]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], ebx
cmp eax, dword [ebp + 0xc]
jb 0x4711c0
mov eax, dword [ebp - 0x140]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x12c]
mov esi, 0x80004005
mov dword [eax], 3
mov dword [eax + 4], esi
mov dword [eax + 8], 0x61bf
jmp 0x4713aa
mov esi, 0x80004005
mov dword [edx], 3
mov dword [edx + 4], esi
mov dword [edx + 8], 0x61bb
mov eax, dword [ebp - 0x13c]
lea ebx, [ecx + 0x228]
push eax
call fcn.00402de0
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 0xc