Function at 0x442340
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x248
mov edx, 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 edi, [esp + 0x48]
lea eax, [esp + 0x38]
mov ecx, 3
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x54]
lea eax, [esp + 0x44]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x46]
mov byte [esp + 0x56], al
mov esi, edx
cmp edx, 4
jb 0x4423d1
mov esi, 4
lea eax, [esp + 0x57]
test edx, edx
je 0x4425aa
xor ebp, ebp
jmp 0x442429
mov ebx, 0x448995
mov ecx, 1
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
add eax, 4
mov ebx, 0x448999
xor ecx, ecx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ecx, ebp
and ecx, 1
xor ebp, 1
lea ebp, [ebp + ecx*2]
cmp ebp, esi
jae 0x4424b1
cmp ebp, 3
ja case.default.0x44242e
jmp dword [ebp*4 + 0x4481b0]
mov ebx, 0x44899a
xor ecx, ecx
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ebx, 0x44899a
mov ecx, 1
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov byte [eax + 2], 0xe
add eax, 3
jmp case.default.0x44242e
mov ebx, 0x448990
mov ecx, 1
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
add eax, 4
mov ebx, 0x448994
xor ecx, ecx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
jmp case.default.0x44242e
mov ebx, 0x44899e
mov ecx, 1
mov edi, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
add eax, 4
mov ebx, 0x4489a2
xor ecx, ecx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
jmp case.default.0x44242e
cmp edx, 3
jbe 0x4425aa
test dl, 1
je 0x4424e4
mov esi, 0x4489a7
mov ebx, 0x4489a7
mov edi, eax
xor ecx, ecx
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov edi, eax
mov ecx, 1
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
add eax, 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
lea ecx, [edx*8]
cmp ecx, 0x7ffffffe
ja 0x44286b
dec edx
cmp edx, 4
jb 0x4425aa
lea esi, [esp + 0x10]
lea ebp, [esp + 4]
jmp 0x44255b
mov dword [esp + 7], ecx
mov ebx, ebp
mov edi, eax
mov ecx, 2
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
add eax, 8
lea ebx, [esp + 0xc]
xor ecx, ecx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
dec edx
cmp edx, 3
jbe 0x4425aa
mov edi, edx
and edi, 0xfffffff7
mov ebx, edx
and ebx, 8
mov ecx, edx
or ecx, 8
imul ecx, ebx
xor ebx, 8
imul ebx, edi
add ecx, ebx
cmp ecx, 0x7e
ja 0x442530
mov byte [esp + 0x13], cl
mov ebx, esi
mov edi, eax
mov ecx, 1
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [eax + 4]
lea ebx, [esp + 0x14]
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
movzx ecx, byte [esp + 0x14]
mov byte [eax + 4], cl
add eax, 5
jmp 0x442555
mov esi, dword [esp + 0x260]
mov edx, 0x44898b
mov edi, eax
mov ecx, 1
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edx, [eax + 4]
mov ebx, 0x44898f
mov edi, edx
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x25c]
mov dword [esp + 0x20], ecx
lea esi, [esp + 0x1c]
mov edi, edx
mov ecx, 4
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [eax + 0x14]
lea edx, [esp + 0x2c]
mov ecx, 1
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x2e]
mov byte [eax + 0x16], cl
add eax, 0x17
mov ecx, eax
lea edx, [esp + 0x48]
xor ecx, edx
not edx
and edx, eax
add edx, edx
sub edx, ecx
mov dword [esp + 0x18], 0
mov ebp, edx
lea eax, [edx + 0x59]
mov dword [esp + 0x34], eax
mov dword [esp + 4], 0x34353637
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4426a1
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0xa0f38e4c
and eax, 0x20f38e4c
lea eax, [edx + eax*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x84
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x442660
mov eax, dword [esp + 4]
mov ecx, dword [0x4505bc]
test ecx, ecx
je 0x4426fe
xor edx, edx
mov esi, dword [0x4505c0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x4426d0
inc edx
cmp ecx, edx
jne 0x4426c0
jmp 0x4426fe
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4426fe
lea eax, [esp + 0x34]
lea edx, [esp + 0x18]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4505c4]
push ecx
call fcn.004403a0
add esp, 0x24
test eax, eax
js 0x442830
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x18]
mov esi, 0x448155
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, 0x4481ad
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, ebp
shr ecx, 2
lea esi, [esp + 0x48]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, ebp
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea esi, [esp + ecx]
add esi, 0x48
mov ecx, ebp
shr ecx, 1
and ecx, 1
mov ebx, esi
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ecx, ebp
test cl, 1
je 0x442783
and ecx, 2
mov edi, ecx
movzx ecx, byte [esi + ecx]
mov byte [eax + edi], 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], 0x34353637
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0x442803
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, 0xa0f38e4c
and ecx, 0x20f38e4c
lea ecx, [edi + ecx*2]
mov edi, ecx
and edi, esi
add ecx, esi
add edi, edi
sub ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x84
mov esi, dword [esp]
mov byte [esp + esi + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0x4427c0
mov ecx, dword [0x4505bc]
test ecx, ecx
je 0x442875
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x4505c0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x442837
inc edi
cmp ecx, edi
jne 0x442820
jmp 0x442875
mov edx, eax
sar edx, 0x1f
jmp 0x442875
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x442875
lea esi, [esp + 0x30]
lea edi, [esp + 0x18]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x4505c4]
push ecx
mov esi, eax
mov edi, edx
call fcn.004403a0
mov edx, edi
mov eax, esi
add esp, 0x1c
jmp 0x442875
mov eax, 0xffffffff
mov edx, 0xffffffff
add esp, 0x248
pop esi
pop edi
pop ebx
pop ebp
ret 0x10