Function at 0x1c9fb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1cf7014]
xor eax, ebp
mov dword [esp + 0x1c8], eax
test ebx, ebx
je 0x1c9fdde
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
call fcn.01cae940
test eax, eax
je 0x1c9fba5
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
jmp 0x1c9fbb7
lea eax, [esp + 0x1a0]
push 0x20
push eax
call fcn.01cae970
add esp, 8
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax]
xor byte [esp + eax + 0x1a0], cl
inc eax
cmp eax, 0x20
jne 0x1c9fbc0
lea eax, [esp + 0x78]
push 0x128
push 0xff
push eax
call fcn.01cb3330
add esp, 0xc
push 1
call fcn.01cae490
add esp, 4
test eax, eax
je 0x1c9fc16
mov esi, eax
add eax, 0x120
mov dword [esp + 4], eax
cmp dword [esi + 0x120], 0xfff
jbe 0x1c9fccb
jmp 0x1c9fcd9
push 0x128
call fcn.01cae8a0
add esp, 4
test eax, eax
je 0x1c9fc3d
mov esi, eax
push 0x1ca0770
push eax
push 1
call fcn.01cae530
add esp, 0xc
test eax, eax
jne 0x1c9fc41
lea esi, [esp + 0x78]
mov dword [esi + 0x124], 0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x10], xmm0
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.01cae970
add esp, 8
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x48]
push eax
push esi
call fcn.01c9fff0
add esp, 0x10
test eax, eax
je 0x1c9fdf4
lea eax, [esi + 0x120]
mov dword [esp + 4], eax
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
mov eax, dword [esi + 0x118]
or eax, dword [esi + 0x11c]
je 0x1c9fd48
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
lea eax, [esp + 0x40]
push 0x30
push eax
call fcn.01cae970
add esp, 8
mov ecx, esi
lea edx, [esp + 0x40]
push 0x30
call fcn.01ca0280
add esp, 4
test eax, eax
je 0x1c9fdf4
mov dword [esi + 0x110], 1
mov dword [esi + 0x114], 0
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
cmp ebx, 0x10000
mov ecx, 0x10000
cmovb ecx, ebx
lea eax, [esp + 0x1a0]
push 0x20
push eax
mov dword [esp + 0x14], ecx
push ecx
push edi
mov dword [esp + 0x18], esi
push esi
call fcn.01ca0540
add esp, 0x14
test eax, eax
je 0x1c9fdf4
mov eax, dword [esp + 4]
inc dword [eax]
mov eax, dword [esp + 0xc]
sub ebx, eax
je 0x1c9fdc6
add edi, eax
nop word [eax + eax]
cmp ebx, 0x10000
mov esi, 0x10000
cmovb esi, ebx
push 0
lea eax, [esp + 0x1a4]
push eax
push esi
push edi
push dword [esp + 0x18]
call fcn.01ca0540
add esp, 0x14
test eax, eax
je 0x1c9fdf4
add edi, esi
mov eax, dword [esp + 4]
inc dword [eax]
sub ebx, esi
jne 0x1c9fd90
lea eax, [esp + 0x78]
cmp dword [esp + 8], eax
jne 0x1c9fdde
push 0x118
push eax
call fcn.01cae920
add esp, 8
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.01cb0ac3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.01cc3c50
int3