Function at 0x10008a00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
lea eax, [edx - 0x30f]
mov dword [esp + 0x28], eax
add ebp, 0x777
lea eax, [ecx - 0x65]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffe07
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
add eax, 0xffffd277
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x44], eax
lea eax, [edx - 0x2aa]
mov dword [esp + 0x2c], eax
lea eax, [edi - 0xfc]
mov dword [esp + 0x14], eax
lea ebx, [edi + 0x25a]
lea eax, [ecx + 0x2f1]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], eax
lea ecx, [edx - 0x5e1]
mov dword [esp + 0x50], ecx
cmp eax, edi
jl 0x10008d00
mov ecx, dword [esp + 0x48]
lea eax, [ebx - 0x2f1]
cmp ecx, eax
jg 0x10008c4b
cmp ebx, edx
je 0x10008b34
push 0x310f
push esi
call fcn.10006ae0
mov edi, dword [esi + 0x38]
mov ecx, 0x2dad
add esp, 8
mov eax, dword [edi + 0xf0]
add eax, 0x355c
or dword [esi + 0x1a4], eax
mov eax, dword [edi + 0x1c4]
xor eax, 0x1c1f
cmp eax, ecx
jbe 0x10008b18
mov ebp, dword [esi + 0x178]
mov edx, dword [esi + 0xa0]
nop word [eax + eax]
mov eax, dword [ebp + 0x160]
inc ecx
add eax, 0x32ca
imul edx, eax
mov dword [esi + 0xa0], edx
mov eax, dword [edi + 0x1c4]
xor eax, 0x1c1f
cmp ecx, eax
jb 0x10008af0
mov ebp, dword [esp + 0x3c]
mov eax, dword [esi + 0x10c]
mov eax, dword [eax + 0x1c4]
add eax, 0x3e6cb
mov dword [esi + 0xa8], eax
jmp 0x10008cfc
mov eax, dword [esi + 0x120]
mov ecx, dword [esi + 0xe0]
add eax, ebx
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jae 0x10008d00
mov edi, dword [esp + 0x40]
mov eax, ebp
mov edx, dword [esp + 0x10]
xor eax, 0x310f
mov dword [esp + 0x1c], eax
or edx, ebx
mov eax, edi
mov dword [esp + 0x2c], edx
or eax, 0x3451
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
add eax, 0xffffcc8e
xor eax, 0x310f
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
or eax, 0x3372
mov dword [esp + 0x14], eax
nop dword [eax]
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x1c4]
imul eax, edx
mov edx, dword [esp + 0x4c]
add edx, 0x32d
mov ebx, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
mov eax, dword [esi + 0x60]
xor eax, edx
sub edx, dword [esi + 0xd8]
add eax, dword [esp + 0x50]
push eax
push dword [esp + 0x2c]
or edx, dword [esp + 0x20]
mov eax, ecx
and eax, 0x3239
push eax
push dword [esp + 0x38]
mov eax, dword [esi + 0x38]
or eax, ebp
sub eax, ecx
or ecx, 0x2f82
push eax
mov eax, dword [esi + 0x164]
add eax, 0x63d3
push eax
mov eax, dword [esi + 0x44]
push ecx
push dword [esp + 0x4c]
add eax, 0x2ff7
push edx
push esi
push eax
mov eax, dword [esi + 0x30]
imul eax, ebx
push eax
mov eax, dword [esi + 0x108]
add eax, edi
push eax
push dword [esp + 0x50]
call fcn.1000ac30
mov ecx, dword [esp + 0x7c]
add esp, 0x40
mov eax, dword [esi + 0x120]
inc ecx
mov edx, dword [esp + 0x2c]
add eax, ebx
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jb 0x10008ba0
jmp 0x10008cfc
mov eax, ecx
or eax, 0x3372
cmp dword [esi + 0x174], eax
jae 0x10008d00
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x1b8]
add edx, 0xffffcdc7
mov ebx, dword [esi + 0x1c4]
add eax, edx
mov edx, dword [esi + 0xf0]
mov edi, dword [esi + 0xc]
add edx, ecx
mov ebp, dword [esi + 0x1e8]
and edx, ecx
mov ecx, dword [esi + 0x40]
add ebp, 0x2f82
sub ecx, dword [esi + 0x124]
add ecx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
add eax, 0x32d
xor ebx, eax
and edi, eax
mov eax, dword [esi + 0x58]
xor eax, dword [esp + 0x40]
push eax
imul eax, dword [esp + 0x4c], 0x31b0
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push esi
push edi
push ebx
or eax, 0x31ce
push eax
push ebp
push dword [esp + 0x4c]
call fcn.100031f0
mov ecx, dword [esi + 0x1a4]
add esp, 0x28
xor ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
sub ecx, 0x31ce
add dword [esi + 0x134], ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov edi, dword [esp + 0x58]
lea ecx, [edi - 0x52d]
cmp ebx, ecx
jle 0x10008df2
push 0x355c
push 0x31ce
push 0x2dad
push esi
push 0x2d9d
push 0x2dad
call fcn.1000c360
mov edx, dword [esi + 0x108]
mov ecx, 0x2d9d
mov dword [esi + 0x1fc], eax
add esp, 0x18
mov eax, dword [edx + 0x84]
xor eax, 2
cmp eax, ecx
jbe 0x10008d6a
mov edi, dword [esi + 0x2c]
mov eax, dword [edi + 0x6c]
inc ecx
add eax, 0x3233
mov dword [esi + 8], eax
mov eax, dword [edx + 0x84]
xor eax, 2
cmp ecx, eax
jb 0x10008d51
push 0x3372
push 0x31ce
push 0x2ff7
push esi
push 0x2d9d
push 0x3524
call fcn.1000c360
mov edi, dword [esi + 0x10c]
mov edx, 0x2efc
mov dword [esi + 0x200], eax
add esp, 0x18
mov eax, dword [edi + 0x58]
sub eax, 0x553
cmp eax, edx
jbe 0x10008dcc
mov ecx, dword [esi + 0x14c]
nop
imul eax, dword [edi + 0x40], 0x2d89
inc edx
or ecx, eax
mov dword [esi + 0x14c], ecx
mov eax, dword [edi + 0x58]
sub eax, 0x553
cmp edx, eax
jb 0x10008db0
imul eax, dword [edi + 0x1c4], 0x339934a1
mov edi, dword [esp + 0x58]
cmp eax, 0x32ca
jbe 0x10008df2
mov eax, dword [esi + 0x178]
xor eax, 0x3451
sub dword [esi + 0xa0], eax
add ebx, 0xfffff9d8
cmp dword [esp + 0x30], ebx
jl 0x10008ecf
mov eax, dword [esi + 0x108]
lea ecx, [edi + 0xa8]
mov edx, dword [esp + 0x50]
imul eax, dword [eax + 0x1c4], 0xa80458cf
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xac]
or eax, 0x2f82
xor dword [esi + 0x60], eax
lea eax, [ebp - 0x25a]
push eax
lea eax, [edx + 0x86]
push eax
push ecx
lea eax, [edi - 0x97]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x6c8
push eax
mov eax, dword [esp + 0x58]
push ebx
push esi
push dword [esp + 0x68]
add eax, 0x3524
push ecx
push dword [esp + 0x6c]
push edx
push eax
call fcn.1000b6e0
push 0x2d9d
push 0x2f82
push 0x31b0
push esi
push 0x355c
push 0x2d89
call fcn.1000c360
mov ecx, dword [esi + 0x84]
add esp, 0x48
xor ecx, 0x1940
mov dword [esi + 0x208], eax
cmp ecx, 0x34dd
jbe 0x10008ec1
imul edx, dword [esi + 0xc], 0x31ce
add ecx, 0xffffcb23
mov eax, dword [esi + 0x4c]
add eax, edx
sub ecx, 1
jne 0x10008eb7
mov dword [esi + 0x4c], eax
lea eax, [edi + 0x25a]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ebx, dword [esi + 0x94]
and ebx, dword [esi + 0x4c]
mov edx, dword [esi + 0x34]
imul ebx, ebp
cmp edx, ebx
jne 0x10008ec1
mov ecx, dword [esi + 0x38]
xor ebp, 0x2dad
mov edi, dword [esi + 0xe0]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi + 0x174]
and ebp, dword [esi + 0x58]
mov esi, dword [esp + 0x3c]
mov eax, edi
add edx, 3
sub eax, dword [esp + 0x40]
xor edi, ebp
sub eax, 0x2f82
or ecx, eax
imul ecx, esi
cmp edx, ebx
je 0x10008f02
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
add eax, 0x25a
mov dword [esi + 0xe0], edi
pop edi
mov dword [esi + 0x38], ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret