Function at 0x41fca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508d7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
push edi
mov byte [ebp - 0x15], dl
mov edi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x14], 0xd9d991
mov byte [ebp - 0x10], 1
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x41fce1
lea edx, [ebp - 0x14]
mov byte [ebp - 0x10], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41fcf8
mov ebx, dword [ebp + 0x20]
sub edx, ecx
cmp dword [ebp + 0x34], 0xf
lea ecx, [ebp + 0x20]
jbe 0x41fd0f
mov ecx, ebx
push edx
mov edx, dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.0046ece0
add esp, 0xc
test eax, eax
je 0x41fd81
mov dword [ebp - 0x14], 0xd8d991
xor ecx, ecx
mov byte [ebp - 0x10], 1
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x41fd32
lea esi, [ebp - 0x14]
mov byte [ebp - 0x10], 0
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x41fd50
sub esi, ecx
cmp dword [ebp + 0x34], 0xf
lea ecx, [ebp + 0x20]
jbe 0x41fd64
mov ecx, ebx
mov edx, dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push esi
push eax
push 0
call fcn.0046ece0
add esp, 0xc
test eax, eax
je 0x41fd81
xor bl, bl
jmp 0x4200d6
mov byte [ebp - 4], 2
xor eax, eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
cmp ecx, 5
jb 0x420104
add ecx, 0xfffffffb
cmp ecx, 0xffffffff
jb 0x41fdb0
or ecx, 0xffffffff
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x41fdbc
mov eax, dword [ebp + 8]
push ecx
add eax, 5
lea ecx, [ebp - 0x44]
push eax
call fcn.00402ea0
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], 1
call fcn.00402c80
mov eax, dword [ebp - 0x44]
mov esi, 1
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
and esi, 0xfffffffe
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
jbe 0x41fe63
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x5c]
call fcn.0041fb00
add esp, 4
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
jbe 0x41fe7b
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x4c]
lea ecx, [ebp + 8]
push eax
call fcn.00468880
cmp byte [ebp - 0x15], 0
lea edx, [ebp + 8]
je 0x41ff23
cmp dword [ebp + 0x1c], 0xf
jbe 0x41fe9d
mov edx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0xf
lea esi, [ebp + 0x20]
mov ebx, dword [ebp + 0x30]
jbe 0x41feac
mov esi, dword [ebp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 0x18]
call fcn.004025b0
mov byte [ebp - 4], 4
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov edx, esi
push ebx
call fcn.004025b0
add esp, 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.0041f6a0
add esp, 0x30
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x41ff0f
lea ecx, [ebp - 0x74]
cmp edi, ecx
je 0x41ff0d
cmp dword [ebp - 0x60], 0xf
jbe 0x41ff01
mov ecx, dword [ebp - 0x74]
push eax
push ecx
mov ecx, edi
call fcn.00468880
mov eax, dword [ebp - 0x64]
test eax, eax
setne bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00402c80
jmp 0x420090
cmp dword [ebp + 0x1c], 0xf
mov word [ebp - 0x12], 0x2a
mov byte [ebp - 0x10], 0
jbe 0x41ff36
mov edx, dword [ebp + 8]
push dword [ebp + 0x18]
lea ecx, [ebp - 0xec]
call fcn.004025b0
add esp, 4
mov ebx, eax
mov byte [ebp - 4], 7
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
mov word [ebp - 0x2b], 0x5f
mov byte [ebp - 0x29], 0
jbe 0x41ff63
mov edx, dword [ebp + 0x20]
push dword [ebp + 0x30]
lea ecx, [ebp - 0xd4]
call fcn.004025b0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0x26], 0xd2aaa6a2
mov dword [ebp - 0x22], 0xb1c7dfd2
mov word [ebp - 0x1e], 0x100
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x26], al
inc ecx
cmp ecx, 8
jb 0x41ff90
push edx
lea edx, [ebp - 0x26]
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 0xbc]
call fcn.0046d240
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2b]
push ecx
mov edx, eax
lea ecx, [ebp - 0xa4]
call fcn.0046d100
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
push ebx
push eax
push dword [ebp - 0x13]
call fcn.00470cf0
lea eax, [ebp - 0x12]
or esi, 2
push eax
lea edx, [ebp - 0x44]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x8c]
call fcn.0046d100
add esp, 4
mov byte [ebp - 4], 0xc
and esi, 0xfffffffd
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
call fcn.00402c80
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa4]
call fcn.00402c80
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xbc]
call fcn.00402c80
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xd4]
call fcn.00402c80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xec]
call fcn.00402c80
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x42007f
lea eax, [ebp - 0x8c]
cmp edi, eax
je 0x42006c
cmp dword [ebp - 0x78], 0xf
jbe 0x420063
mov eax, dword [ebp - 0x8c]
push ecx
push eax
mov ecx, edi
call fcn.00468880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00402c80
mov bl, 1
jmp 0x420090
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8c]
call fcn.00402c80
xor bl, bl
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x4200c4
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4200ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420109
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046c4a0
call fcn.004e4d70
int3