Function at 0x1007daf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
mov esi, edx
mov eax, ecx
mov dword [esp + 0x18], eax
push edi
mov edx, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1007db2a
mov ecx, dword [edx + 0x84]
jmp 0x1007db2c
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
je 0x1007dd16
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x84]
mov edi, dword [eax + 0x10]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
je 0x1007db7c
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x1007db6c
mov eax, dword [ecx + 8]
mov eax, dword [eax]
jmp 0x1007db6e
xor eax, eax
mov eax, dword [eax]
cmp edi, dword [eax + 0xc]
jae 0x1007db7c
mov ebx, 0xffff
jmp 0x1007db9e
push 1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.10099ab0
test al, al
je 0x1007dd16
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
cmp edi, dword [esi + 4]
jae 0x1007dd16
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1007dbb6
mov edx, dword [ecx + 0x84]
jmp 0x1007dbb8
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx eax, ax
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1007dbd5
mov ecx, dword [ecx + 0x84]
jmp 0x1007dbd7
xor ecx, ecx
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x18]
push edx
push eax
call fcn.10097c50
test al, al
je 0x1007dd16
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1007dbfe
mov ecx, dword [eax + 0x84]
jmp 0x1007dc00
xor ecx, ecx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.10097c50
test al, al
je 0x1007dd16
cmp bx, word [esp + 0x10]
jne 0x1007dd16
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x14]
jne 0x1007dd16
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0x1e80007
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esp + 0x90], 0x3000200
push 7
push eax
mov dword [esp + 0x9c], 0x5000400
mov word [esp + 0xa0], 0x65d
mov byte [esp + 0xa2], 0x81
mov dword [esp + 0x18], eax
call fcn.1001cbe0
test al, al
je 0x1007dd16
mov ecx, esi
call fcn.100952c0
cmp dword [eax + 4], 0x73686974
jne 0x1007dd16
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push edi
mov dword [esp + 0x10], 0
push dword [eax + 4]
push dword [eax]
call fcn.1001d150
push edi
lea ecx, [esp + 0x2c]
call fcn.1001d110
lea ebx, [edi + 0x28]
mov esi, edi
cmp edi, ebx
jae 0x1007dd2d
jmp 0x1007dcd0
lea edx, [esp + 0x1b]
lea ecx, [esp + 0x28]
call fcn.100ae1f0
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 4]
ja 0x1007dd16
test eax, eax
je 0x1007dd16
mov ecx, dword [esp + 0x20]
cmp byte [esi + ecx], 0xe9
je 0x1007dcfc
add esi, eax
cmp esi, ebx
jb 0x1007dcd0
jmp 0x1007dd31
mov edx, dword [esi + ecx + 1]
mov eax, dword [esp + 0x1c]
add edx, 5
add edx, esi
mov dword [esp + 0xc], edx
cmp edx, dword [eax + 4]
ja 0x1007dd16
cmp edx, edi
jae 0x1007dd31
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
lea edi, [esp + 0xac]
mov eax, dword [esp + 0x10]
add esi, ecx
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movzx edx, byte [eax + 0x25a]
xor eax, eax
movsb byte es:[edi], byte [esi]
xor byte [esp + eax + 0xac], dl
inc eax
cmp eax, 0x1d
jb 0x1007dd53
mov dword [esp + 0x8c], 0xa164
xor ecx, ecx
mov dword [esp + 0x90], 0xd88b0000
mov dword [esp + 0x94], 0xf883008b
mov dword [esp + 0x98], 0xeb0274ff
mov dword [esp + 0x9c], 0x4c383f5
mov dword [esp + 0xa0], 0xe3811b8b
mov dword [esp + 0xa4], 0xffff0000
mov byte [esp + 0xa8], 0x66
jmp 0x1007ddc0
mov al, byte [esp + ecx + 0xac]
cmp al, byte [esp + ecx + 0x8c]
jne 0x1007dd16
inc ecx
cmp ecx, 0x1d
jb 0x1007ddc0
mov ecx, dword [esp + 0xcc]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret