Function at 0x47c0e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f89d6
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x54f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xbc], eax
mov edi, 1
mov dword [ebp - 4], edi
push 0xffffffffffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], al
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00401460
mov eax, 2
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x6c], eax
mov eax, 6
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
mov ebx, 5
mov edx, 1
mov ecx, 3
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xbc], edi
inc eax
mov dword [ebp - 0x8c], edi
mov edi, 4
push eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x74], 9
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x4c], 9
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 9
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 4
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x47c227
mov ecx, dword [esi]
jmp 0x47c229
mov ecx, esi
push ecx
mov ecx, dword [ebp - 0xb0]
push 0x5213e0
inc ecx
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
mov ecx, dword [ebp - 0xb0]
add esp, 0x10
test ecx, ecx
je 0x47c26f
xor eax, eax
test ecx, ecx
jle 0x47c26f
mov ecx, eax
and ecx, 0x1f
mov dl, byte [ebp + ecx*4 - 0x90]
mov ecx, dword [ebp - 0xb8]
xor byte [eax + ecx], dl
inc eax
cmp eax, dword [ebp - 0xb0]
jl 0x47c251
mov ecx, dword [ebp - 0xb8]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0xb4], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47c280
sub eax, dword [ebp - 0xb4]
push eax
push ecx
mov ecx, esi
call fcn.004016d0
mov eax, 3
mov edx, 2
mov ecx, 6
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x18], edi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], eax
lea eax, [edi + 1]
push eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], edx
call dword [sym.imp.mfc100.dll_Ordinal_265]
add esp, 4
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x47c36b
mov ecx, dword [esi]
jmp 0x47c36d
mov ecx, esi
push ecx
push 0x5213e0
lea ecx, [edi + 1]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
test edi, edi
je 0x47c3aa
xor eax, eax
test edi, edi
jle 0x47c3aa
jmp 0x47c390
mov ecx, eax
and ecx, 0x1f
mov dl, byte [ebp + ecx*4 - 0x90]
mov ecx, dword [ebp - 0xb0]
xor byte [eax + ecx], dl
inc eax
cmp eax, edi
jl 0x47c390
mov edx, dword [ebp - 0xb0]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c3b5
sub eax, edi
push eax
push edx
mov ecx, esi
call fcn.004016d0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
call fcn.00401460
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
inc eax
push eax
mov dword [ebp - 0xc0], eax
call dword [sym.imp.mfc100.dll_Ordinal_265]
mov edi, eax
add esp, 4
mov dword [ebp - 0xcc], edi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xac]
mov ebx, 0x10
cmp dword [ebp - 0x98], ebx
jae 0x47c437
lea eax, [ebp - 0xac]
push eax
mov eax, dword [ebp - 0xc0]
push 0x5213e0
push eax
push edi
call dword [sym.imp.MSVCR100.dll_sprintf_s]
xor ecx, ecx
add esp, 0x10
cmp dword [ebp - 0xb4], ecx
jle 0x47c4aa
jmp 0x47c460
cmp dword [ebp - 0x9c], ecx
jbe 0x47c545
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x98], ebx
jae 0x47c480
lea eax, [ebp - 0xac]
movzx eax, byte [eax + ecx]
cdq
mov ebx, 0x24
idiv ebx
lea eax, [edx + 0x30]
lea edx, [eax - 0x3a]
cmp dl, 6
ja 0x47c499
add al, 8
mov byte [ecx + edi], al
inc ecx
mov ebx, 0x10
cmp ecx, dword [ebp - 0xb4]
jl 0x47c460
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c4b0
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.004016d0
push edi
mov edi, dword [sym.imp.mfc100.dll_Ordinal_266]
call edi
add esp, 4
cmp dword [ebp - 0x98], ebx
jb 0x47c4e6
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov ecx, dword [ebp - 0xb0]
push ecx
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
call edi
mov edx, dword [ebp - 0xb8]
push edx
call edi
add esp, 8
cmp dword [ebp + 0x1c], ebx
jb 0x47c528
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_1296]
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e8d32
mov esp, ebp
pop ebp
ret
push str.invalid_string_position
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3