Function at 0x1000daf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
lea ecx, [eax - 0x554]
mov dword [esp + 0xc], ecx
lea esi, [eax - 0x271]
mov ecx, eax
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x4c]
xor ecx, 0x384e
mov dword [esp + 0x30], ecx
mov edx, eax
mov ecx, dword [esp + 0x44]
xor edx, 0x33c5
push edi
lea edi, [eax - 0x1906]
lea eax, [esi + 0xa8f]
lea ebx, [ecx + 0x654]
lea ebp, [ecx + 0x868]
cmp dword [esp + 0x10], eax
jg 0x1000ddba
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
add eax, 0xfffff14e
cmp edi, eax
je 0x1000dd32
mov eax, dword [esi + 0xf0]
add ebp, 0xcf
add edi, 0x2a46
mov dword [esp + 0x30], ebp
cmp dword [esi + 0xe8], eax
je 0x1000db88
mov eax, dword [esi + 0x20]
mov dword [esi + 4], eax
jmp 0x1000db9f
mov eax, dword [esi + 0x118]
add eax, dword [esi + 0xac]
xor eax, 0x6a35f
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0x80]
xor edx, 0x3c3e
mov ecx, dword [esi + 0x28]
sub eax, 0x5a1da
xor dword [esi + 0xc8], eax
xor edi, 0xa72
mov eax, dword [esi + 0xc8]
xor ebx, 0x7ba
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], eax
cmp ecx, eax
ja 0x1000dca3
mov eax, dword [esi + 0xd4]
mov ebp, dword [esi + 0x7c]
mov ebx, dword [esi + 0x40]
mov edx, dword [esi + 0x74]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xac]
mov esi, dword [esi + 0xf0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
dec ebp
xor eax, dword [esp + 0x48]
add ebp, ebx
xor eax, 0x11
mov dword [esp + 0x48], eax
mov eax, ecx
imul eax, ecx
inc ecx
add dword [esp + 0x50], eax
mov eax, 0x344a2
sub eax, dword [esp + 0x20]
sub eax, edx
xor edx, ebp
add ebx, eax
xor edx, 0x101d6a
mov eax, dword [esp + 0x24]
add eax, 0xffe825b7
add eax, esi
xor esi, eax
cmp ecx, edi
jbe 0x1000dc22
mov edi, dword [esp + 0x28]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esi + 0xf0], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x7c], ebp
mov ebp, dword [esp + 0x30]
mov dword [esi + 0x40], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0xc8], eax
push esi
lea eax, [edx + 0x1349]
push eax
push dword [esp + 0x54]
mov eax, edi
xor eax, 0x3adf
push eax
lea eax, [ebp - 0x8ca]
push eax
call fcn.1000d400
mov ecx, eax
mov eax, 0xffffd3ae
sub eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x34]
add dword [esi + 0x14], eax
mov eax, dword [esp + 0x24]
add eax, 0xaa2
push eax
lea eax, [ecx - 0xf49]
push eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffd30
push eax
lea eax, [edi - 0x25a]
push eax
lea eax, [ebx + 0xe33]
xor eax, 0x33f5
push esi
push eax
mov eax, dword [esp + 0x60]
add eax, 0xf5b
push eax
call fcn.1000ddd0
mov eax, dword [esi + 0x40]
add esp, 0x30
add eax, dword [esi + 0x20]
xor eax, 0xfff6363d
sub dword [esi + 0x50], eax
xor ebp, 0x3b4e
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, edi
sub eax, dword [esi + 0x3c]
or eax, dword [esi + 0xcc]
xor edx, eax
mov eax, dword [esi + 0x74]
sub eax, 0x176a
mov dword [esp + 0x14], edx
or eax, ebp
push eax
mov eax, dword [esi + 0x104]
imul eax, dword [esi + 4]
xor eax, dword [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [esi]
imul eax, edi
sub eax, 0x1f65
mov dword [esi + 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, dword [esi + 0x30]
sub eax, dword [esi + 0x118]
add eax, dword [esp + 0x44]
sub edi, dword [esi + 0x120]
push eax
mov eax, dword [esi + 0x60]
xor eax, dword [esp + 0x14]
push esi
push eax
mov eax, dword [esi + 0xa8]
imul eax, dword [esi + 0x44]
push eax
push edi
call sym.bsga671te18.dll_LSr991
sub ebx, dword [esp + 0x28]
add esp, 0x14
and ebx, 0x1b7a
imul ebx, dword [esi + 0x60]
mov dword [esi + 0x60], ebx
pop edi
xor ebp, 0x3b4e
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x28
ret