Function at 0x1009b570
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff125
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x10121080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x60], edx
cmp byte [edx], 0
lea esi, [edx + 4]
mov eax, dword [0x10135680]
movss xmm0, dword [esi]
movss xmm1, dword [eax + 0x14]
addss xmm1, xmm1
je 0x1009b5d3
addss xmm0, xmm1
jmp 0x1009b5d7
subss xmm0, xmm1
movss dword [esi], xmm0
lea ecx, [ebp - 0x80]
comiss xmm0, dword [0x1010efdc]
mov dword [ebp - 0x80], 0x3f800000
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
xorps xmm1, xmm1
cmovbe ecx, esi
movss xmm0, dword [ecx]
comiss xmm0, xmm1
cmova eax, ecx
movss xmm0, dword [eax]
movss dword [esi], xmm0
mulss xmm0, dword [0x1010f0f0]
cvttss2si ecx, xmm0
mov dword [edx + 8], ecx
test ecx, ecx
je 0x1009bafe
mov eax, dword [0x10135a58]
mov edi, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
dec edi
mov dword [ebp - 0x84], eax
dec esi
mov dword [ebp - 0x88], eax
mov eax, dword [edx + 0x1c]
mov byte [ebp - 0x51], cl
mov ecx, dword [0x10135630]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx]
mov word [ebp - 0x54], 0x2222
mov byte [ebp - 0x52], 0x22
push dword [ebp - 0x54]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10135630]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x64]
add eax, 2
add eax, edi
push eax
mov eax, dword [ebp - 0x58]
add eax, 2
add eax, esi
push eax
push edi
push esi
call edx
mov ecx, dword [ebp - 0x60]
mov word [ebp - 0x54], 0x1111
mov byte [ebp - 0x52], 0x11
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 8]
mov ecx, dword [0x10135630]
mov byte [ebp - 0x51], al
push dword [ebp - 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10135630]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x58]
add eax, esi
mov esi, dword [ebp - 0x64]
push eax
lea eax, [edi + esi]
push eax
push dword [ebp - 0x58]
push esi
call edx
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx + 0x24]
cmp eax, dword [ecx + 0x28]
je 0x1009bafe
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x10]
sub eax, 0x14
mov esi, dword [ecx + 0x14]
add edx, 0xa
mov dword [ebp - 0x58], eax
add esi, 0xa
mov eax, dword [ecx + 8]
mov ecx, dword [0x10135630]
mov byte [ebp - 0x51], al
mov word [ebp - 0x54], 0x2222
lea edi, [esi - 1]
mov byte [ebp - 0x52], 0x22
mov eax, dword [ecx]
push dword [ebp - 0x54]
mov dword [ebp - 0x5c], esi
lea esi, [edx - 1]
mov dword [ebp - 0x68], edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10135630]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x58]
add eax, 2
add eax, edi
push eax
lea eax, [esi + 0x52]
push eax
push edi
push esi
call edx
mov esi, dword [ebp - 0x60]
mov ecx, dword [0x10135630]
mov word [ebp - 0x54], 0x1818
mov byte [ebp - 0x52], 0x18
mov eax, dword [esi + 8]
mov byte [ebp - 0x51], al
mov eax, dword [ecx]
push dword [ebp - 0x54]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10135630]
mov edi, dword [ebp - 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [edi + 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x5c]
push eax
lea eax, [edi + 0x50]
push eax
push dword [ebp - 0x5c]
push edi
call edx
mov ecx, dword [esi + 0x24]
xor edi, edi
mov eax, dword [esi + 0x28]
sub eax, ecx
mov dword [ebp - 0x64], edi
sar eax, 2
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x1009b8ac
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], eax
push dword [ecx + edi*4]
lea eax, [ebp - 0x1c]
mov ecx, 0x10138088
push eax
call fcn.100b6fc0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x70]
add ecx, 0x10
mov dword [ebp - 0x7c], ecx
mov eax, dword [eax + edi*4]
cmp eax, dword [esi + 0x30]
jne 0x1009b844
mov edi, dword [esi + 8]
mov eax, 0x66666667
imul edi
mov eax, dword [ebp - 0x84]
movzx ecx, al
mov al, byte [ebp - 0x86]
mov byte [ebp - 0x54], cl
mov ecx, dword [0x10135630]
mov byte [ebp - 0x53], ah
mov byte [ebp - 0x52], al
sar edx, 2
mov eax, dword [ecx]
mov esi, edx
mov byte [ebp - 0x51], 0xff
push dword [ebp - 0x54]
shr esi, 0x1f
mov eax, dword [eax + 0x38]
add esi, edx
call eax
mov ecx, dword [0x10135630]
push 0
push esi
mov esi, dword [ebp - 0x7c]
mov eax, dword [ecx]
push edi
push esi
push dword [ebp - 0x78]
mov eax, dword [eax + 0x1ec]
push dword [ebp - 0x70]
push dword [ebp - 0x68]
call eax
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x70], esi
mov esi, dword [ebp - 0x60]
jmp 0x1009b847
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [esi + 8]
push 1
push dword [eax + edi*4]
push ecx
mov eax, esp
mov byte [eax + 3], cl
mov ecx, 0x10138088
mov word [eax], 0x9898
mov byte [eax + 2], 0x98
mov eax, 0x10
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x50
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x68]
push eax
call fcn.100b6d70
mov ecx, dword [esi + 0x24]
inc edi
mov eax, dword [esi + 0x28]
add dword [ebp - 0x6c], 0x10
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x58], ecx
cmp edi, eax
jb 0x1009b7b3
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x1009bafe
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
add ecx, 0x64
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x68], eax
add edx, 0xa
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 8]
lea esi, [ecx - 1]
mov dword [ebp - 0x78], ecx
lea edi, [edx - 1]
mov ecx, dword [0x10135630]
mov byte [ebp - 0x59], al
mov word [ebp - 0x5c], 0x2222
mov byte [ebp - 0x5a], 0x22
mov eax, dword [ecx]
push dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10135630]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0x6c]
add eax, 0xffffffee
add eax, edi
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xffffff94
add eax, esi
push eax
push edi
push esi
call edx
mov esi, dword [ebp - 0x60]
mov ecx, dword [0x10135630]
mov word [ebp - 0x5c], 0x1818
mov byte [ebp - 0x5a], 0x18
mov eax, dword [esi + 8]
mov byte [ebp - 0x59], al
mov eax, dword [ecx]
push dword [ebp - 0x5c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10135630]
mov edi, dword [ebp - 0x6c]
add edi, 0xffffffec
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x58]
add eax, edi
mov edi, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xffffff92
add eax, edi
push eax
push dword [ebp - 0x58]
push edi
call edx
mov dword [ebp - 0x20], 0x10424071
xor eax, eax
mov dword [ebp - 0x1c], 0x2100210
mov dword [ebp - 0x18], 0x30040200
xor byte [ebp + eax - 0x20], 0x30
inc eax
cmp eax, 0xc
jb 0x1009b983
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009b9b0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1001fb00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
lea edx, [ebp - 0x74]
push 0x10133cb0
cmova eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x74], 0x7c207325
mov dword [ebp - 0x70], 0x732520
call fcn.10047ea0
add esp, 8
push 1
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
mov edx, dword [esi + 8]
add edi, 0xffffff8d
push eax
push ecx
mov ecx, dword [ebp - 0x6c]
mov eax, esp
add ecx, 0xffffffdc
mov word [eax], 0xcdcd
mov byte [eax + 2], 0xcd
mov byte [eax + 3], dl
mov eax, dword [ebp - 0x58]
add eax, ecx
mov ecx, 0x10138088
push eax
mov eax, dword [ebp - 0x68]
add eax, edi
push eax
call fcn.100b6d70
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x1c]
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x60], ecx
cmp edi, ecx
je 0x1009ba7b
mov eax, ecx
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x1009ba74
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1009ba61
cmp ecx, eax
je 0x1009ba71
cmp byte [ecx + 0x68], 0
je 0x1009ba71
test byte [ecx + 0x50], 1
je 0x1009ba71
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x60]
add edi, 4
cmp edi, eax
jne 0x1009ba50
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x1009ba8c
cmp byte [ecx + 0x68], 0
je 0x1009ba8c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1009babc
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bab2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009bb1c
push ecx
push edx
call fcn.100c6572
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp ecx, 0xf
jbe 0x1009bafe
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009baf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009bb1c
push ecx
push edx
call fcn.100c6572
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100c60f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100d28cb
int3