Function at 0x41efe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp + 0x40], 0
mov ecx, dword [0x441770]
test ecx, ecx
je 0x41f126
mov eax, dword [0x441774]
add eax, 8
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0x18dc7455
je 0x41f024
add eax, 0xc
dec ecx
jne 0x41f010
jmp 0x41f126
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x900000c2
mov dword [esp + 0x18], 0xd2ff0000
mov dword [esp + 0x14], 0xba00
mov dword [esp + 0x10], 0xb8
mov eax, dword [eax]
mov dword [esp + 0x11], eax
mov eax, dword [0x441778]
mov dword [esp + 0x16], eax
mov word [esp + 0x1d], 0x10
mov dword [esp + 4], 0
mov dword [esp + 0x48], 0x10
lea eax, [esp + 0x48]
lea ebx, [esp + 4]
push 0x40
push 0x3000
push eax
push 0
push ebx
push 0xffffffffffffffff
call dword [0x44177c]
mov edi, dword [esp + 4]
lea eax, [esp + 0x10]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 5
call dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0
lea eax, [esp + 0x44]
push 0x8000
push eax
push ebx
push 0xffffffffffffffff
call dword [0x441780]
cmp esi, 0xc0000004
jne 0x41f126
mov esi, ebx
lea ebx, [esp + 0x48]
push dword [esp + 0x40]
call fcn.0042f310
add esp, 4
mov edi, eax
mov ecx, dword [0x441770]
test ecx, ecx
je 0x41f11f
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [0x441774]
add eax, 8
mov edx, ebx
mov ebx, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [eax - 8], 0x18dc7455
je 0x41f132
add eax, 0xc
dec ecx
jne 0x41f110
xor ebx, ebx
jmp 0x41f46c
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x900000c2
mov dword [esp + 0x18], 0xd2ff0000
mov dword [esp + 0x14], 0xba00
mov dword [esp + 0x10], 0xb8
mov eax, dword [eax]
mov dword [esp + 0x11], eax
mov eax, dword [0x441778]
mov dword [esp + 0x16], eax
mov word [esp + 0x1d], 0x10
mov dword [esp + 4], 0
mov dword [esp + 0x48], 0x10
push 0x40
push 0x3000
push edx
push 0
push ebx
push 0xffffffffffffffff
call dword [0x44177c]
mov esi, edi
mov edi, dword [esp + 4]
lea eax, [esp + 0x10]
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
push 0
push dword [esp + 0x10]
push esi
push 5
call dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x44], 0
push 0x8000
lea eax, [esp + 0x48]
push eax
push ebx
push 0xffffffffffffffff
call dword [0x441780]
xor ebx, ebx
test edi, edi
js 0x41f2b5
mov ecx, dword [esi]
xor eax, eax
mov edx, esi
mov edi, esi
nop
lea esi, [edx + ecx]
mov ecx, dword [edx + ecx]
add eax, 0x208
add ebx, 0x104
mov edx, esi
test ecx, ecx
jne 0x41f1e0
test ebx, ebx
jns 0x41f200
mov eax, 0xffffffff
push eax
call fcn.0042f310
add esp, 4
mov ecx, eax
mov edx, dword [edi]
mov dword [esp + 8], edi
mov eax, edi
mov dword [esp + 0x3c], ecx
mov edi, ecx
lea ebx, [esp + 0x10]
jmp 0x41f22e
mov word [edi], 0xa
add edi, 2
mov edx, dword [eax]
test edx, edx
je 0x41f253
mov ecx, dword [eax + edx + 0x3c]
add eax, edx
movzx edx, word [ecx]
test dx, dx
je 0x41f220
add ecx, 2
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41f240
jmp 0x41f220
mov eax, dword [esp + 0x3c]
cmp edi, eax
je 0x41f390
mov word [edi], 0
movzx ecx, word [eax]
test cx, cx
je 0x41f39b
xor esi, esi
jmp 0x41f284
add edx, esi
mov esi, edx
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
je 0x41f2bc
cmp eax, edi
jae 0x41f2bc
mov edx, esi
movzx ebx, cx
xor ecx, ecx
cmp ebx, 0x800
setb byte [esp + 0xc]
mov esi, 1
cmp ebx, 0x80
jb 0x41f274
movzx ebx, byte [esp + 0xc]
mov cl, bl
xor ecx, 3
mov esi, ecx
jmp 0x41f274
mov edi, esi
jmp 0x41f46c
lea ebx, [esi + 1]
push ebx
call fcn.0042f310
add esp, 4
test esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], eax
jle 0x41f3bc
lea ecx, [eax + esi]
mov dword [esp + 0xc], ecx
add ebx, eax
mov edx, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x58], ebx
jmp 0x41f303
mov byte [esi], cl
mov ebx, 1
add edx, 2
add esi, ebx
cmp esi, dword [esp + 0xc]
jae 0x41f3be
cmp edx, edi
jae 0x41f3be
movzx ecx, word [edx]
test cx, cx
je 0x41f3be
cmp cx, 0x7f
jbe 0x41f2ed
mov eax, esi
not eax
add eax, dword [esp + 0x58]
movzx ebx, cx
cmp ebx, 0x7ff
ja 0x41f350
xor ebx, ebx
cmp eax, 2
jb 0x41f2f4
mov eax, ecx
shr eax, 6
add al, 0xc0
mov byte [esi], al
and cl, 0x3f
or cl, 0x80
mov byte [esi + 1], cl
mov ebx, 2
jmp 0x41f2f4
mov dword [esp + 0x54], ebx
xor ebx, ebx
cmp eax, 3
jb 0x41f2f4
mov ebx, dword [esp + 0x54]
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [esi], al
shr ebx, 6
and bl, 0x3f
or bl, 0x80
mov byte [esi + 1], bl
mov eax, ecx
xor eax, 0xc0
or ecx, 0x3f
and ecx, eax
add cl, 0x80
mov byte [esi + 2], cl
mov ebx, 3
jmp 0x41f2f4
xor ebx, ebx
mov edi, dword [esp + 8]
jmp 0x41f463
mov dword [esp + 0x50], 0
push 1
call fcn.0042f310
add esp, 4
mov esi, eax
mov dword [esp + 0x4c], eax
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 8]
jmp 0x41f3c9
mov esi, eax
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 8]
lea ebx, [esp + 0x10]
mov byte [esi], 0
mov dword [esp + 0x10], 0xbeb1b356
mov dword [esp + 0x14], 0xa09190bd
mov dword [esp + 0x18], 0x93946f93
mov word [esp + 0x1c], 0x1596
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov byte [esp + 0x26], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x16
ja 0x41f445
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
add al, 0x2b
xor al, byte [esp + edx + 0x10]
add al, 0xd3
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x17
jb 0x41f420
push dword [esp + 0x50]
mov esi, dword [esp + 0x50]
push esi
push ebx
call fcn.00409640
mov ebx, eax
push esi
call fcn.00408c20
add esp, 4
mov eax, dword [esp + 0x3c]
push eax
call fcn.00408c20
add esp, 4
push edi
call fcn.0042f370
add esp, 4
jmp 0x41f128