Function at 0x1002dfd4
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x1004091e
call fcn.1003d701
mov esi, ecx
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x47
xor ebx, ebx
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], bl
call fcn.10003da4
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b4]
call fcn.1000d180
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003ba2
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x15
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003da4
mov dword [ebp - 4], 1
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1b8]
call fcn.1000d180
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003ba2
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x2d
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], bl
call fcn.10003da4
mov dword [ebp - 4], 2
lea edx, [ebp - 0x44]
mov ecx, dword [esi + 0x1bc]
call fcn.1000cdf2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10003ba2
mov ecx, dword [esi + 0x198]
call fcn.10008408
mov ebx, eax
test ebx, ebx
je 0x1002e2f7
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
mov ecx, ebx
mov edx, dword [esi + 0x198]
call fcn.1000842a
mov edi, eax
test edi, edi
je 0x1002e0da
cmp dword [edi + 0x3c], 0
je 0x1002e0da
push dword [esi + 0x198]
xor edx, edx
push edi
jmp 0x1002e0e4
push dword [esi + 0x198]
mov edx, ebx
push 0
lea ecx, [ebp - 0x44]
call fcn.100084fa
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10008b2b
lea ecx, [ebp - 0x44]
call fcn.10003ba2
mov ecx, dword [esi + 0x1bc]
lea edx, [ebp - 0x28]
call fcn.1000cdf2
push edi
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.1000871b
pop ecx
mov byte [ebp - 4], 4
mov edx, eax
mov ecx, dword [esi + 0x1ac]
call fcn.1000d180
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.10003ba2
mov eax, dword [esi + 0x1a4]
cmp eax, 1
jne 0x1002e1ce
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x74]
call fcn.1000af17
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0xf
jbe 0x1002e161
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004cf00]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x7c2a
mov ecx, ebx
mov byte [ebp - 0x2e], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x1002e17a
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003da4
lea eax, [ebp - 0x5c]
push eax
call fcn.100039ed
add esp, 0x20
mov byte [ebp - 4], 6
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d180
lea ecx, [ebp - 0x5c]
call fcn.10003ba2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.10003ba2
jmp 0x1002e259
cmp eax, 2
jne 0x1002e257
mov edx, dword [esi + 0x1a0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000af17
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0xf
jbe 0x1002e1f3
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004d900]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x2e78
mov ecx, ebx
mov byte [ebp - 0x2e], bl
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x11
jb 0x1002e20c
sub esp, 0x18
mov byte [ebp - 0x2e], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003da4
lea eax, [ebp - 0x74]
push eax
call fcn.100039ed
add esp, 0x20
mov byte [ebp - 4], 8
mov edx, eax
mov ecx, dword [esi + 0x1b4]
call fcn.1000d180
lea ecx, [ebp - 0x74]
call fcn.10003ba2
lea ecx, [ebp - 0x5c]
jmp 0x1002e1c0
xor ebx, ebx
mov edx, dword [esi + 0x19c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.1000af17
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 0xf
jbe 0x1002e275
mov eax, dword [eax]
movaps xmm0, xmmword [0x1004d4b0]
mov ecx, ebx
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x174144
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x1002e28a
sub esp, 0x18
mov byte [ebp - 0x2d], bl
lea eax, [ebp - 0x3f]
mov ecx, esp
push eax
call fcn.10003da4
lea eax, [ebp - 0x74]
push eax
call fcn.100039ed
add esp, 0x20
mov byte [ebp - 4], 0xa
mov edx, eax
mov ecx, dword [esi + 0x1b8]
call fcn.1000d180
lea ecx, [ebp - 0x74]
call fcn.10003ba2
lea ecx, [ebp - 0x5c]
call fcn.10003ba2
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
jbe 0x1002e2ea
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.10003b75
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov ecx, dword [esi + 0x1a8]
mov dl, 1
call fcn.1000c916
call fcn.1003d6bf
ret