Function at 0x41fbb0
Capabilities:
Encode data using xor
Print debug messages

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 0x4c78f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xac]
mov ecx, 0x4eea38
mov dword [ebp - 0xb0], eax
call fcn.0044eb80
mov esi, eax
mov dword [ebp - 0xb4], esi
test esi, esi
jne 0x41fc23
xor al, al
jmp 0x420040
mov edi, dword [ebp - 0xac]
xor ecx, ecx
lea edx, [ecx + 1]
cmp edi, edx
jbe 0x41fc4a
mov al, byte [ecx + 0x4dd178]
xor byte [edx + esi], al
lea eax, [ecx + 1]
inc edx
cmp eax, 0x40
sbb ecx, ecx
and ecx, eax
cmp edx, edi
jb 0x41fc32
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0xa4], esi
xor esi, esi
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 4], esi
cmp edi, 4
jb 0x41fc90
mov ecx, dword [eax]
mov esi, 4
mov dword [ebp - 0x9c], esi
jmp 0x41fc96
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0x48626941
je 0x41fca5
mov eax, str.label_error__x
jmp 0x41fcc9
lea edx, [esi + 4]
cmp edx, edi
ja 0x41fcb9
mov ecx, dword [esi + eax]
mov esi, edx
mov dword [ebp - 0x9c], esi
jmp 0x41fcbf
mov ecx, dword [ebp - 0xb0]
cmp ecx, 2
je 0x41fce5
mov eax, str.version_error__x
push ecx
push eax
push dword [ebp - 0xb0]
call fcn.0044d1b0
add esp, 0xc
mov byte [ebp - 0xa5], 0
jmp 0x420027
call fcn.00420dc0
lea edx, [esi + 0x40]
mov ecx, eax
mov dword [ebp - 0xb0], ecx
cmp edx, edi
ja 0x41fd29
mov eax, dword [ebp - 0xb4]
movups xmm0, xmmword [esi + eax]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esi + eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esi + eax + 0x30]
mov esi, edx
mov dword [ebp - 0x9c], esi
movups xmmword [ecx + 0x30], xmm0
movzx eax, byte [ecx + 9]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
call fcn.00423ed0
mov ecx, eax
call fcn.00424370
mov eax, dword [ebp - 0xb0]
movaps xmm0, xmmword [0x4f4340]
movups xmmword [ebp - 0xd8], xmm0
mov cl, byte [eax + 7]
xor al, al
movaps xmm0, xmmword [0x4f4350]
cmp al, cl
movzx edx, cl
sbb eax, eax
and eax, edx
movups xmmword [ebp - 0xc8], xmm0
cmp eax, 7
jae 0x41fd8d
xor al, al
cmp al, cl
sbb eax, eax
and eax, edx
mov dword [ebp - 0xac], eax
jmp 0x41fd97
mov dword [ebp - 0xac], 7
call fcn.00443960
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp + edx*4 - 0xd8]
mov dword [eax + 0x138], ecx
call fcn.0041e7c0
movaps xmm0, xmmword [0x4f45b0]
mov dword [ebp - 0xac], eax
movups xmmword [eax + 0x45], xmm0
movups xmmword [eax + 0x55], xmm0
mov word [eax + 0x45], 0x504
mov byte [eax + 0x48], 6
call fcn.00443960
mov ecx, dword [ebp - 0xac]
movzx eax, byte [eax + 0x134]
mov byte [ecx], al
mov al, byte [ecx + 0x44]
mov byte [ebp - 0xa5], al
call fcn.00443960
movzx ecx, byte [ebp - 0xa5]
imul ecx, ecx, 0x208
cmp byte [ecx + eax + 0x144], 0
je 0x41fe54
mov eax, dword [ebp - 0xac]
mov al, byte [eax + 0x44]
mov byte [ebp - 0xa5], al
call fcn.00443960
movzx ecx, byte [ebp - 0xa5]
mov edx, dword [ebp - 0xac]
imul ecx, ecx, 0x208
cmp byte [eax + ecx + 0x144], 0
je 0x41fe5a
mov al, byte [eax + ecx + 0x149]
cmp al, 6
jb 0x41fe5a
cmp al, 0xc
jae 0x41fe5a
mov word [edx + 0x45], 0x504
jmp 0x41fe5a
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb4]
lea eax, [esi + 1]
mov dword [ebp - 0xb0], eax
cmp eax, edi
ja 0x41fe79
mov al, byte [esi + ecx]
mov esi, dword [ebp - 0xb0]
mov byte [edx + 0x44], al
lea eax, [esi + 0x20]
cmp eax, edi
ja 0x41fe93
movups xmm0, xmmword [esi + ecx]
movups xmmword [edx + 0x45], xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
mov esi, eax
movups xmmword [edx + 0x55], xmm0
lea eax, [esi + 0x20]
cmp eax, edi
ja 0x41fead
movups xmm0, xmmword [esi + ecx]
movups xmmword [edx + 0x65], xmm0
movups xmm0, xmmword [esi + ecx + 0x10]
mov esi, eax
movups xmmword [edx + 0x75], xmm0
lea eax, [esi + 0xc]
cmp eax, edi
ja 0x41fecf
movq xmm0, qword [esi + ecx]
mov edx, dword [esi + ecx + 8]
mov esi, eax
movq qword [ebp - 0xa4], xmm0
mov dword [ebp - 0xac], edx
jmp 0x41fedb
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xa4]
mov dword [edx], eax
mov eax, dword [ebp - 0xa0]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [edx + 8], eax
lea eax, [esi + 0x6000]
cmp eax, edi
ja 0x41ff20
lea eax, [esi + ecx]
push 0x6000
push eax
lea eax, [edx + 0x28]
push eax
call fcn.004803e0
mov edx, dword [ebp - 0xb8]
add esp, 0xc
xor eax, eax
mov byte [ebp - 0xa5], 0
mov dword [ebp - 0xac], eax
lea esi, [edx + 0x2028]
mov edi, 0x800
nop word [eax + eax]
mov edx, dword [esi]
movzx ecx, al
mov dword [ebp - 0xb0], ecx
movzx ecx, byte [ecx + 0x4dcee0]
xor ecx, edx
cmp dword [esi - 0x2000], ecx
je 0x41ff95
push ecx
push dword [esi - 0x2000]
mov byte [ebp - 0xa5], 1
push eax
lea eax, [ebp - 0x98]
push str.Illegal_Zero___d:_d___d___n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esi]
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
movzx ecx, byte [ecx + 0x4dcfe0]
xor ecx, edx
mov edx, dword [esi + 0x2000]
cmp edx, ecx
je 0x41ffe0
push ecx
push edx
push eax
lea eax, [ebp - 0x98]
mov byte [ebp - 0xa5], 1
push str.Illegal_Two___d:_d___d___n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0xac]
inc eax
add esi, 4
mov dword [ebp - 0xac], eax
sub edi, 1
jne 0x41ff40
cmp byte [ebp - 0xa5], 0
je 0x420020
mov ecx, dword [ebp - 0xb8]
mov dword [ecx + 0x2334], 1
mov dword [ecx + 0x334], 0xec
mov dword [ecx + 0x4334], 0xee
mov byte [ebp - 0xa5], 1
push 0x8000
push 0
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4