Function at 0x4412a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x248
mov eax, dword [esp + 0x268]
mov dword [esp + 0x43], 0xe48040
mov dword [esp + 0x40], 0x4010ec83
mov dword [esp + 0x3c], 0x48e78948
mov dword [esp + 0x38], 0xce8948fc
mov dword [esp + 0x2b], 0xc3fc8948
mov dword [esp + 0x28], 0x48d2ff41
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0xfffffff1
mov dword [esp + 0x1c], 0xba49c031
lea ebp, [esp + 0x48]
lea edx, [esp + 0x38]
mov ecx, 3
mov edi, ebp
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x54]
lea edx, [esp + 0x44]
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x46]
mov byte [esp + 0x56], cl
mov edx, eax
cmp eax, 4
jb 0x441337
mov edx, 4
lea ebx, [esp + 0x57]
test eax, eax
je 0x441528
xor ebp, ebp
jmp 0x44137e
mov esi, 0x446995
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x446999
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
inc ebp
cmp edx, ebp
je 0x441411
cmp ebp, 3
ja case.default.0x441383
jmp dword [ebp*4 + 0x4461b0]
mov esi, 0x44699a
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov esi, 0x44699a
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov byte [ebx + 2], 0xe
add ebx, 3
jmp case.default.0x441383
mov esi, 0x446990
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x446994
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp case.default.0x441383
mov esi, 0x44699e
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 4
mov esi, 0x4469a2
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
jmp case.default.0x441383
cmp eax, 3
lea ebp, [esp + 0x48]
jbe 0x441528
test al, 1
je 0x441447
mov edx, 0x4469a7
mov esi, 0x4469a7
mov edi, ebx
xor ecx, ecx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, 1
mov edi, ebx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
add ebx, 2
mov word [esp + 0x14], 0x50
mov dword [esp + 0x10], 0x20468b48
mov byte [esp + 0xc], 0
mov dword [esp + 8], 0x50000000
mov dword [esp + 4], 0x80868b48
mov ecx, eax
and ecx, 0xfffffff7
mov edx, eax
and edx, 8
mov esi, eax
or esi, 8
imul esi, edx
xor edx, 8
imul edx, ecx
add esi, edx
cmp esi, 0x7ffffffe
ja 0x441515
lea edx, [eax - 1]
cmp edx, 4
jb 0x441524
lea eax, [eax*8 - 8]
lea ebp, [esp + 4]
jmp 0x4414de
mov dword [esp + 7], eax
mov esi, ebp
mov edi, ebx
mov ecx, 2
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
add ebx, 8
lea esi, [esp + 0xc]
xor ecx, ecx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
dec edx
add eax, 0xfffffff8
cmp edx, 3
jbe 0x441524
cmp eax, 0x7e
ja 0x4414b0
mov byte [esp + 0x13], al
lea esi, [esp + 0x10]
mov edi, ebx
mov ecx, 1
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [ebx + 4]
lea esi, [esp + 0x14]
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
movzx ecx, byte [esp + 0x14]
mov byte [ebx + 4], cl
add ebx, 5
jmp 0x4414d5
mov eax, 0xffffffff
mov edx, 0xffffffff
jmp 0x4417c9
lea ebp, [esp + 0x48]
mov edx, dword [esp + 0x260]
mov eax, 0x44698b
mov edi, ebx
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea eax, [ebx + 4]
mov esi, 0x44698f
mov edi, eax
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x25c]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x1c]
mov edi, eax
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [ebx + 0x14]
lea eax, [esp + 0x2c]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x2e]
mov byte [ebx + 0x16], al
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x18], 0
add eax, 0x70
mov dword [esp + 0x34], eax
mov dword [esp + 4], 0x80b0a0d
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4415f9
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0x84d12d43
and eax, 0x4d12d43
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xb1
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4415c0
mov eax, dword [esp + 4]
mov ecx, dword [0x44e4ac]
test ecx, ecx
je 0x441658
xor edx, edx
mov edi, dword [0x44e4b0]
nop
cmp dword [edi + edx*8], 0x633c81d
je 0x44162a
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, ecx
jb 0x441610
jmp 0x441658
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x441658
lea eax, [esp + 0x34]
lea edx, [esp + 0x18]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44e4b4]
push ecx
call fcn.0043f3f0
add esp, 0x24
test eax, eax
js 0x441790
neg ebp
mov edx, dword [esp + 0x264]
add ebx, ebp
add ebx, 0x17
mov eax, dword [esp + 0x18]
mov esi, 0x446155
mov edi, eax
mov ecx, 0x16
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [eax + 0x58]
mov esi, 0x4461ad
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov byte [eax + 0x58], 0x24
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x59]
mov ecx, ebx
shr ecx, 2
lea esi, [esp + 0x48]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, ebx
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea esi, [esp + ecx]
add esi, 0x48
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, esi
mov edi, eax
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x4416e0
and ebx, 2
movzx ecx, byte [esi + ebx]
mov byte [eax + ebx], cl
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x59]
push edx
push ecx
call eax
mov dword [esp + 0x30], 0
mov dword [esp + 4], 0x80b0a0d
mov word [esp + 8], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 5
ja 0x44175b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
mov edi, ecx
xor edi, 0x84d12d43
and ecx, 0x4d12d43
lea ecx, [edi + ecx*2]
xor ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0xb1
mov esi, dword [esp]
mov byte [esp + esi + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 6
jb 0x441720
mov ecx, dword [0x44e4ac]
test ecx, ecx
je 0x4417c9
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x44e4b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x441797
inc edi
cmp ecx, edi
jne 0x441780
jmp 0x4417c9
mov edx, eax
sar edx, 0x1f
jmp 0x4417c9
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x4417c9
lea esi, [esp + 0x30]
lea edi, [esp + 0x18]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x44e4b4]
push ecx
mov esi, eax
mov edi, edx
call fcn.0043f3f0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x248
pop esi
pop edi
pop ebx
pop ebp
ret 0x10