Function at 0x41d010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [0x44ab94]
mov dword [esp + 8], 0xcf78cd0d
mov dword [esp + 0xc], 0xcb55c95f
mov dword [esp + 0x10], 0xc750c569
mov dword [esp + 0x14], 0xc350c105
mov dword [esp + 0x18], 0xbf00bd52
mov dword [esp + 0x1c], 0xbb34b91d
mov dword [esp + 0x20], 0xb76bb519
mov word [esp + 0x24], 0xb1b6
mov dword [esp + 0x26], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x21
ja 0x41d0b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add ecx, 0xec07502f
xor ecx, edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x5c]
add cl, 3
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x22
jb 0x41d080
lea ecx, [esp + 0x58]
lea edi, [esp + 8]
push ecx
push 0
push 0
push 0xe
push edi
push 0
call eax
mov ebx, dword [esp + 0x58]
test ebx, ebx
jns 0x41d0d3
mov eax, 0xffffffff
jmp 0x41d0d6
lea eax, [ebx + ebx]
push eax
call fcn.00409a50
add esp, 4
mov esi, eax
mov eax, dword [0x44ab94]
mov dword [esp + 8], 0xc89dcae0
mov dword [esp + 0xc], 0xd4b8d6a6
mov dword [esp + 0x10], 0xd0a5d2bc
mov dword [esp + 0x14], 0xdcadde90
mov dword [esp + 0x18], 0xd895daab
mov dword [esp + 0x1c], 0xe499e688
mov dword [esp + 0x20], 0xe0cae28c
mov word [esp + 0x24], 0xeeef
mov dword [esp + 0x26], 0
mov word [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x23
ja 0x41d18a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
lea ebp, [ecx + edx]
add ecx, 0x4c
and ecx, edx
add ecx, ecx
sub ebp, ecx
add ebp, 0x39c65a4c
mov dword [esp + 0x5c], ebp
mov ecx, dword [esp + 0x5c]
add cl, 0x79
mov edx, dword [esp]
mov byte [esp + edx + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x24
jb 0x41d150
lea ecx, [esp + 0x58]
push ecx
push ebx
push esi
push 0xe
mov ebp, edi
push edi
push 0
call eax
mov eax, dword [esp + 0x58]
mov ecx, eax
and ecx, 9
xor eax, 9
lea eax, [eax + ecx*2]
test eax, eax
jns 0x41d1b4
mov eax, 0xffffffff
jmp 0x41d1b6
add eax, eax
push eax
call fcn.00409a50
add esp, 4
mov edi, eax
mov dword [esp + 8], 0x5540762
mov dword [esp + 0xc], 0x16f0363
mov dword [esp + 0x10], 0xd6d0f79
mov dword [esp + 0x14], 0x9650b61
mov dword [esp + 0x18], 0x15141769
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x41d236
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0x31cc6100
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x5c]
add al, 0xfa
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x41d200
movzx ecx, word [esi]
mov eax, edi
test cx, cx
je 0x41d261
lea edx, [esi + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d250
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x41d291
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d280
mov ebx, dword [esp + 0x8c]
mov word [eax], 0
lea eax, [esp + 0x74]
push eax
push edi
call fcn.0043f0f0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x446674]