Function at 0x1000fcd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x60]
add eax, 0xfffff955
mov edx, dword [esp + 0x64]
mov dword [esp + 4], eax
add edx, 0xffffbef5
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
lea ebp, [eax - 0x604]
mov dword [esp + 0xc], edx
add eax, 0xfffffd87
lea ebx, [ecx - 0x3e56]
mov dword [esp + 0x4c], eax
lea esi, [ecx - 0x364]
lea eax, [ecx - 0x28]
mov dword [esp + 0x70], esi
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x68], eax
add edi, 0xffffc787
lea eax, [ebx + 0x3c85]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ebx
cmp esi, eax
jge 0x1000fd92
lea eax, [ebx + 0x3e2e]
cmp edi, eax
jg 0x1000ff8f
lea eax, [ebp + 0x224]
cmp edx, eax
jge 0x1000ff8f
mov edx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x150]
mov dword [edx + 0x170], 0x13
pop ebx
lea ecx, [eax + ecx*4]
mov eax, dword [edx + 0x160]
add dword [ecx], eax
mov eax, dword [esp + 0x58]
add eax, 0x587
add esp, 0x38
ret
mov esi, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x30]
xor eax, dword [esi + 0x158]
cmp edx, eax
ja 0x1000ff8f
mov eax, dword [esp + 0x50]
mov ecx, edi
sub ecx, eax
add eax, 0x3708
mov dword [esp + 0x20], ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
imul eax, ecx, 0x3879
mov dword [esp + 0x28], eax
lea eax, [edi - 0x3bbb]
mov dword [esp + 0x38], eax
lea eax, [ebx + 0x34ee]
mov dword [esp + 0x3c], eax
imul eax, dword [esi + 0x50], 0x3c04
mov ebp, dword [esi + 0x114]
mov ebx, dword [esi + 0x68]
add ebp, dword [esp + 0x74]
and ebx, edx
sub ecx, dword [esi + 0x40]
add ebp, edx
add dword [esi + 0x1c0], eax
sub ecx, 0x3af2
imul eax, dword [esi + 0x1cc], 0x410b
xor ebx, edi
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0x14]
and edx, dword [esi + 0x1c0]
mov edi, dword [esp + 0x68]
and edi, dword [esi + 0x140]
push eax
push ecx
mov ecx, dword [esp + 0x18]
or edi, 0x3c04
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x84]
mov eax, edx
and eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [esp + 0x88]
add eax, ecx
and eax, 0x410b
push eax
lea eax, [edx + ecx]
push eax
push dword [esp + 0x44]
push esi
push ebx
push ebp
call fcn.10011a80
mov ecx, eax
mov ebx, dword [esi + 0x38]
mov eax, dword [esi + 0x20]
and eax, ecx
mov ebp, dword [esi + 0x68]
mov dword [esp + 0x74], eax
or ebp, ebx
mov eax, dword [esi + 0x30]
or ebp, 0x3c04
or eax, dword [esp + 0x44]
and eax, dword [esp + 0x98]
push dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov edi, dword [esi + 0x40]
mov edx, dword [esi + 0x144]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x1c0]
mov eax, ecx
imul eax, dword [esp + 0x84]
sub ecx, dword [esi + 0x48]
and edi, dword [esp + 0xa4]
or edx, dword [esp + 0xac]
or ebx, dword [esp + 0x50]
or eax, dword [esi + 0x24]
mov dword [esp + 0x68], eax
imul eax, ecx, 0x3e1a
mov ecx, dword [esp + 0x44]
sub ecx, dword [esi + 0xec]
xor ecx, 0x34ee
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x128]
and eax, 0x34ee
xor eax, dword [esp + 0xa4]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x164]
and eax, dword [esp + 0x84]
and ebx, dword [esi + 0x18c]
push ebx
push eax
push esi
push ecx
push edx
push edi
imul eax, dword [esp + 0xc0], 0x40db
push ebp
push dword [esp + 0x7c]
push dword [esp + 0x84]
sub eax, dword [esp + 0xd0]
push dword [esp + 0x8c]
push eax
push dword [esp + 0x98]
push dword [esp + 0xa0]
push dword [esp + 0xa8]
push dword [esp + 0xb0]
call fcn.10002290
mov ecx, dword [esi + 0x30]
add esp, 0x70
xor ecx, dword [esi + 0x158]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x78]
jbe 0x1000fde0
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
add eax, 0x587
pop ebx
add esp, 0x38
ret