Function at 0x417fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49287d
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x4b9068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 1
call fcn.00417b60
mov dword [ebp - 4], 1
xor ebx, ebx
mov eax, dword [0x4fb178]
mov ecx, dword [0x4fb174]
sub eax, ecx
mov edx, dword [ebp - 0x24]
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
je 0x41836e
xor esi, esi
nop dword [eax]
mov ecx, dword [ecx + esi]
mov eax, edx
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x418085
test dl, dl
je 0x418081
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x418085
add ecx, 2
add eax, 2
test dl, dl
jne 0x418065
xor eax, eax
jmp 0x41808a
sbb eax, eax
or eax, 1
test eax, eax
je 0x4180b4
mov eax, dword [0x4fb178]
inc ebx
mov ecx, dword [0x4fb174]
add esi, 0x18
mov edx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp ebx, eax
jb 0x418060
jmp 0x41836b
mov dword [ebp - 0xe0], 0x4af1c4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd0]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x10], 3
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x74], 0x58
movlpd qword [ebp - 0xd8], xmm0
call fcn.00456dc0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xd0]
call fcn.00455230
mov byte [ebp - 4], 5
cmp dword [ebp - 0x84], 0
jne 0x4181e5
push 0x40
push 0x25
push str.Assets.dip
call fcn.0046aadc
add esp, 0xc
test eax, eax
je 0x4181e5
push 1
push eax
lea ecx, [ebp - 0xd0]
call fcn.00455060
mov eax, dword [ebp - 0x9c]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x14], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
call fcn.0045b480
add esp, 4
lea ecx, [ebp - 0xd0]
push eax
call fcn.00454f00
mov byte [ebp - 4], 5
test esi, esi
je 0x4181c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x4181c7
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
xor edx, edx
add ecx, dword [eax + 4]
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x418206
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00402170
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00452d20
mov eax, dword [0x4fb174]
lea ebx, [ebx + ebx*2]
sub esp, 0x18
shl ebx, 3
mov ecx, esp
xorps xmm0, xmm0
mov eax, dword [ebx + eax + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
movq qword [ecx + 0x10], xmm0
lea ecx, [ebp - 0xe0]
call fcn.00452f60
mov eax, dword [0x4fb174]
mov edx, dword [edi]
mov esi, dword [ebx + eax + 0xc]
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x14], eax
cmp esi, ecx
jae 0x41827c
lea eax, [edx + esi]
jmp 0x4182a7
jbe 0x4182aa
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x418292
push ecx
push esi
mov ecx, edi
call fcn.00463450
jmp 0x4182aa
sub esi, ecx
push esi
push 0
push dword [ebp - 0x14]
call fcn.0046cf00
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
mov eax, dword [0x4fb174]
lea ecx, [ebp - 0xe0]
push 0
push dword [ebx + eax + 0xc]
push dword [edi]
call fcn.004530f0
mov esi, dword [0x4fb174]
xor edx, edx
add esi, ebx
cmp dword [esi + 0xc], edx
jbe 0x4182f4
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
add eax, edx
and eax, 0x3ffff
mov al, byte [eax + 0x4b9ae0]
xor byte [ecx + edx], al
inc edx
mov esi, dword [0x4fb174]
add esi, ebx
cmp edx, dword [esi + 0xc]
jb 0x4182d1
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x10], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xd0]
call fcn.004527f0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xe4], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x70], vtable.std::ios_base.0
call fcn.0046a960
add esp, 4
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x41839b
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x418391
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183af
push ecx
push edx
call fcn.0046b5ea
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047bdf3
int3