Function at 0x1000d200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dcd5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10050008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub esi, edx
cmp esi, 0x17
jb 0x1000d409
mov eax, dword [edx]
mov ecx, dword [edx + 0x13]
mov bl, byte [edx + 0x12]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x44], eax
mov al, byte [edx + 0x10]
mov byte [ebp - 0x25], al
mov al, byte [edx + 0x11]
mov byte [ebp - 0x26], al
lea eax, [ecx + 0x17]
mov byte [ebp - 0x27], bl
cmp eax, esi
jb 0x1000d409
xor edi, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea esi, [edx + 0x17]
mov byte [ebp - 4], 1
lea eax, [edx + 0x17]
add esi, ecx
mov dword [ebp - 0x2c], eax
sub esi, eax
je 0x1000d2b9
push esi
lea ecx, [ebp - 0x20]
call fcn.1000da80
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
push esi
push eax
push edi
call fcn.1002cce0
mov edx, dword [ebp - 0x20]
add esi, edi
mov eax, esi
mov dword [ebp - 0x1c], esi
add esp, 0xc
xor ecx, ecx
sub eax, edx
je 0x1000d2e9
xor byte [edx + ecx], bl
lea eax, [edx + ecx]
mov esi, dword [ebp - 0x1c]
inc ecx
mov edx, dword [ebp - 0x20]
mov eax, esi
sub eax, edx
cmp ecx, eax
jb 0x1000d2d4
sub esi, edx
lea eax, [esi + esi*4]
shl eax, 2
mov dword [ebp - 0x2c], eax
lea esi, [eax + 2]
push esi
call fcn.10029e50
add esp, 4
mov ebx, eax
mov dword [ebp - 0x30], ebx
push esi
push 0
push ebx
call fcn.1002b7f0
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, edx
mov dword [ebp - 0x24], ecx
mov ecx, ebx
push eax
push edx
lea edx, [ebp - 0x2c]
call fcn.10007770
add esp, 8
test eax, eax
je 0x1000d34d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push eax
push ecx
push ebx
call fcn.1002cce0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
sub eax, dword [ebp - 0x20]
jmp 0x1000d350
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
add ebx, eax
mov ecx, dword [ebp - 0x38]
lea edi, [edx + 0x18]
sub ebx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0xc], ecx
mov cl, byte [ebp - 0x25]
mov byte [edx + 0x10], cl
mov cl, byte [ebp - 0x26]
mov byte [edx + 0x11], cl
mov cl, byte [ebp - 0x27]
mov byte [edx + 0x12], cl
mov ecx, dword [edi]
mov dword [edx + 0x14], eax
mov dword [edi + 4], ecx
mov eax, dword [edi + 8]
sub eax, ecx
cmp ebx, eax
jbe 0x1000d39d
push ebx
mov ecx, edi
call fcn.1000da80
mov esi, dword [edi]
push ebx
push dword [ebp - 0x30]
push esi
call fcn.1002cce0
add esp, 0xc
lea eax, [ebx + esi]
mov dword [edi + 4], eax
push dword [ebp - 0x30]
call fcn.10029e4b
mov ecx, dword [ebp - 0x20]
add esp, 4
mov bl, 1
test ecx, ecx
je 0x1000d404
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000d3e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d456
push edx
push ecx
call fcn.10029e89
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp + 8]
jmp 0x1000d40b
xor bl, bl
test edx, edx
je 0x1000d438
mov ecx, dword [ebp + 0x10]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1000d42e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d456
push ecx
push edx
call fcn.10029e89
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10029d1b
mov esp, ebp
pop ebp
ret
call fcn.10030588
int3