Function at 0x1000d72c
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x1001e54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
mov esi, ecx
push 0x1002d5a4
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], esi
call fcn.1001c85c
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x118]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
push edx
push ebx
push eax
push 0x80000002
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x40], 0x10029d18
mov dword [esp + 0x44], 0x10029d14
mov dword [esp + 0x48], 0x10029d10
mov dword [esp + 0x4c], 0x10029d0c
mov dword [esp + 0x50], 0x10029d08
mov dword [esp + 0x54], 0x10029d04
mov dword [esp + 0x58], 0x10029d00
mov dword [esp + 0x5c], 0x10029cfc
mov dword [esp + 0x60], 0x10029cf8
mov dword [esp + 0x64], 0x10029cf4
mov dword [esp + 0x68], 0x10029cf0
mov dword [esp + 0x6c], 0x10029cec
mov dword [esp + 0x70], 0x10029ce8
mov dword [esp + 0x74], 0x10029ce4
mov dword [esp + 0x78], 0x10029ce0
mov dword [esp + 0x7c], 0x10029cdc
mov dword [esp + 0x80], 0x10029cd8
mov dword [esp + 0x84], 0x10029cd4
mov dword [esp + 0x88], 0x10029cd0
mov dword [esp + 0x8c], 0x10029ccc
mov dword [esp + 0x90], 0x10029cc8
mov dword [esp + 0x94], 0x10029cc4
mov dword [esp + 0x98], 0x100289c0
mov dword [esp + 0x9c], 0x10029cc0
mov dword [esp + 0xa0], ebx
call dword [0x10020004]
test eax, eax
jne 0x1000d9c9
push ebp
push edi
push 0xa4
mov dword [esp + 0x18], 0xa4
call dword [0x10020348]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x20], esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push ebx
push 0x10029cac
push ecx
call dword [section..rdata]
test eax, eax
jne 0x1000d8c8
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x34]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
mov cx, word [eax + 0xc]
mov dword [esp + 0x2c], edx
mov dl, byte [eax + 0xe]
mov word [esp + 0x30], cx
mov byte [esp + 0x32], dl
mov ebx, dword [0x100202f8]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
mov ebp, 0x18
xor esi, esi
mov edi, 0xe
shl esi, 8
xor eax, eax
mov ecx, esi
mov al, byte [esp + edi + 0x24]
xor ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov byte [esp + edi + 0x24], dl
mov ecx, 0x18
cdq
idiv ecx
dec edi
mov esi, edx
jns 0x1000d8ea
lea edx, [esp + 0x98]
push edx
call ebx
mov edi, dword [esp + esi*4 + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x9c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov eax, ebp
mov ecx, 5
cdq
idiv ecx
add esp, 8
test edx, edx
jne 0x1000d9bc
test ebp, ebp
je 0x1000d9bc
lea edx, [esp + 0x98]
push edx
call ebx
mov edi, 0x10029ca8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x9c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
add esp, 8
dec ebp
jns 0x1000d8e3
mov esi, dword [esp + 0x1c]
pop edi
pop ebp
lea ecx, [esp + 0x90]
lea edx, [esp + 8]
push ecx
push 0x10029ca4
push edx
call fcn.1001c87a
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [0x1002000c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000da00
push eax
call dword [0x10020320]
add esp, 4
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x80]
call fcn.1001c88c
lea ecx, [esp + 8]
mov dword [esp + 0x198], 0xffffffff
call fcn.1001c862
mov ecx, dword [esp + 0x190]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x194
ret