Function at 0x9d1380
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa966c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x4e0
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x20], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
push 0x64000
mov dword [ebp - 0x20], 1
call fcn.00a6c240
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x3c], xmm0
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
push esi
push 0
push 0x1fffff
mov dword [ebp - 4], 1
nop
nop
nop
nop
nop
nop
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
jne 0x9d1482
push dword [ebp - 0x24]
call fcn.00a6c271
mov ecx, dword [ebp - 0x28]
add esp, 4
cmp ecx, 0x10
jb 0x9d146d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9d1463
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9d195e
push ecx
push edx
call fcn.00a6c232
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x208
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.00a6e210
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push dword [ebp - 0x24]
sub esp, 8
push 0
push 0
mov ecx, esi
call fcn.009d1150
add esp, 0x18
mov ecx, eax
add ecx, 0x208
mov dword [ebp - 0x44], ecx
mov ecx, edx
adc ecx, 0
mov dword [ebp - 0x48], ecx
test edx, edx
jne 0x9d14dd
test eax, eax
je 0x9d1921
test edx, edx
jne 0x9d14dd
cmp eax, 0xffff
jbe 0x9d14f3
push 0
push 0x208
lea ecx, [ebp - 0x2e8]
push ecx
push eax
push esi
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x2e8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9d1500
sub ecx, edx
lea eax, [ebp - 0x2e8]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.009f4cf0
cmp dword [ebp - 0x2c], 0x12c
jbe 0x9d18f3
xorps xmm0, xmm0
push 0x50
movups xmmword [ebp - 0x60], xmm0
call fcn.00a6bfb1
movups xmm0, xmmword [0xaafc70]
mov esi, eax
mov dword [ebp - 0x50], 0x41
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x4c], 0x4f
movups xmmword [esi], xmm0
movups xmm0, xmmword [0xaafc80]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0xaafc90]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0xaafca0]
movups xmmword [esi + 0x30], xmm0
mov al, byte [0xaafcb0]
mov byte [esi + 0x40], al
mov byte [esi + 0x41], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
mov edx, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
setae byte [ebp - 0x11]
push 0x41
push esi
push ecx
call fcn.009fa550
mov ecx, eax
add esp, 0xc
lea eax, [ebp - 0x3c]
cmp ecx, 0xffffffff
je 0x9d15ed
cmp dword [ebp - 0x2c], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0xac], xmm0
cmovb ecx, dword [ebp - 0x2c]
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xac]
push eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
call fcn.00992810
or dword [ebp - 0x20], 6
jmp 0x9d15fd
push eax
lea ecx, [ebp - 0xac]
call fcn.009f5110
or dword [ebp - 0x20], 2
push 0x50
push esi
call fcn.00a6c232
add esp, 8
cmp dword [ebp - 0x9c], 0
je 0x9d18b6
sub esp, 0x18
xorps xmm0, xmm0
mov esi, esp
mov dword [ebp - 0xb4], esp
push 1
movups xmmword [esi], xmm0
push 0xaaf830
push esi
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
call fcn.00a6dc90
add esp, 0xc
mov byte [esi + 1], 0
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0xab4c50]
movups xmmword [ebp - 0x92], xmm0
mov dword [ebp - 0x72], 0xd4c2d8dc
movaps xmm0, xmmword [0xab5480]
movups xmmword [ebp - 0x82], xmm0
mov dword [ebp - 0x6e], 0xfcd1a3c7
mov dword [ebp - 0x6a], 0xb7a8dfdf
mov word [ebp - 0x66], 0x100
mov al, cl
add al, 0x6e
xor byte [ebp + ecx - 0x92], al
inc ecx
cmp ecx, 0x2c
jb 0x9d1685
sub esp, 0x18
mov byte [ebp - 0x65], 0
mov edx, esp
mov dword [ebp - 0xb8], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x92]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9d16c2
sub ecx, esi
lea eax, [ebp - 0x92]
push ecx
push eax
mov ecx, edx
call fcn.00992810
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.009f5110
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.009d0c70
add esp, 0x48
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.00992540
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x9d1744
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9d173a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9d195e
push ecx
push edx
call fcn.00a6c232
add esp, 8
sub esp, 0x28
mov dword [ebp - 0x50], 0
mov eax, esp
mov dword [ebp - 0x4c], 0xf
lea edx, [ebp - 0xe0]
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0xc8]
push 0
push 1
mov dword [eax + 0x24], 0
call fcn.009f94b0
add esp, 0x30
mov byte [ebp - 4], 9
xor ecx, ecx
mov dword [ebp - 0x16], 0x31c07
mov byte [ebp - 0x12], 1
nop dword [eax + eax]
mov al, cl
add al, 0x6e
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 3
jb 0x9d1790
lea eax, [ebp - 0x16]
mov byte [ebp - 0x12], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.009f9120
cmp byte [eax], 3
jne 0x9d186d
mov dword [ebp - 0x1b], 0x31c07
xor eax, eax
mov byte [ebp - 0x17], 1
lea ecx, [eax + 0x6e]
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 3
jb 0x9d17c7
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x17], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.009f9120
lea ecx, [ebp - 0x60]
push ecx
mov ecx, eax
call fcn.009f9260
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x9d17fd
mov eax, dword [eax]
push 5
push 0xaafd3c
mov ecx, eax
call fcn.00a04d20
mov ecx, dword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x9d1848
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9d183b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9d195e
push ecx
push edx
call fcn.00a6c232
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x9d186d
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x3c]
push ecx
cmp eax, dword [edi + 8]
je 0x9d1865
mov ecx, eax
call fcn.009f5110
add dword [edi + 4], 0x18
jmp 0x9d186d
push eax
mov ecx, edi
call fcn.00a01cf0
lea ecx, [ebp - 0xc8]
call fcn.009f2bb0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0x10
jb 0x9d18b6
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9d18ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9d195e
push ecx
push edx
call fcn.00a6c232
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x98]
cmp ecx, 0x10
jb 0x9d18f0
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9d18e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x9d195e
push ecx
push edx
call fcn.00a6c232
add esp, 8
mov esi, dword [ebp - 0x40]
push 0x208
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.00a6e210
add esp, 0xc
lea eax, [ebp - 0x4f0]
push eax
push dword [ebp - 0x24]
sub esp, 8
push dword [ebp - 0x48]
push dword [ebp - 0x44]
jmp 0x9d14a9
push dword [ebp - 0x24]
call fcn.00a6c271
mov ecx, dword [ebp - 0x28]
add esp, 4
cmp ecx, 0x10
jb 0x9d146d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x9d1463
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x9d1463
call fcn.00a714d0
int3