Function at 0x442711
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0xcc
movzx ebx, ax
mov edx, dword [0x7d4124]
cmp dword [edx + ebx*4], 0
je 0x44273a
mov eax, 1
add esp, 0xcc
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x18
call fcn.004032d4
mov edx, dword [0x7d4124]
mov dword [edx + ebx*4], eax
lea eax, [esp + 0x14]
push ebx
push 0x7d998c
push eax
call fcn.0045a241
add esp, 0x10
mov byte [esp + 0xc], 1
lea eax, [esp + 0x90]
lea edx, [esp + 0x10]
xor ecx, ecx
call fcn.0045169d
test eax, eax
jne 0x4429f7
mov esi, dword [esp + 0x94]
mov dword [esp + 0xc4], esi
mov eax, dword [0x7d4124]
mov eax, dword [eax + ebx*4]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0xb4], edx
mov ecx, dword [esi + 0x14]
mov ebp, dword [esi + 0x18]
mov dword [esp + 0xc0], ebp
lea ebp, [esi + 0x20]
mov dword [esp + 0xc8], ebp
lea ebp, [esi + eax]
lea esi, [esi + eax + 0x20]
mov dword [esp + 0xbc], esi
mov edi, dword [0x7d4124]
lea esi, [edx + ebp]
lea edx, [ebp + edx + 0x20]
mov ebp, dword [edi + ebx*4]
mov dword [ebp + 0x10], edx
lea edx, [esi + ecx + 0x20]
mov ebp, dword [edi + ebx*4]
mov dword [ebp + 0x14], edx
test eax, eax
mov edx, dword [esp + 0xb4]
jle 0x44281d
xor ebp, ebp
mov dword [esp + 0xb8], ebx
mov esi, dword [esp + 0xc8]
inc esi
mov edi, ebp
and edi, 3
movzx ebx, byte [edi + 0x7d3e58]
xor byte [esi - 1], bl
inc ebp
cmp ebp, eax
jl 0x442801
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
test edx, edx
jle 0x44283f
xor ebp, ebp
inc esi
mov edi, ebp
and edi, 3
movzx eax, byte [edi + 0x7d3e58]
xor byte [esi - 1], al
inc ebp
cmp ebp, edx
jl 0x44282a
mov ebp, dword [0x7d4124]
mov esi, dword [ebp + ebx*4]
mov eax, dword [esi + 0x10]
test ecx, ecx
jle 0x442871
xor ebp, ebp
inc eax
mov esi, ebp
and esi, 3
movzx edx, byte [esi + 0x7d3e58]
xor byte [eax - 1], dl
inc ebp
cmp ebp, ecx
jl 0x442852
mov ebp, dword [0x7d4124]
mov esi, dword [ebp + ebx*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0xc0]
test edx, edx
jle 0x4428a2
xor ecx, ecx
mov esi, edx
inc eax
mov ebp, ecx
and ebp, 3
movzx edx, byte [ebp + 0x7d3e58]
xor byte [eax - 1], dl
inc ecx
cmp ecx, esi
jl 0x442883
mov ebp, dword [0x7d4124]
mov esi, dword [ebp + ebx*4]
mov eax, dword [esi]
add eax, eax
add eax, eax
push eax
call fcn.00458ddc
pop ecx
mov edx, dword [ebp + ebx*4]
mov dword [edx + 0xc], eax
mov edi, dword [ebp + ebx*4]
cmp dword [edi], 0
jle 0x4428f5
xor edx, edx
mov ecx, dword [esp + 0xbc]
mov esi, dword [esp + 0xc4]
movzx eax, byte [esi + edx*4 + 0x21]
mov ebp, dword [edi + 0xc]
mov dword [ebp + edx*4], ecx
add eax, eax
add eax, eax
lea edi, [eax + eax]
add edi, eax
add ecx, edi
mov ebp, dword [0x7d4124]
mov edi, dword [ebp + ebx*4]
inc edx
cmp edx, dword [edi]
jl 0x4428cf
push 8
call fcn.00458ddc
mov edx, dword [ebp + ebx*4]
mov dword [edx + 4], eax
mov eax, dword [ebp + ebx*4]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.00458ddc
mov ebp, dword [ebp + ebx*4]
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov ebp, dword [0x7d4124]
mov eax, dword [ebp + ebx*4]
mov ecx, dword [eax]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.00458ddc
mov edx, dword [ebp + ebx*4]
mov ecx, dword [edx + 4]
mov dword [ecx + 4], eax
mov ebp, dword [0x7d4124]
mov eax, dword [ebp + ebx*4]
push dword [eax]
call fcn.00458ddc
mov edx, dword [ebp + ebx*4]
mov dword [edx + 8], eax
push 0
call fcn.00454d48
add esp, 0x14
mov eax, dword [0x7d4124]
mov ebp, dword [eax + ebx*4]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
test eax, eax
jle 0x442a04
xor esi, esi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xbc], edx
jmp 0x44298f
mov edx, dword [0x7d4124]
mov ebp, dword [edx + ebx*4]
lea ecx, [esi + esi]
mov edi, dword [esp + 0xc4]
movzx edx, byte [edi + esi*4 + 0x20]
movzx eax, byte [edi + esi*4 + 0x21]
mov ebp, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [ebp + esi*4], 0x44a60c
mov ebp, dword [0x7d4124]
mov ebp, dword [ebp + ebx*4]
mov ebp, dword [ebp + 4]
mov edi, dword [ebp + 4]
mov ebp, dword [edx*4 + 0x779e00]
mov dword [edi + esi*4], ebp
mov ebp, dword [0x7d4124]
mov ebp, dword [ebp + ebx*4]
mov ebp, dword [ebp + 8]
mov byte [esi + ebp], al
cmp edx, 0x1c
je 0x442aad
cmp edx, 0x1d
je 0x442a18
inc esi
mov edx, dword [esp + 0xc8]
cmp esi, edx
jl 0x442986
jmp 0x442a04
xor eax, eax
add esp, 0xcc
pop ebx
pop ebp
pop esi
pop edi
ret
push 1
call fcn.00454d48
pop ecx
mov eax, ebx
call fcn.00442bac
jmp 0x44272a
mov edx, dword [0x7d4124]
mov ebp, dword [edx + ebx*4]
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + ecx*2]
test eax, eax
jle 0x4429e9
add eax, eax
add eax, eax
lea ebp, [eax + eax]
add ebp, eax
add ebp, edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0xbc]
movzx eax, byte [edi]
test eax, eax
jne 0x442a93
xor eax, eax
mov word [edi + 2], ax
mov edx, dword [edi + 8]
mov byte [0x7d4310], al
add edx, ebx
push dword [edi + 4]
push edx
push 0x5afce0
call dword [0x7d42c8]
add esp, 0xc
mov edx, eax
movsx ecx, byte [0x7d4310]
test ecx, ecx
jne 0x442a93
mov eax, 0x5afce0
call fcn.00442b18
test eax, eax
jl 0x442a93
mov word [edi + 2], ax
add edi, 0xc
cmp edi, ebp
jb 0x442a4b
mov esi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xb8]
jmp 0x4429e9
mov ebp, dword [0x7d4124]
mov edx, dword [ebp + ebx*4]
mov edi, dword [edx + 0xc]
mov ebp, dword [edi + ecx*2]
mov ecx, dword [ebp + 8]
mov byte [0x7d4310], 0
add ecx, dword [esp + 0xbc]
push dword [ebp + 4]
push ecx
push 0x5b00e0
call dword [0x7d42c8]
add esp, 0xc
mov edx, eax
movsx ecx, byte [0x7d4310]
test ecx, ecx
jne 0x4429e9
mov eax, 0x5b00e0
call fcn.00442b18
test eax, eax
jl 0x4429e9
add eax, 0x10000000
mov dword [ebp + 4], eax
jmp 0x4429e9