Function at 0x442ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x248
mov ebx, 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 edi, ebp
mov ecx, 3
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 esi, ebx
cmp ebx, 4
jb 0x442f57
mov esi, 4
lea edx, [esp + 0x57]
test ebx, ebx
je 0x443125
xor ebp, ebp
jmp 0x442f9a
inc ebp
cmp esi, ebp
je 0x443019
cmp ebp, 3
ja 0x442f91
jmp dword [ebp*4 + 0x4471b0]
cmp ebx, 3
lea ebp, [esp + 0x48]
jbe 0x443125
test bl, 1
je 0x44304e
mov eax, 0x4479a7
mov esi, 0x4479a7
xor ecx, ecx
mov edi, edx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, 1
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
add edx, 2
mov word [esp + 4], 0x50
mov dword [esp], 0x20468b48
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0x50000000
mov dword [esp + 0x10], 0x80868b48
lea eax, [ebx*8]
cmp eax, 0x7ffffffe
ja 0x443112
dec ebx
cmp ebx, 4
jb 0x443121
mov esi, esp
lea ebp, [esp + 0x10]
jmp 0x4430c7
mov dword [esp + 0x13], ecx
mov eax, ebp
mov edi, edx
mov ecx, 2
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
add edx, 8
lea eax, [esp + 0x18]
xor ecx, ecx
mov edi, edx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
dec ebx
cmp ebx, 3
jbe 0x443121
mov eax, ebx
and eax, 0xfffffff7
mov edi, ebx
and edi, 8
mov ecx, ebx
or ecx, 8
imul ecx, edi
xor edi, 8
imul edi, eax
add ecx, edi
cmp ecx, 0x7e
ja 0x4430a0
mov byte [esp + 3], cl
mov eax, esi
mov ecx, 1
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [edx + 4]
lea eax, [esp + 4]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 4]
mov byte [edx + 4], al
add edx, 5
jmp 0x4430c1
mov eax, 0xffffffff
mov edx, 0xffffffff
jmp 0x4433c9
lea ebp, [esp + 0x48]
mov ebx, dword [esp + 0x260]
mov eax, 0x44798b
mov edi, edx
mov ecx, 1
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea esi, [edx + 4]
mov eax, 0x44798f
mov edi, esi
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x25c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov edi, esi
mov ecx, 4
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [edx + 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 [edx + 0x16], al
neg ebp
lea ebx, [edx + ebp]
add ebx, 0x17
mov eax, ebx
and eax, 0x59
mov ecx, ebx
xor ecx, 0x59
lea eax, [ecx + eax*2]
mov dword [esp + 0xc], 0
mov dword [esp + 0x34], eax
mov dword [esp + 8], 0xcccdca96
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x443203
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0x97de68b2
and eax, 0x17de68b2
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
xor ecx, 0x7a
and eax, 5
add eax, eax
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x4431c0
mov eax, dword [esp + 8]
mov ecx, dword [0x44f8ac]
test ecx, ecx
je 0x443268
xor edx, edx
mov esi, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x44323a
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
cmp edx, ecx
jb 0x443220
jmp 0x443268
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x443268
lea eax, [esp + 0x34]
lea edx, [esp + 0xc]
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44f8b4]
push ecx
call fcn.00440ec0
add esp, 0x24
test eax, eax
js 0x443390
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0xc]
mov esi, 0x447155
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, 0x4471ad
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 + 0xc]
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 0x4432e9
and ebx, 2
movzx ecx, byte [esi + ebx]
mov byte [eax + ebx], cl
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x59]
push edx
push ecx
call eax
mov dword [esp + 0x30], 0
mov dword [esp + 8], 0xcccdca96
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 3
ja 0x443364
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 + 8]
mov edi, ecx
xor edi, 0x97de68b2
and ecx, 0x17de68b2
lea ecx, [edi + ecx*2]
xor ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov esi, ecx
xor esi, 0x7a
and ecx, 5
add ecx, ecx
sub ecx, esi
mov esi, dword [esp]
mov byte [esp + esi + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 4
jb 0x443320
mov ecx, dword [0x44f8ac]
test ecx, ecx
je 0x4433c9
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x44f8b0]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x443397
inc edi
cmp ecx, edi
jne 0x443380
jmp 0x4433c9
mov edx, eax
sar edx, 0x1f
jmp 0x4433c9
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x4433c9
lea esi, [esp + 0x30]
lea edi, [esp + 0xc]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x44f8b4]
push ecx
mov esi, eax
mov edi, edx
call fcn.00440ec0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x248
pop esi
pop edi
pop ebx
pop ebp
ret 0x10