Function at 0x1000fb70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
lea edi, [eax + 0x1e4]
mov esi, edx
mov edx, dword [esp + 0x34]
lea ebp, [ecx - 0x16cb]
add eax, 0xffffe797
add ebx, 0xfffffbc2
mov dword [esp + 0x30], eax
add edx, 0xffffea70
lea eax, [ecx - 0x4f4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffd9b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add eax, 0xffffffdf
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x17b]
mov dword [esp + 0x14], eax
lea eax, [ebp + 0x14fb]
cmp ebx, eax
jg 0x1000fc2c
push ecx
lea eax, [ebx + 0x180]
push eax
push ecx
lea eax, [ebp + 0x132f]
push eax
lea eax, [ebx + 0x3e9]
push eax
mov eax, dword [esp + 0x44]
add eax, 0x1292
push eax
push ecx
push esi
push ecx
lea eax, [ebx + 0x89b]
push eax
sub esp, 8
lea ecx, [ecx + 0x2e2]
call fcn.1000c610
mov edx, dword [esp + 0x64]
add esp, 0x30
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + 0xbb]
cmp dword [esp + 0x10], eax
jge 0x1000fe63
lea eax, [ebp + 0x1112]
cmp dword [esp + 0x30], eax
jg 0x1000fce5
mov eax, dword [esp + 0x10]
lea edx, [ecx + 0xbb]
push ecx
push esi
add eax, 0x20d
push eax
push ecx
lea eax, [ecx + 0x30d]
push eax
push ecx
lea eax, [ebx + 0x7fd]
push eax
lea eax, [ebp + 0x13fc]
push eax
lea eax, [edi - 0x13e]
push eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffeac
push eax
push ecx
call fcn.1000b090
add esp, 0x2c
lea edx, [ebx + 0x5b9]
lea ecx, [eax + 0x6a2]
mov eax, dword [esp + 0x3c]
add eax, 0x738
push eax
sub esp, 8
push esi
push ecx
push ecx
push ecx
mov ecx, dword [esp + 0x48]
add ecx, 0x55
call fcn.100045e0
add esp, 0x1c
mov dword [esi + 0x124], 1
mov eax, dword [esi + 0x12c]
xor eax, 0x1550
mov dword [esi + 0x10], eax
lea eax, [ebp + 0x190f]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esi + 0xc8]
and eax, dword [esp + 0x2c]
cmp dword [esi + 0x13c], eax
ja 0x1000fe63
mov eax, edi
mov dword [esp + 0x18], ebp
sub eax, edx
cmp ebp, eax
jg 0x1000fe63
nop dword [eax + eax]
mov ecx, dword [esi + 0xd8]
mov eax, edi
imul eax, ebp
mov dword [esp + 0x2c], ecx
imul eax, dword [esi + 0x98]
cmp ecx, eax
je 0x1000fe4e
mov eax, dword [esp + 0x14]
add eax, edx
or eax, 0x1550
mov dword [esp + 0x1c], eax
mov eax, edx
sub eax, ebx
add eax, 0xffffe9b8
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov ebx, dword [esi + 0xfc]
mov eax, dword [esi + 0x19c]
and ebx, dword [esi + 0x12c]
add eax, 0x19ad
mov ecx, dword [esi + 0xd8]
and ebx, edi
imul edi, eax, 0x11d7
mov edx, ecx
mov eax, dword [esp + 0x34]
and ecx, 0x119a
xor edx, dword [esp + 0x38]
xor eax, ebp
imul edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
or eax, dword [esp + 0x34]
push ecx
push esi
sub esp, 0x14
push dword [esp + 0x3c]
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10001000
mov ebx, dword [esi + 0x94]
add esp, 0x30
mov edi, dword [esi + 0x198]
imul edi, dword [esi + 0x50]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x30], eax
sub ecx, 0x1648
mov eax, dword [esp + 0x34]
add eax, ebx
xor ebx, 0x14e4
imul edi, dword [esp + 0x30]
sub ebp, eax
mov eax, dword [esi + 0xc8]
add eax, dword [esp + 0x10]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x30], ebp
mov ebp, dword [esi + 0x24]
sub esp, 8
and ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
xor ebp, edx
sub edx, dword [esi + 0x50]
push esi
push ecx
xor edx, 0x1112
push edx
push edi
push ebx
push ecx
sub esp, 8
mov ecx, ebp
call fcn.1000e010
mov ebp, dword [esp + 0x58]
mov edi, eax
mov eax, dword [esp + 0x5c]
mov ecx, edi
imul ecx, ebp
add eax, 2
add esp, 0x30
mov dword [esp + 0x2c], eax
imul ecx, dword [esi + 0x98]
cmp eax, ecx
jne 0x1000fd50
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov eax, edi
inc ecx
sub eax, edx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jle 0x1000fd10
pop edi
pop esi
lea eax, [ebp + 0x190f]
pop ebp
pop ebx
add esp, 0x14
ret