Function at 0x100289c0
Capabilities:
Encode data using xor

Disassembly:
push 8
push 0x90
mov eax, 0x10037297
call fcn.10034614
mov esi, ecx
mov dword [ebp - 0x48], esi
call fcn.1002871b
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x18], eax
mov edx, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x218]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x21c]
sub eax, ecx
sar eax, 5
test eax, eax
je 0x10028a6d
mov dword [ebp - 0x44], edi
add edi, ecx
mov eax, dword [edi + 0x18]
or eax, dword [edi + 0x1c]
je 0x10028a48
cmp dword [edi], 0
je 0x10028a48
cmp edx, dword [ebp - 0x18]
je 0x10028a3b
push 8
mov esi, edi
mov edi, edx
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x48]
add edx, 0x20
mov dword [ebp - 0x1c], edx
jmp 0x10028a48
push edi
push edx
lea ecx, [ebp - 0x20]
call fcn.10029650
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x21c]
mov ecx, dword [esi + 0x218]
sub eax, ecx
mov edi, dword [ebp - 0x44]
inc dword [ebp - 0x3c]
add edi, 0x20
sar eax, 5
mov dword [ebp - 0x44], edi
cmp dword [ebp - 0x3c], eax
jb 0x10028a10
mov edi, dword [ebp - 0x20]
mov eax, edx
sub eax, edi
sar eax, 5
test eax, eax
jne 0x10028ab5
push 0xc
lea edi, [esi + 0x1d0]
pop esi
mov ecx, dword [edi]
xor dl, dl
call fcn.100095bf
lea edi, [edi + 4]
sub esi, 1
jne 0x10028a81
mov esi, dword [ebp - 0x48]
mov edx, dword [esi + 0x188]
mov ecx, dword [esi + 0x204]
call fcn.10009e4c
mov dword [esi + 0x18c], 1
jmp 0x10028f5f
push 0x10022cab
push eax
mov ecx, edi
call fcn.100294cd
mov edi, dword [ebp - 0x1c]
mov eax, edi
sub eax, dword [ebp - 0x20]
sar eax, 5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1003e470]
divsd xmm0, qword [0x1003dc00]
movsd qword [ebp - 0x70], xmm0
fld qword [ebp - 0x70]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x70]
movsd xmm0, qword [ebp - 0x70]
andps xmm0, xmmword [0x1003ebc0]
cvttsd2si eax, xmm0
pop ecx
pop ecx
mov dword [esi + 0x18c], eax
imul eax, dword [ebx + 8], 0xc
mov dword [ebp - 0x6c], eax
lea edx, [eax - 0xc]
mov dword [ebp - 0x64], edx
cmp edx, eax
jge 0x10028f4e
mov eax, edx
shl eax, 5
push 0xffffffffffffffd8
mov dword [ebp - 0x3c], eax
mov eax, 0x1cc
pop ecx
add eax, 4
add ecx, 0x28
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x68], eax
cmp eax, 0x1fc
jg 0x10028f4e
mov eax, dword [ebp - 0x20]
sub edi, eax
sar edi, 5
dec edi
cmp edx, edi
mov edi, dword [ebp - 0x3c]
jle 0x10028b67
xor dl, dl
jmp 0x10028f23
mov ecx, dword [edi + eax]
call fcn.10004c3c
mov ecx, eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x10028b60
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov edi, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
mov edx, dword [edi + edx]
call fcn.10004c5e
mov dword [ebp - 0x48], eax
test eax, eax
je 0x10028bba
cmp dword [eax + 0x3c], 0
je 0x10028bba
mov ecx, dword [ebp - 0x20]
xor edx, edx
push dword [edi + ecx]
push eax
jmp 0x10028bc5
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x44]
push dword [edi + eax]
push 0
lea ecx, [ebp - 0x60]
call fcn.10004d2e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1000539f
lea ecx, [ebp - 0x60]
call fcn.10002410
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + eax + 0x18]
mov edx, dword [edi + eax + 0x1c]
mov eax, dword [esi + 0x20c]
mov edi, dword [ebp - 0x40]
mov dword [edi + eax + 0x20], ecx
mov ecx, edi
mov edi, dword [ebp - 0x3c]
mov dword [ecx + eax + 0x24], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x40]
mov ecx, dword [edi + eax]
mov eax, dword [esi + 0x20c]
mov dword [edx + eax + 0x1c], ecx
mov eax, dword [esi + 0x20c]
mov ecx, dword [edx + eax + 0x18]
test ecx, ecx
je 0x10028c9e
add ecx, 4
lea edx, [ebp - 0x38]
call fcn.10006e67
mov eax, dword [esi + 0x20c]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov eax, dword [edx + eax + 0x18]
mov dword [eax + 0x60], ecx
mov eax, dword [esi + 0x20c]
mov eax, dword [edx + eax + 0x18]
mov dword [eax + 0x64], edi
mov eax, dword [esi + 0x20c]
mov eax, dword [edx + eax + 0x18]
and dword [eax + 0x68], 0
mov eax, edi
mov edi, dword [ebp - 0x3c]
test eax, eax
je 0x10028c79
movsx eax, word [eax + 0x4e]
mov dword [ebp - 0x3c], eax
movsx eax, word [ecx + 0x5e]
mov ecx, dword [ebp - 0x3c]
add ecx, eax
jmp 0x10028c7d
movsx ecx, word [ecx + 0x5e]
mov eax, dword [esi + 0x20c]
mov eax, dword [edx + eax + 0x18]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi + eax + 0x10]
mov eax, dword [esi + 0x20c]
mov eax, dword [edx + eax + 0x18]
mov dword [eax + 0x44], ecx
mov ecx, dword [esi + 0x20c]
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + ecx + 0x14]
call fcn.10009a9b
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x60]
call fcn.10004f4f
pop ecx
mov byte [ebp - 4], 2
mov edx, eax
mov ecx, dword [esi + 0x20c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + ecx]
call fcn.10009e29
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.10002410
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x88]
mov edx, dword [edi + edx + 0x10]
call fcn.10005184
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
jbe 0x10028d03
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002604
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x60]
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x20c]
mov ecx, dword [eax + ecx + 4]
call fcn.10009e29
lea ecx, [ebp - 0x60]
call fcn.10002410
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.10002410
mov edx, dword [ebp - 0x20]
cmp dword [edi + edx + 0xc], 1
jne 0x10028ddb
mov edx, dword [edi + edx + 8]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.10007893
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x10028d67
mov eax, dword [eax]
movaps xmm0, xmmword [0x1003e310]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x4c], 0x6630
mov byte [ebp - 0x4a], 0
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x11
jb 0x10028d7f
sub esp, 0x18
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x5b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0x88]
push eax
call fcn.10004864
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x20c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + ecx + 8]
call fcn.10009e29
lea ecx, [ebp - 0x88]
call fcn.10002410
lea ecx, [ebp - 0xa0]
jmp 0x10028e72
cmp dword [edi + edx + 0xc], 2
jne 0x10028e7b
mov edx, dword [edi + edx + 8]
push ecx
lea ecx, [ebp - 0x88]
call fcn.10007893
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x10028e03
mov eax, dword [eax]
movaps xmm0, xmmword [0x1003e450]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x4c], 0x1244
mov byte [ebp - 0x4a], 0
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x11
jb 0x10028e1b
sub esp, 0x18
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x5b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0xa0]
push eax
call fcn.10004864
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x20c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + ecx + 8]
call fcn.10009e29
lea ecx, [ebp - 0xa0]
call fcn.10002410
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.10002410
mov edx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x88]
mov edx, dword [edi + edx + 4]
call fcn.10007893
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x10028e9b
mov eax, dword [eax]
movaps xmm0, xmmword [0x1003e270]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x613732
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x12
jb 0x10028eb0
sub esp, 0x18
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x5b]
mov ecx, esp
push eax
call fcn.10002604
lea eax, [ebp - 0xa0]
push eax
call fcn.10004864
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x20c]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + ecx + 0xc]
call fcn.10009e29
lea ecx, [ebp - 0xa0]
call fcn.10002410
lea ecx, [ebp - 0x88]
call fcn.10002410
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
cmp edx, 0xf
jbe 0x10028f21
mov ecx, dword [ebp - 0x38]
inc edx
call fcn.100023e3
mov dl, 1
mov ecx, dword [ebp - 0x68]
mov ecx, dword [esi + ecx]
call fcn.100095bf
mov edx, dword [ebp - 0x64]
add edi, 0x20
inc edx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x64], edx
cmp edx, dword [ebp - 0x6c]
jge 0x10028f4e
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
jmp 0x10028b39
mov edx, dword [esi + 0x188]
mov ecx, dword [esi + 0x204]
call fcn.10009e4c
lea ecx, [ebp - 0x20]
call fcn.1002a7e8
mov ecx, dword [ebp - 0x14]
call fcn.100345f2
ret 4