Function at 0x100d869a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ecx + 0x2750]
mov eax, dword [ecx + 0x2750]
cmp dword [eax + 0x16348], 0
mov dword [ebp - 0x60], ebx
jne 0x100d8773
mov esi, ecx
call fcn.100d7dae
cmp byte [esi + 0x2ea8], 0
je 0x100d8773
lea eax, [esi + 0x2a58]
mov dword [ebp - 0x64], eax
lea eax, [esi + 0x2a98]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
add esi, 0x1c9c
xor edi, edi
mov ecx, dword [ebx]
push edi
call fcn.100bbbaa
test al, al
je 0x100d875d
mov ecx, dword [ebx]
push edi
call fcn.100bb58e
mov ebx, eax
push dword [ebp - 0x64]
push dword [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push eax
call fcn.100be3aa
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100c0af8
add esp, 0xc
movss xmm0, dword [ebp - 0x1c]
movss dword [esi - 0xc], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esi - 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esi - 4], xmm0
mov dword [esi], 0x3f800000
inc edi
add esi, 0x10
cmp edi, 8
jne 0x100d86fd
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x2ea8], 0
mov edi, dword [ebp + 8]
xor eax, eax
dec eax
mov dword [edi + 0x37c], eax
mov dword [edi + 0x378], eax
mov eax, 0x378
push eax
push 0
push edi
call fcn.101db130
add esp, 0xc
mov esi, 0x74
lea ecx, [edi + esi]
call fcn.100c9804
add esi, 0x14
cmp esi, 0x1b4
jne 0x100d8798
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x16348]
test eax, eax
je 0x100d87c7
mov ecx, eax
call fcn.1014153e
mov edx, eax
sar edx, 0x1f
mov ecx, dword [ebx]
jmp 0x100d87cb
xor eax, eax
xor edx, edx
mov dword [edi], eax
mov dword [edi + 4], edx
cmp dword [ecx + 0x16348], 0
je 0x100d87dd
xor eax, eax
jmp 0x100d87ef
call fcn.100bb830
movzx eax, ax
cmp eax, 0x300
setb al
mov ecx, dword [ebx]
mov dl, byte [edi + 8]
and dl, 0xfe
or dl, al
mov byte [edi + 8], dl
mov eax, dword [ecx + 0x16348]
xor esi, esi
test eax, eax
je 0x100d8816
mov ecx, eax
call fcn.10184b48
add al, al
mov dl, byte [edi + 8]
mov ecx, dword [ebx]
jmp 0x100d8818
xor eax, eax
and dl, 0xfd
or dl, al
mov byte [edi + 8], dl
mov eax, dword [ecx + 0x16348]
test eax, eax
je 0x100d8830
mov esi, dword [eax + 0x308]
mov eax, dword [edi + 0xc]
and esi, 0x3f
and eax, 0xffffffc0
or eax, esi
mov dword [edi + 0xc], eax
mov edx, dword [ecx + 0x16348]
test edx, edx
je 0x100d8856
mov edx, dword [edx + 0x30c]
and edx, 0x3f
shl edx, 6
jmp 0x100d885b
mov edx, 0x2c0
and eax, 0xfffff03f
or eax, edx
mov dword [edi + 0xc], eax
call fcn.100bc028
and eax, 7
mov ecx, 0xffff8fff
and ecx, dword [edi + 0xc]
shl eax, 0xc
or ecx, eax
mov dword [edi + 0xc], ecx
mov ecx, dword [ebx]
call fcn.100bc00c
mov cl, byte [edi + 0x10]
and cl, 0xfe
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
call fcn.100bbb8e
mov cl, byte [edi + 0x10]
add al, al
and cl, 0xfd
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
call fcn.100bc05a
mov cl, byte [edi + 0x10]
shl al, 2
and cl, 0xfb
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
call fcn.100bb970
mov cl, byte [edi + 0x10]
shl al, 3
and cl, 0xf7
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
call fcn.100bc230
mov cl, byte [edi + 0x10]
shl al, 4
and cl, 0xef
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
call fcn.100bc34c
mov cl, byte [edi + 0x10]
shl al, 5
and cl, 0xdf
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
call fcn.100bbb56
mov cl, byte [edi + 0x10]
shl al, 6
and cl, 0xbf
or cl, al
mov byte [edi + 0x10], cl
mov ecx, dword [ebx]
push 0
call fcn.100bbbaa
movzx esi, al
mov ecx, dword [ebx]
push 1
call fcn.100bbbaa
movzx eax, al
lea esi, [esi + eax*2]
mov ecx, dword [ebx]
push 2
call fcn.100bbbaa
movzx eax, al
lea esi, [esi + eax*4]
mov ecx, dword [ebx]
push 3
call fcn.100bbbaa
movzx eax, al
mov edx, ebx
lea ebx, [esi + eax*8]
mov ecx, dword [edx]
mov esi, edx
push 4
call fcn.100bbbaa
movzx eax, al
shl eax, 4
or eax, ebx
mov dword [ebp - 0x64], eax
mov ecx, dword [esi]
mov ebx, esi
push 5
call fcn.100bbbaa
movzx esi, al
shl esi, 5
mov ecx, dword [ebx]
push 6
call fcn.100bbbaa
movzx ebx, al
shl ebx, 6
or ebx, esi
mov esi, dword [ebp - 0x60]
mov ecx, dword [esi]
push 7
call fcn.100bbbaa
movzx eax, al
shl eax, 7
or eax, ebx
mov ecx, 0xffffff00
and ecx, dword [edi + 0x14]
or ecx, eax
or ecx, dword [ebp - 0x64]
mov dword [edi + 0x14], ecx
mov ecx, dword [esi]
call fcn.100bbbd6
and eax, 3
mov ecx, 0xfffffcff
and ecx, dword [edi + 0x14]
shl eax, 8
or ecx, eax
mov dword [edi + 0x14], ecx
mov ecx, dword [esi]
call fcn.100bbc1c
and eax, 3
mov ecx, 0xfffff3ff
and ecx, dword [edi + 0x14]
shl eax, 0xa
or ecx, eax
mov dword [edi + 0x14], ecx
mov ecx, dword [esi]
call fcn.100bbc5c
and eax, 3
mov ecx, 0xffffcfff
and ecx, dword [edi + 0x14]
shl eax, 0xc
or ecx, eax
mov dword [edi + 0x14], ecx
mov ecx, dword [esi]
call fcn.100bbc9c
shl eax, 0xe
mov ecx, 0xffff3fff
and ecx, dword [edi + 0x14]
movzx eax, ax
or ecx, eax
mov dword [edi + 0x14], ecx
mov ecx, dword [esi]
call fcn.100bb778
mov cl, byte [edi + 0x18]
and cl, 0xfe
or cl, al
mov byte [edi + 0x18], cl
mov ecx, dword [esi]
call fcn.100bc076
mov ecx, dword [edi + 0x1c]
and eax, 3
and ecx, 0xfffffffc
or ecx, eax
mov dword [edi + 0x1c], ecx
mov ecx, dword [esi]
call fcn.100bc09e
mov cl, byte [edi + 0x20]
and cl, 0xfe
or cl, al
mov byte [edi + 0x20], cl
mov ecx, dword [esi]
call fcn.100bc03e
mov cl, byte [edi + 0x20]
add al, al
and cl, 0xfd
or cl, al
mov byte [edi + 0x20], cl
mov ecx, dword [esi]
call fcn.100bb848
mov cl, byte [edi + 0x20]
shl al, 2
and cl, 0xfb
or cl, al
mov byte [edi + 0x20], cl
mov ecx, dword [esi]
call fcn.100bb894
shl al, 3
mov cl, byte [edi + 0x20]
mov dl, byte [edi + 0x30]
and cl, 0xf7
or cl, al
mov byte [edi + 0x20], cl
mov ecx, dword [esi]
mov al, byte [ecx + 0x16274]
shl al, 2
and dl, 0xfb
or dl, al
mov byte [edi + 0x30], dl
call fcn.100bc576
cmp eax, 1
setg al
mov dl, byte [edi + 0x20]
mov ah, byte [edi + 0x30]
shl al, 3
and ah, 0xf7
or ah, al
mov byte [edi + 0x30], ah
mov ecx, dword [esi]
mov al, byte [ecx + 0x163d2]
shl al, 4
and dl, 0xef
or dl, al
mov byte [edi + 0x20], dl
mov edx, dword [ebp + 0xc]
and edx, 0xf
cmp edx, 3
seta al
movsd xmm0, qword [ecx + 0x163d8]
cmp edx, 1
sbb al, 0
movsd qword [edi + 0x28], xmm0
add al, 2
and ah, 0xfc
or ah, al
mov byte [edi + 0x30], ah
lea ebx, [edi + 0x1b4]
xor esi, esi
xor edi, edi
mov eax, dword [ecx + esi + 0x15ffc]
mov edx, dword [ebx]
and eax, 0xf
and edx, 0xfffffff0
or edx, eax
mov dword [ebx], edx
mov eax, dword [ecx + esi + 0x16000]
shl eax, 4
and eax, 0x70
and edx, 0xffffff8f
or edx, eax
mov dword [ebx], edx
mov al, byte [ebx + 4]
and al, 0xfe
or al, byte [ecx + esi + 0x16001]
mov byte [ebx + 4], al
mov ecx, dword [ecx + 0x16348]
test ecx, ecx
je 0x100d8b41
push edi
call fcn.10184be8
jmp 0x100d8b43
xor eax, eax
mov ecx, dword [ebx + 8]
and al, 3
movzx eax, al
and ecx, 0xfffffffc
or ecx, eax
mov dword [ebx + 8], ecx
inc edi
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
add esi, 0x14
add ebx, 0xc
cmp edi, 0x20
jne 0x100d8af9
cmp dword [ecx + 0x16348], 0
je 0x100d8bc0
mov eax, dword [ebp + 8]
lea esi, [eax + 0x74]
xor edi, edi
mov ebx, 0xb370
mov ecx, dword [ecx + 0x16348]
push edi
call fcn.1014152a
test al, al
je 0x100d8ba7
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
add ecx, ebx
lea eax, [ebp - 0x5c]
push eax
call fcn.100c98a8
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x10], eax
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [esi], xmm0
cmp ebx, 0x154b0
mov edx, dword [ebp - 0x60]
je 0x100d8c20
inc edi
mov ecx, dword [edx]
add ebx, 0xac0
add esi, 0x14
jmp 0x100d8b7a
xor esi, esi
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x60]
push esi
call fcn.100bc0c8
mov ecx, dword [edi + esi*8 + 0x34]
and eax, 7
and ecx, 0xfffffff8
or ecx, eax
mov dword [edi + esi*8 + 0x34], ecx
mov ecx, dword [ebx]
push esi
call fcn.100bc0f8
mov cl, byte [edi + esi*8 + 0x38]
and al, 7
and cl, 0xf8
or cl, al
mov byte [edi + esi*8 + 0x38], cl
mov ecx, dword [ebx]
push esi
call fcn.100bc128
mov cl, byte [edi + esi*8 + 0x38]
shl al, 3
and al, 0x38
and cl, 0xc7
or cl, al
mov byte [edi + esi*8 + 0x38], cl
cmp esi, 7
mov edx, ebx
je 0x100d8c20
inc esi
mov ecx, dword [edx]
mov edi, dword [ebp + 8]
mov ebx, edx
jmp 0x100d8bc8
mov ecx, dword [edx]
mov eax, dword [ecx + 0x16348]
test eax, eax
mov ebx, edx
je 0x100d8cf6
mov esi, ebx
xor ebx, ebx
mov edi, dword [ebp + 8]
mov ecx, eax
push 0
push ebx
call fcn.10184bfa
cmp byte [eax], 0xff
setne al
mov cl, byte [edi + ebx*2 + 0x334]
and cl, 0xfe
or cl, al
mov byte [edi + ebx*2 + 0x334], cl
mov eax, dword [esi]
mov ecx, dword [eax + 0x16348]
push 1
push ebx
call fcn.10184bfa
cmp byte [eax], 0xff
setne al
mov cl, byte [edi + ebx*2 + 0x334]
add al, al
and cl, 0xfd
or cl, al
mov byte [edi + ebx*2 + 0x334], cl
mov eax, dword [esi]
mov ecx, dword [eax + 0x16348]
push 2
push ebx
call fcn.10184bfa
cmp byte [eax], 0xff
setne al
mov cl, byte [edi + ebx*2 + 0x334]
shl al, 2
and cl, 0xfb
or cl, al
mov byte [edi + ebx*2 + 0x334], cl
mov eax, dword [esi]
mov ecx, dword [eax + 0x16348]
push 3
push ebx
call fcn.10184bfa
cmp byte [eax], 0xff
setne al
mov cl, byte [edi + ebx*2 + 0x334]
shl al, 3
and cl, 0xf7
or cl, al
mov byte [edi + ebx*2 + 0x334], cl
cmp ebx, 0x21
je 0x100d8e2d
inc ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x16348]
jmp 0x100d8c39
cmp byte [ecx + 0x16274], 0
je 0x100d8d14
call fcn.100bb830
movzx eax, ax
cmp eax, 0x2ff
ja 0x100d8dcf
mov ecx, dword [ebx]
mov edi, dword [ebp + 8]
or byte [edi + 0x334], 0xf
call fcn.100bc230
mov ecx, dword [ebx]
test al, al
je 0x100d8d42
cmp byte [ecx + 0x16354], 0
jne 0x100d8d3b
cmp byte [ecx + 0x16064], 0
je 0x100d8d42
or byte [edi + 0x336], 0xf
call fcn.100bc34c
test al, al
je 0x100d8d52
or byte [edi + 0x338], 0xf
xor esi, esi
mov ecx, dword [ebx]
push 0
push esi
call fcn.100bb996
test al, al
je 0x100d8d6a
or byte [edi + esi*2 + 0x33a], 1
mov ecx, dword [ebx]
push 1
push esi
call fcn.100bb996
test al, al
je 0x100d8d80
or byte [edi + esi*2 + 0x33a], 2
mov ecx, dword [ebx]
push 2
push esi
call fcn.100bb996
test al, al
je 0x100d8d96
or byte [edi + esi*2 + 0x33a], 4
mov ecx, dword [ebx]
push 3
push esi
call fcn.100bb996
test al, al
je 0x100d8dac
or byte [edi + esi*2 + 0x33a], 8
inc esi
cmp esi, 8
jne 0x100d8d54
mov ecx, dword [ebx]
call fcn.100bb778
test al, al
je 0x100d8dc4
or byte [edi + 0x34a], 1
mov ecx, dword [ebx]
call fcn.100bb848
test al, al
jmp 0x100d8e22
mov edi, dword [ebp + 8]
or byte [edi + 0x334], 0xf
mov eax, dword [ebx]
lea ecx, [eax + 0x16064]
xor edx, edx
lea esi, [edx + 1]
cmp byte [ecx], 0
je 0x100d8df3
or byte [edi + edx*2 + 0x336], 0xf
add ecx, 0x14
mov edx, esi
cmp esi, 1
je 0x100d8de3
lea ecx, [eax + 0x1608c]
xor edx, edx
cmp byte [ecx], 0
je 0x100d8e12
or byte [edi + edx*2 + 0x33a], 0xf
inc edx
add ecx, 0x14
cmp edx, 8
jne 0x100d8e05
cmp byte [eax + 0x16050], 0
mov esi, ebx
je 0x100d8e2d
or byte [edi + 0x34a], 2
mov ecx, dword [esi]
call fcn.100bc53a
movzx eax, ax
cmp eax, 0x2ff
ja 0x100d8e53
or byte [edi + 0x337], 0xf
or byte [edi + 0x339], 0xf
or byte [edi + 0x34b], 1
xor eax, eax
xor ecx, ecx
xor ecx, dword [edi + eax*4]
inc eax
cmp eax, 0xde
jne 0x100d8e57
mov dword [edi + 0x378], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d7611
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 8