Function at 0x10029f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009354c
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x100bb084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
movzx eax, word [edi + 0x138]
xor ecx, ecx
movzx edx, word [edi + 0x136]
movaps xmm0, xmmword [0x100afc00]
push eax
mov word [edi + 0x13e], dx
mov word [edi + 0x140], ax
push edx
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x377a3b36
mov byte [ebp - 0x38], 0
mov al, byte [ebp - 0x4c]
xor byte [ebp + ecx - 0x4b], al
inc ecx
cmp ecx, 0x13
jb 0x10029fd6
sub esp, 0x18
mov byte [ebp - 0x38], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002a004
mov eax, dword [edx]
jmp 0x1002a006
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x4b], 0
jne 0x1002a013
xor ecx, ecx
jmp 0x1002a029
lea ecx, [ebp - 0x4b]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a020
sub ecx, esi
push ecx
lea eax, [ebp - 0x4b]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xac]
push eax
call fcn.100043b0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002a055
mov edx, dword [edx]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp byte [edx], 0
jne 0x1002a070
xor ecx, ecx
jmp 0x1002a07e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a075
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.10004a40
mov byte [ebp - 4], 1
mov esi, dword [edi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1002a0ae
push 4
push esi
call ebx
test eax, eax
jne 0x1002a0ae
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call dword [0x100ad8f4]
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x1002a0c3
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.100048f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
cmp eax, 0x10
jb 0x1002a0fa
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.100048f0
lea ecx, [edi + 0x12a]
mov dword [ebp - 0x98], 0xf
mov edx, 3
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
lea esi, [edi + 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
nop dword [eax]
movzx eax, word [ecx - 6]
mov dword [esi], eax
mov ax, word [ecx]
mov word [esi + 4], ax
mov al, byte [edi + 0x13b]
mov byte [esi + 6], al
mov eax, dword [esi]
test eax, eax
je 0x1002a159
push eax
call dword [0x100ad84c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x1002a34d
movzx eax, word [esi + 4]
mov cl, 0x6e
push eax
mov dword [ebp - 0x34], 0x1b266e
xor eax, eax
mov dword [ebp - 0x30], 0x4e434e1a
mov dword [ebp - 0x2c], 0x4e414e5e
mov word [ebp - 0x28], 0xa4b
mov byte [ebp - 0x26], 0
nop dword [eax]
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xd
jae 0x1002a19f
mov cl, byte [ebp - 0x34]
jmp 0x1002a190
sub esp, 0x18
mov byte [ebp - 0x26], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002a1c0
mov eax, dword [edx]
jmp 0x1002a1c2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x1002a1cf
xor ecx, ecx
jmp 0x1002a1de
lea ecx, [ebp - 0x33]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a1d5
sub ecx, edi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xc4]
push eax
call fcn.100043b0
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x1002a20a
mov edx, dword [edx]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp byte [edx], 0
jne 0x1002a225
xor ecx, ecx
jmp 0x1002a239
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a230
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x7c]
call fcn.10004a40
mov byte [ebp - 4], 3
mov edi, dword [esi + 0xc]
test edi, edi
je 0x1002a263
push 4
push edi
call ebx
test eax, eax
jne 0x1002a263
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call dword [0x100ad8f4]
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x1002a278
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.100048f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
cmp eax, 0x10
jb 0x1002a2af
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.100048f0
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
test edi, edi
je 0x1002a2e4
push 4
push edi
call ebx
test eax, eax
jne 0x1002a2e4
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100ad8fc]
movzx eax, word [esi + 4]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x1002a543
push 4
push edi
call ebx
test eax, eax
jne 0x1002a543
push 4
lea ebx, [edi + 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a53d
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a53d
mov eax, dword [ebp - 0x1c]
mov ecx, edi
mov dword [ebx], 0
mov dword [edi + 0x124], eax
call dword [0x100ad8e0]
jmp 0x1002a53d
cmp dword [esi], 1
jne 0x1002a54c
cmp byte [esi + 6], 0
je 0x1002a54c
movzx eax, word [esi + 4]
mov dh, 0x20
push eax
mov dl, 0xf
mov byte [ebp - 0x24], dh
xor bl, bl
xor dl, dh
mov byte [ebp - 0x1d], bl
xor cl, cl
mov byte [ebp - 0x21], dl
mov al, 0x10
mov ah, 5
mov byte [ebp - 0x1d], 0
mov ch, 0x44
xor al, dh
xor cl, dh
mov byte [ebp - 0x23], al
xor bl, dh
mov byte [ebp - 0x22], cl
xor ah, dh
mov byte [ebp - 0x20], bl
xor ch, dh
mov byte [ebp - 0x1f], ah
sub esp, 0x18
mov byte [ebp - 0x1e], ch
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002a3b8
mov eax, dword [edx]
jmp 0x1002a3ba
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x1002a3c7
xor ecx, ecx
jmp 0x1002a3d9
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a3d0
sub ecx, edi
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.10004a40
lea eax, [ebp - 0xdc]
push eax
call fcn.100043b0
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x1002a405
mov edx, dword [edx]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp byte [edx], 0
jne 0x1002a426
xor ecx, ecx
jmp 0x1002a439
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a430
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x94]
call fcn.10004a40
mov byte [ebp - 4], 5
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1002a46f
push 4
push edi
call ebx
test eax, eax
jne 0x1002a46f
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call dword [0x100ad8f4]
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1002a48a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.100048f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
cmp eax, 0x10
jb 0x1002a4c7
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.100048f0
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
test edi, edi
je 0x1002a4fc
push 4
push edi
call ebx
test eax, eax
jne 0x1002a4fc
push 0xffffffffffffffff
mov ecx, edi
call dword [0x100ad8fc]
movzx eax, word [esi + 4]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x1002a543
push 4
push edi
call ebx
test eax, eax
jne 0x1002a543
push 4
lea ebx, [edi + 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a53d
lea eax, [edi + 0x124]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1002a331
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, 2
add esi, 0x18
sub edx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jne 0x1002a130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret