Function at 0xc9c900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [eax], 0
call fcn.00c9db00
test eax, eax
jne 0xc9cf5e
mov ebx, dword [ebp + 8]
cmp dword [0xa16ed4], eax
jne 0xc9c933
xor edi, edi
jmp 0xc9c953
test ebx, 0x8000
je 0xc9c93f
xor edi, edi
jmp 0xc9c953
mov edi, dword [0xa16ed8]
test ebx, 0x10000
mov eax, 1
cmovne edi, eax
test ebx, 0x40000
je 0xc9c963
and ebx, 0xfffdffff
jmp 0xc9c972
cmp dword [0xa16f84], 0
je 0xc9c972
or ebx, 0x20000
and ebx, 0xfffe00e7
push 0x1d8
mov dword [ebp + 8], ebx
call fcn.00cebcf0
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
test esi, esi
je 0xc9cf48
push 0x1d8
push 0
push esi
call fcn.00bd75b0
add esp, 0xc
test edi, edi
je 0xc9c9eb
cmp dword [0xa16ed4], 0
jne 0xc9c9c9
push esi
mov dword [esi + 0x44], 0
call fcn.00ceb990
add esp, 4
xor ecx, ecx
jmp 0xc9cf4a
push 1
call dword [0xa16f10]
add esp, 4
mov dword [esi + 0x44], eax
test eax, eax
jne 0xc9c9eb
push esi
call fcn.00ceb990
add esp, 4
xor ecx, ecx
jmp 0xc9cf4a
mov eax, dword [esi + 0x44]
test eax, eax
je 0xc9c9fc
push eax
call dword [0xa16f18]
add esp, 4
mov dword [esi + 0x18], 0xff
lea eax, [esi + 0x1a0]
mov dword [esi + 4], 2
mov dword [esi + 0x38], 0xf03b7906
mov dword [esi + 8], eax
movups xmm0, xmmword [0x9fc000]
movups xmmword [esi + 0x48], xmm0
movups xmm0, xmmword [0x9fc010]
movups xmmword [esi + 0x58], xmm0
movq xmm0, qword [0x9fc020]
movq qword [esi + 0x68], xmm0
mov eax, dword [0x9fc028]
or dword [esi + 0xc], 0x8040
mov dword [esi + 0x70], eax
mov byte [esi + 0x1c], 1
mov byte [esi + 0x21], 0xff
mov dword [esi + 0x24], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x110], 0
call fcn.00cec4c0
mov dword [esi], eax
test eax, eax
jne 0xc9cb19
push eax
push 0xa012bc
push 1
push esi
call fcn.00ce91d0
add esp, 0x10
mov edi, esi
mov eax, dword [esi + 0x44]
test eax, eax
je 0xc9cada
push eax
call dword [0xa16f20]
add esp, 4
mov eax, dword [esi + 0x38]
cmp eax, 0x4b771290
je 0xc9cf1b
cmp eax, 0xa029a697
je 0xc9cf1b
cmp eax, 0xf03b7906
je 0xc9cf1b
mov eax, dword [ebp - 0x10]
mov ebx, 0x15
mov dword [esi + 0x38], 0x4b771290
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push 0x98bae0
push 0
push 1
push 1
mov edx, 0xa008b0
mov ecx, esi
call fcn.00c9cf70
add esp, 0x10
mov edx, 0xa008b0
mov ecx, esi
push 0x98bae0
push 0
push 1
push 3
call fcn.00c9cf70
add esp, 0x10
mov edx, 0xa008b0
mov ecx, esi
push 0x98bae0
push 0
push 1
push 2
call fcn.00c9cf70
add esp, 0x10
mov edx, 0xa012cc
mov ecx, esi
push 0x98bae0
push 1
push 0
push 1
call fcn.00c9cf70
add esp, 0x14
mov edi, esi
cmp byte [esi + 0x1e], 0
jne 0xc9cac9
mov edi, 0xa008b0
inc edi
cmp byte [edi], 0
jne 0xc9cb93
sub edi, 0xa008b0
lea eax, [esi + 0x180]
and edi, 0x3fffffff
cmp dword [eax + 0xc], 0
je 0xc9cc00
mov ecx, 0xa008b0
xor eax, eax
mov dword [ebp - 8], ecx
test edi, edi
je 0xc9cbf0
xor ebx, ebx
mov esi, edi
movzx eax, byte [ecx]
dec esi
lea ecx, [ebx*8]
movzx edx, byte [eax + 0x9fc740]
xor edx, ecx
mov ecx, dword [ebp - 8]
inc ecx
xor ebx, edx
mov dword [ebp - 8], ecx
test esi, esi
jg 0xc9cbc3
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x180]
lea eax, [esi + 0x180]
jmp 0xc9cc02
xor edx, edx
push edx
push edi
mov edx, 0xa008b0
mov ecx, eax
call fcn.00ce7db0
add esp, 8
test eax, eax
je 0xc9cc1c
mov eax, dword [eax + 8]
jmp 0xc9cc1e
xor eax, eax
push ecx
push 0x98bab0
push 0
push 2
push 1
mov edx, 0xa012d4
mov dword [esi + 0x2c], eax
mov ecx, esi
call fcn.00c9cf70
mov eax, dword [esi + 8]
add esp, 0x14
mov edx, dword [ebp - 4]
add eax, 4
mov dword [esi + 0x10], ebx
mov ecx, esi
or ebx, 0x100
push eax
push ebx
push 0x7d0
push 0
call fcn.00c9d1d0
add esp, 0x10
test eax, eax
je 0xc9cc83
cmp eax, 0xc0a
mov ecx, 7
push 0
cmove eax, ecx
push eax
push esi
call fcn.00ce91d0
add esp, 0xc
jmp 0xc9cac7
mov edx, dword [esi + 8]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.00cbd620
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.00cbd620
mov ecx, dword [esi + 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [eax], 0xa012dc
mov eax, dword [esi + 8]
mov byte [eax + 9], 3
mov eax, dword [esi + 8]
mov dword [eax + 0x10], 0xa012e4
mov eax, dword [esi + 8]
mov byte [eax + 0x19], 1
cmp byte [esi + 0x1e], 0
mov dword [esi + 0x38], 0xa029a697
jne 0xc9cac7
push 0
push 0
push esi
call fcn.00ce91d0
add esp, 4
mov edx, 0x9ff730
mov ecx, esi
push 0x9b3560
push 0
push 1
push 2
call fcn.00c9d310
add esp, 0x18
cmp byte [esi + 0x1e], 0
jne 0xc9cda4
mov edi, 0xa00298
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0xc9cd10
mov eax, dword [esi + 0x44]
sub edi, 0xa00298
and edi, 0x3fffffff
test eax, eax
je 0xc9cd33
push eax
call dword [0xa16f18]
add esp, 4
push 0
push 1
push 2
push edi
mov edx, 0xa00298
mov ecx, esi
call fcn.00cbd7d0
add esp, 0x10
test eax, eax
jne 0xc9cd69
sub esp, 8
mov edx, 0xa00298
mov ecx, esi
push 0x9c2870
push eax
push 1
push 2
call fcn.00c9d310
add esp, 0x18
xor eax, eax
cmp byte [esi + 0x1e], al
je 0xc9cd85
push eax
push 7
push esi
call fcn.00ce91d0
add esp, 0xc
mov byte [esi + 0x1e], 0
mov eax, 7
mov edi, dword [esi + 0x18]
and edi, eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0xc9cd9b
push eax
call dword [0xa16f20]
add esp, 4
cmp edi, 7
jne 0xc9cda4
mov byte [esi + 0x1e], 1
cmp dword [0xa1956c], 0
mov dword [ebp - 8], 1
je 0xc9cec1
xor ebx, ebx
mov dword [ebp - 0xc], ebx
nop dword [eax]
cmp dword [0xa16ed4], 0
jne 0xc9cdcd
xor edi, edi
jmp 0xc9cde8
push 2
call dword [0xa16f10]
mov edi, eax
add esp, 4
test edi, edi
je 0xc9cde8
push edi
call dword [0xa16f18]
add esp, 4
cmp ebx, dword [0xa1956c]
jl 0xc9cdf7
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0xc9cdff
mov eax, dword [0xa19570]
mov ebx, dword [eax + ebx*4]
test edi, edi
je 0xc9ce0d
push edi
call dword [0xa16f20]
add esp, 4
xor edi, edi
mov dword [ebp - 4], edi
test ebx, ebx
je 0xc9ce42
push 0x9fc4c8
lea eax, [ebp - 4]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0xc9ce3f
push dword [ebp - 4]
push 0xa004b4
push 1
push esi
call fcn.00ce91d0
add esp, 0x10
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
test edi, edi
je 0xc9ceb0
cmp dword [0xa16ed0], 0
je 0xc9cea6
mov eax, dword [0xa19800]
test eax, eax
je 0xc9ce62
push eax
call dword [0xa16f18]
add esp, 4
push edi
call dword [0xa16ef4]
mov ecx, dword [0xa19688]
neg eax
add ecx, eax
add esp, 4
mov dword [0xa19688], ecx
cmp ecx, dword [0xa196ac]
jle 0xc9ce8a
mov dword [0xa196ac], ecx
push edi
call dword [0xa16eec]
mov eax, dword [0xa19800]
add esp, 4
test eax, eax
je 0xc9ceb0
push eax
call dword [0xa16f20]
jmp 0xc9cead
push edi
call dword [0xa16eec]
add esp, 4
mov ebx, dword [ebp - 0xc]
inc ebx
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], ebx
jne 0xc9cdc0
mov eax, dword [esi + 0x38]
mov edi, esi
cmp eax, 0x4b771290
je 0xc9cedf
cmp eax, 0xa029a697
je 0xc9cedf
cmp eax, 0xf03b7906
jne 0xc9cac9
cmp byte [esi + 0x1e], 0
jne 0xc9cac9
mov eax, dword [esi + 0x18]
and eax, dword [esi + 0x14]
jne 0xc9cac9
push eax
push eax
push esi
call fcn.00ce91d0
add esp, 0xc
mov ecx, esi
push dword [0xa16ee4]
push dword [0xa16ee0]
call fcn.00c9d7d0
add esp, 8
jmp 0xc9cac9
cmp byte [esi + 0x1e], 0
mov ecx, edi
jne 0xc9cf4a
mov ebx, dword [esi + 0x18]
and ebx, dword [esi + 0x14]
cmp ebx, 7
je 0xc9cf4f
test ebx, ebx
je 0xc9cf56
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x38], 0x4b771290
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov ebx, 7
call fcn.00cecd10
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
movzx eax, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret