Function at 0x10002b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ebc3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0xe8], edi
push 0xb8
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xe8], edi
push 0
push eax
call fcn.100091d0
push esi
lea ecx, [ebp - 0xd4]
call fcn.10004880
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0xd4]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov word [ebp - 0xe0], 1
mov eax, dword [eax + 4]
mov byte [ebp - 0xd7], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + eax - 0x9c]
test edx, edx
movzx eax, word [ebp - 0xe6]
mov word [ebp - 0xde], ax
sete cl
movzx eax, word [ebp - 0xe6]
mov word [ebp - 0xd6], ax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0xd8], cl
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xe0]
mov ecx, eax
mov byte [ebp - 4], 1
push 0
push dword [ebp - 0xd8]
push edx
call fcn.10006ad0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x10002d31
mov edx, str.Erro_ao_carregar_a_DLL_para_mem
mov ecx, 0x1002b490
call fcn.10005dc0
push eax
call fcn.10006060
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ecx, ecx
je 0x10002ccc
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10002cad
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002e5e
push edx
push ecx
call fcn.10006dbc
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.10004510
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0xd8], ecx
mov dword [ebp - 4], 3
jmp 0x10002e2e
mov esi, ecx
xor edx, edx
sub ecx, eax
cmp eax, esi
cmova ecx, edx
test ecx, ecx
je 0x10002d98
cmp ecx, 0x40
jb 0x10002d98
movaps xmm2, xmmword [str.PPPPPPPPPPPPPPPP]
and ecx, 0xffffffc0
nop
movups xmm0, xmmword [eax]
add edx, 0x40
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp edx, ecx
jne 0x10002d50
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
jmp 0x10002d9c
mov edx, esi
mov ecx, eax
cmp eax, esi
je 0x10002dae
xor byte [eax], 0x50
inc eax
cmp eax, esi
jne 0x10002da0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [edi], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [edi + 4], edx
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xc4]
call fcn.10004510
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0xd8], eax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], vtable.std::ios_base.0
push eax
call fcn.10008278
mov eax, edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006d79
mov esp, ebp
pop ebp
ret
call fcn.1000e98a
int3