Function at 0x441e50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x59b2d0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [esp + 0x40]
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
cmp edi, ebp
je 0x4421a0
cmp byte [edi + 0x1054], 0
jne 0x441ea9
pop edi
pop esi
pop ebp
mov eax, 0xffffff68
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046f206
add esp, 0x34
ret
cmp ebx, ebp
je 0x4421a0
cmp esi, ebp
je 0x4421a0
lea edx, [edi + 0x1014]
cmp edx, ebp
je 0x4421a0
lea ecx, [edi + 0x1034]
cmp ecx, ebp
je 0x4421a0
cmp dword [ebx + 4], ebp
je 0x4421a0
cmp dword [esi + 4], ebp
je 0x4421a0
mov eax, dword [ebx]
cmp eax, ebp
je 0x442188
cmp eax, dword [esi]
ja 0x442188
cmp byte [edi + 0x1000], 0
jne 0x441f18
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046f206
add esp, 0x34
ret
test byte [edi + 0x1056], 1
je 0x441f34
push edi
push edx
push ecx
push ecx
call fcn.004429e0
add esp, 0x10
mov byte [edi + 0x1056], 0
mov ecx, dword [edi + 0x1050]
cmp ecx, ebp
je 0x441f9d
mov eax, dword [ebx]
mov edx, 8
sub edx, ecx
cmp ecx, eax
jbe 0x441f4d
mov ecx, eax
xor eax, eax
cmp ecx, ebp
jle 0x441f78
lea ebp, [edi + edx + 0x1040]
lea ebx, [ebx]
mov edx, dword [ebx + 4]
mov dl, byte [edx + eax]
xor dl, byte [eax + ebp]
mov esi, dword [esi + 4]
mov byte [eax + esi], dl
mov esi, dword [esp + 0x1c]
inc eax
cmp eax, ecx
jl 0x441f60
sub dword [edi + 0x1050], ecx
je 0x441f99
mov eax, dword [ebx]
pop edi
mov dword [esi], eax
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046f206
add esp, 0x34
ret
mov dword [esp + 0x14], ecx
mov ebp, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
mov esi, dword [esi + 4]
mov edx, ecx
mov dword [esp + 0x18], ebp
add ebp, ecx
mov ecx, eax
sub ecx, edx
mov ebx, ecx
shr ebx, 3
add esi, edx
lea edx, [ebx*8]
mov dword [esp + 0x20], ebp
cmp edx, ecx
jae 0x442034
mov ebp, dword [esp + 0x18]
add edx, ebp
mov ebp, dword [esp + 0x14]
add edx, ebp
mov dword [esp + 0x18], edx
lea edx, [ebx*8]
sub eax, edx
sub eax, ebp
xor ecx, ecx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x442019
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x38]
sub ebp, edx
lea ebx, [ebx]
lea edx, [ecx + ebp]
mov dl, byte [esp + edx + 0x38]
mov byte [esp + ecx + 0x38], dl
inc ecx
cmp ecx, eax
jl 0x442000
cmp ecx, 8
jge 0x442163
mov edx, 8
sub edx, ecx
push edx
lea eax, [esp + ecx + 0x3c]
push 0
push eax
call fcn.0046f220
mov ebp, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x10]
test ebx, ebx
jle 0x4420b1
lea esp, [esp]
push edi
dec ebx
call fcn.00446230
add esp, 4
test eax, eax
jne 0x44216c
push ebp
call fcn.00442980
mov dword [esp + 0x30], eax
lea eax, [ebp + 4]
push eax
call fcn.00442980
mov dword [esp + 0x38], eax
push edi
lea eax, [edi + 0x1014]
push eax
lea eax, [edi + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00443f20
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.004429b0
mov edx, dword [esp + 0x4c]
lea ecx, [esi + 4]
push ecx
push edx
call fcn.004429b0
add esp, 0x2c
add esi, 8
add ebp, 8
test ebx, ebx
jg 0x442040
mov eax, dword [esp + 0x10]
test eax, eax
je 0x442142
push edi
call fcn.00446230
add esp, 4
test eax, eax
jne 0x44216c
mov ebp, dword [esp + 0x10]
mov eax, 8
lea ecx, [esp + 0x38]
sub eax, ebp
push ecx
mov dword [edi + 0x1050], eax
call fcn.00442980
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x34], eax
call fcn.00442980
mov dword [esp + 0x38], eax
push edi
lea eax, [edi + 0x1014]
push eax
lea eax, [edi + 0x1034]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00443f20
mov edx, dword [esp + 0x40]
lea ebx, [edi + 0x1040]
push ebx
push edx
call fcn.004429b0
mov eax, dword [esp + 0x4c]
add edi, 0x1044
push edi
push eax
call fcn.004429b0
push ebp
push ebx
push esi
call fcn.0046f2a0
add esp, 0x38
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
pop edi
pop esi
pop ebp
mov dword [eax], edx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046f206
add esp, 0x34
ret
mov ebp, dword [esp + 0x20]
jmp 0x442038
push edi
call fcn.00446230
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046f206
add esp, 0x34
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0046f206
add esp, 0x34
ret
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0xfffffffe
call fcn.0046f206
add esp, 0x34
ret