Function at 0x1000d857
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xd0
mov ebp, dword [esp + 0xec]
lea eax, [0x10054306]
lea ecx, [esp + 0xc]
mov dword [ecx], eax
mov eax, dword [ecx]
mov dword [ecx], 0xee72887d
lea esi, [esp + 0xc]
push dword [esi]
push eax
call fcn.10007363
add esp, 8
xorps xmm0, xmm0
movups xmmword [esi + 0xc], xmm0
movups xmmword [esi], xmm0
mov ecx, 0xfffffffc
mov edx, dword [ecx + 0x100556c8]
xor edx, dword [eax + ecx + 4]
mov dword [esp + ecx + 0x10], edx
add ecx, 4
cmp ecx, 0x18
jb 0x1000d89a
mov al, byte [eax + 0x1c]
xor al, 0xf4
mov byte [esp + 0x28], al
movups xmm0, xmmword [esp + 0xc]
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [esp + 0x19]
movups xmmword [esp + 0xa5], xmm0
xor ebx, ebx
push ebx
push ebp
call fcn.100101fa
add esp, 8
mov esi, eax
mov edi, edx
push ebp
push dword [esp + 0xec]
push edx
call fcn.10045a70
add esp, 0xc
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
push ebx
mov ebp, dword [esp + 0xf8]
push ebp
call fcn.100101fa
add esp, 8
mov edi, eax
mov esi, edx
push ebp
push dword [esp + 0xf4]
push edx
call fcn.10045a70
add esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
push ebx
push 0x80
call fcn.100101fa
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x48]
lea edi, [esp + 0xc]
mov dword [eax - 4], edi
lea ecx, [esp + 0x44]
lea ebx, [esp + 0x2c]
push ebp
push esi
push eax
push ecx
push ebx
call fcn.10005fa5
add esp, 0x14
cmp byte [ebx], 4
jne 0x1000db8d
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
cmp eax, 0x80000000
jne 0x1000d9c9
push esi
call fcn.10005f48
add esp, 4
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
mov esi, esp
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea esi, [esp + 0x34]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
jmp 0x1000daa1
mov ebp, dword [esp + 0x14]
lea ebx, [esp + 0x5c]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
push 0
push ebp
call fcn.100101fa
add esp, 8
mov dword [esp + 0x40], eax
mov edi, edx
push ebp
push esi
push edx
call fcn.10045a70
add esp, 0xc
lea esi, [esp + 0x50]
mov eax, dword [esp + 0x40]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], ebp
push ebx
call fcn.10001590
add esp, 4
push ebx
call fcn.10010490
add esp, 4
lea ebx, [esp + 0x68]
mov eax, dword [esp + 0xe4]
push dword [eax + 8]
push dword [eax + 4]
push ebp
push edi
push ebx
call fcn.10016574
add esp, 0x14
lea edi, [esp + 0x8c]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x10055562
push edi
call fcn.100021cc
add esp, 0x10
push ebx
call fcn.10001590
add esp, 4
push ebx
call fcn.10010490
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [edi - 4], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [edi - 0xc], xmm0
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
mov ebp, esp
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
cmp dword [edi - 0xc], 0x80000000
jne 0x1000dae0
xor eax, eax
push eax
push eax
push 1
call fcn.1001c530
add esp, 0xc
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
push esi
call dword [edi]
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x1000db82
push dword [edi + 8]
push eax
push esi
call fcn.1000f0d0
add esp, 0xc
jmp 0x1000db82
movsd xmm0, qword [esp + 0x90]
lea edi, [esp + 0xb8]
movsd qword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [edi], xmm0
xor ebp, ebp
push ebp
push 0x80
call fcn.100101fa
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
lea ebp, [esp + 0xc]
mov dword [esp + 0x68], ebp
push ebx
push edi
call fcn.1000b402
add esp, 8
test eax, eax
je 0x1000db51
mov dword [esp + 4], eax
mov dword [esp], 0x80000000
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
jmp 0x1000db6d
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0xc]
movsd qword [esp], xmm0
cmp dword [esp], 0x80000000
jne 0x1000dbbd
lea ecx, [esp + 0xb8]
call fcn.1000b1df
lea ecx, [esp + 4]
call fcn.1000b249
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esp + 0x2c]
lea eax, [esp + 0x48]
movsd qword [eax], xmm0
push eax
call fcn.1005283c
add esp, 4
mov esi, eax
push edi
call fcn.10001590
add esp, 4
push edi
call fcn.10010490
add esp, 4
jmp 0x1000d983
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
movsd xmm0, qword [esp]
movsd qword [esp + 0x50], xmm0
mov eax, dword [section..data]
mov ecx, dword [0x1006b004]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
cmp byte [esp + 0xa3], 0xc0
jl 0x1000dd3a
cmp byte [esp + 0xa8], 0xbf
jle 0x1000dd3a
lea eax, [esp + 0xa3]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 5
cmp byte [eax + 0xb], 0xbf
jle 0x1000dd52
lea eax, [esp + 0xae]
mov edi, dword [esp + 0xe4]
add edi, 0xc
lea ecx, [esp + 0x34]
mov dword [ecx], eax
mov dword [ecx + 4], 7
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, fcn.100163d0
mov dword [esp + 0x10], eax
lea edx, [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0x10001fc0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], 0x100556e4
mov eax, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
push ebx
lea eax, [esp + 0x60]
push eax
call fcn.1003b790
add esp, 8
push dword [esp + 0xfc]
push dword [esp + 0xfc]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x74]
push dword [esp + 0x74]
push ebp
call fcn.100032d6
add esp, 0x1c
cmp dword [esp + 0xc], 0x80000000
jne 0x1000dcef
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
push edi
call dword [ebx]
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000dd01
push dword [ebx + 8]
push eax
push edi
call fcn.1000f0d0
add esp, 0xc
jmp 0x1000dd01
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
lea edi, [esp + 0x5c]
push edi
call fcn.10001590
add esp, 4
push edi
call fcn.10010490
add esp, 4
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea ecx, [esp + 0xb8]
call fcn.1000b1df
jmp 0x1000db82
lea eax, [esp + 0x98]
push 0x10055714
push 0x10
push 0xb
push 0x1d
push eax
call fcn.10053c30
mov eax, 0x1d
lea ecx, [esp + 0x98]
push 0x10055724
push eax
push 0x16
push eax
push ecx
call fcn.10053c30