Function at 0x445960
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x244
mov ebx, dword [esp + 0x264]
mov dword [esp + 0x3f], 0xe48040
mov dword [esp + 0x3c], 0x4010ec83
mov dword [esp + 0x38], 0x48e78948
mov dword [esp + 0x34], 0xce8948fc
mov dword [esp + 0x27], 0xc3fc8948
mov dword [esp + 0x24], 0x48d2ff41
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0xfffffff1
mov dword [esp + 0x18], 0xba49c031
lea edi, [esp + 0x44]
lea eax, [esp + 0x34]
mov ecx, 3
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x50]
lea eax, [esp + 0x40]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x42]
mov byte [esp + 0x52], al
mov esi, ebx
cmp ebx, 4
jb 0x4459f1
mov esi, 4
lea edx, [esp + 0x53]
test ebx, ebx
je 0x445bc3
xor ebp, ebp
jmp 0x445a3a
inc ebp
cmp esi, ebp
je 0x445ab9
cmp ebp, 3
ja 0x445a31
jmp dword [ebp*4 + 0x5c9da0]
cmp ebx, 3
jbe 0x445bc3
test bl, 1
je 0x445aea
mov eax, 0x5ca597
mov esi, 0x5ca597
mov edi, edx
xor ecx, ecx
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 + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0x80868b48
mov eax, ebx
and eax, 8
mov ecx, ebx
or ecx, 8
imul ecx, eax
xor eax, 8
mov esi, ebx
and esi, 0xfffffff7
imul esi, eax
add ecx, esi
cmp ecx, 0x7fffffff
jae 0x445e79
mov esi, ebx
and esi, 0xfffffffe
add esi, esi
mov eax, ebx
xor eax, 1
sub esi, eax
cmp esi, 4
jb 0x445bc3
shl ebx, 4
and ebx, 0xffffffe0
shl eax, 3
sub ebx, eax
lea eax, [esp + 8]
jmp 0x445b8e
mov dword [esp + 0xb], ebx
mov ebp, eax
mov edi, edx
mov ecx, 2
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
add edx, 8
lea ebp, [esp + 0x10]
mov edi, edx
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
dec esi
add ebx, 0xfffffff8
cmp esi, 3
jbe 0x445bc3
cmp ebx, 0x7e
ja 0x445b60
mov byte [esp + 3], bl
mov ebp, esp
mov edi, edx
mov ecx, 1
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
lea edi, [edx + 4]
lea ebp, [esp + 4]
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
movzx ecx, byte [esp + 4]
mov byte [edx + 4], cl
add edx, 5
jmp 0x445b85
mov ebx, dword [esp + 0x25c]
mov eax, dword [esp + 0x258]
mov esi, 0x5ca57b
mov ecx, 1
mov edi, edx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea esi, [edx + 4]
mov ebp, 0x5ca57f
mov edi, esi
xor ecx, ecx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
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 + 0x28]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
movzx eax, byte [esp + 0x2a]
mov byte [edx + 0x16], al
lea ecx, [esp + 0x44]
mov eax, ecx
neg eax
lea ebx, [edx + eax]
add ebx, 0x17
sub edx, ecx
mov dword [esp], 0
add edx, 0x70
mov dword [esp + 0x30], edx
mov dword [esp + 8], 0x2c2d2e2f
mov word [esp + 0xc], 0
mov eax, 0xe2263838
mov ecx, 0xc7
nop
nop
nop
movzx edx, byte [esp + eax + 0x1dd9c7d0]
lea esi, [edx + edx]
not esi
add esi, edx
and esi, eax
and edx, ecx
or edx, esi
mov esi, edx
and esi, 0xe5
mov edi, edx
and edi, 2
mov ebp, edi
xor ebp, 2
imul ebp, esi
or esi, 2
imul esi, edi
xor edx, 0xe7
add edx, ebp
add edx, esi
inc dl
mov byte [esp + eax + 0x1dd9c7d0], dl
inc eax
dec ecx
cmp eax, 0xe226383e
jne 0x445c60
mov eax, dword [esp + 8]
mov ecx, dword [0x5d3040]
test ecx, ecx
je 0x445d0c
xor edx, edx
mov esi, dword [0x5d3044]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x445ce0
inc edx
cmp ecx, edx
jne 0x445cd0
jmp 0x445d0c
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x445d0c
lea eax, [esp + 0x30]
mov edx, esp
push 0x40
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x5d3048]
push ecx
call fcn.00443c90
add esp, 0x24
test eax, eax
js 0x445e40
mov eax, dword [esp]
mov edx, 0x5c9d45
mov edi, eax
mov ecx, 0x16
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [eax + 0x58]
mov edx, 0x5c9d9d
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov byte [eax + 0x58], 0x24
mov eax, dword [esp]
lea edi, [eax + 0x59]
mov ecx, ebx
shr ecx, 2
lea edx, [esp + 0x44]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, ebx
and ecx, 0xfffffffc
add eax, ecx
add eax, 0x59
lea edx, [esp + ecx]
add edx, 0x44
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test bl, 1
je 0x445d84
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [eax + ebx], cl
mov eax, dword [esp]
lea ecx, [eax + 0x59]
push dword [esp + 0x260]
push ecx
call eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 8], 0x2c2d2e2f
mov word [esp + 0xc], 0
mov ecx, 0xe2263838
mov edx, 0xc7
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx + 0x1dd9c7d0]
lea edi, [ebx + ebx]
not edi
add edi, ebx
and edi, ecx
and ebx, edx
or ebx, edi
mov edi, ebx
and edi, 0xe5
mov esi, ebx
and esi, 2
mov ebp, esi
xor ebp, 2
imul ebp, edi
or edi, 2
imul edi, esi
xor ebx, 0xe7
add ebx, ebp
add ebx, edi
inc bl
mov byte [esp + ecx + 0x1dd9c7d0], bl
inc ecx
dec edx
cmp ecx, 0xe226383e
jne 0x445dc0
mov ecx, dword [0x5d3040]
test ecx, ecx
je 0x445e86
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x5d3044]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x731cdbf3
je 0x445e4b
inc edi
cmp ecx, edi
jne 0x445e30
jmp 0x445e86
mov ecx, eax
sar ecx, 0x1f
mov dword [esp + 0x14], ecx
jmp 0x445e86
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x445e86
lea edx, [esp + 0x2c]
mov esi, esp
push 0x8000
push edx
push esi
push 0xffffffffffffffff
push 4
push dword [0x5d3048]
push ecx
mov esi, eax
call fcn.00443c90
mov eax, esi
add esp, 0x1c
jmp 0x445e86
mov eax, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov edx, dword [esp + 0x14]
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret 0x10