Function at 0x1d46ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov eax, dword [0x1d8f008]
xor eax, ebp
mov dword [esp + 0x1c8], eax
cmp dword [ebp + 0xc], 0
je 0x1d46fff
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
call fcn.01cf0040
mov ebx, eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
movdqa xmmword [esp + 0x1a0], xmm0
xor eax, eax
mov cl, byte [esi + eax]
xor byte [esp + eax + 0x1a0], cl
inc eax
cmp eax, 0x20
jne 0x1d46f3c
lea eax, [esp + 0x70]
push 0x130
push 0xff
push eax
call fcn.01cc71b0
add esp, 0xc
push 1
call fcn.01d5c250
add esp, 4
test eax, eax
je 0x1d47015
mov esi, eax
add eax, 0x120
mov dword [esp + 8], eax
cmp dword [esi + 0x120], 0xfff
mov ecx, dword [ebp + 0xc]
mov edx, ebx
ja 0x1d470e5
mov eax, 0xc0ffee
xor eax, dword [esi + 0x118]
or eax, dword [esi + 0x11c]
jne 0x1d470e5
cmp dword [esi + 0x128], edx
jne 0x1d470e5
mov ebx, 0x10000
cmp ecx, ebx
cmovb ebx, ecx
lea eax, [esp + 0x1a0]
push 0x20
push eax
push ebx
mov dword [esp + 0x18], edi
push edi
push esi
mov edi, ecx
call fcn.01d48010
add esp, 0x14
test eax, eax
je 0x1d471a6
mov eax, dword [esp + 8]
inc dword [eax]
sub edi, ebx
jne 0x1d4715a
lea eax, [esp + 0x70]
cmp esi, eax
je 0x1d470d2
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.01cc3f9d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x130
call fcn.01d4af30
add esp, 4
test eax, eax
je 0x1d4719d
mov esi, eax
push 0x1d48240
push eax
push 1
call fcn.01d5c2f0
add esp, 0xc
test eax, eax
je 0x1d4719d
xor eax, eax
mov dword [esi + 0x124], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x40]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
pxor xmm0, xmm0
lea eax, [esp + 0x10]
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
push 0x30
push edi
call fcn.01d5c460
add esp, 8
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
push edi
push esi
call fcn.01d47e30
add esp, 0x10
test eax, eax
je 0x1d471a6
lea eax, [esi + 0x120]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], 0xc0ffee
mov edx, ebx
mov dword [esi + 0x128], ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jmp 0x1d46f95
push 0x118
push eax
call fcn.01d4afa0
add esp, 8
jmp 0x1d46fff
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x40]
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov edi, 0x30
push edi
push eax
call fcn.01d5c460
add esp, 8
mov ecx, esi
lea edx, [esp + 0x40]
push edi
call fcn.01d47ef0
add esp, 4
test eax, eax
je 0x1d471a6
xor eax, eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x110], 1
mov ecx, dword [esp + 8]
mov dword [ecx], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], 0xc0ffee
mov dword [esi + 0x128], ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jmp 0x1d46fb8
add dword [esp + 0xc], ebx
mov ecx, 0x10000
cmp edi, ecx
mov ebx, 0x10000
cmovb ebx, edi
push 0
lea ecx, [esp + 0x1a4]
push ecx
push ebx
push dword [esp + 0x18]
push esi
call fcn.01d48010
add esp, 0x14
test eax, eax
je 0x1d471a6
add dword [esp + 0xc], ebx
mov eax, dword [esp + 8]
inc dword [eax]
sub edi, ebx
je 0x1d46ff3
jmp 0x1d4715e
lea esi, [esp + 0x70]
jmp 0x1d47044
call fcn.01cd6e38
int3