Function at 0x442620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x44263e
mov esi, dword [ebx]
jmp 0x442640
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x442664
mov ebx, eax
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x442650
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x14]
mov esi, ecx
and esi, edx
cmp dword [edi + 0x18], esi
ja 0x442679
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov edx, dword [edi + 8]
lea eax, [esi + esi]
lea eax, [eax + 1]
mov ecx, dword [edx + esi*8]
mov esi, dword [edx + eax*4 - 4]
lea eax, [edx + eax*4]
mov dword [ebp - 0xc], esi
mov esi, dword [edi]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
jne 0x4426a0
mov eax, esi
jmp 0x4426a4
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x442812
cmp dword [ebx + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x4426b9
mov edi, dword [ebx]
jmp 0x4426bb
mov edi, ebx
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xc], eax
jb 0x4426c9
mov edx, dword [edx]
mov esi, dword [ebp - 4]
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x442733
sub esi, 4
jb 0x4426f1
lea ebx, [ebx]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4426f6
add edx, 4
add edi, 4
sub esi, 4
jae 0x4426e0
cmp esi, 0xfffffffc
je 0x44272a
mov al, byte [edx]
cmp al, byte [edi]
jne 0x442723
cmp esi, 0xfffffffd
je 0x44272a
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x442723
cmp esi, 0xfffffffe
je 0x44272a
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x442723
cmp esi, 0xffffffff
je 0x44272a
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x44272a
sbb eax, eax
or eax, 1
jmp 0x44272c
xor eax, eax
test eax, eax
jne 0x442746
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
cmp eax, edx
jb 0x442746
xor eax, eax
cmp dword [ebp + 0xc], edx
setne al
test eax, eax
je 0x442753
mov ecx, dword [ecx]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
jmp 0x442697
cmp dword [ecx + 0x1c], 0x10
lea edx, [ecx + 8]
mov edi, dword [edx + 0x10]
jb 0x442761
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x442769
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
mov esi, edi
cmp eax, edi
cmovb esi, eax
test esi, esi
je 0x4427d3
sub esi, 4
jb 0x442791
lea esp, [esp]
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x442796
add ebx, 4
add edx, 4
sub esi, 4
jae 0x442780
cmp esi, 0xfffffffc
je 0x4427ca
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x4427c3
cmp esi, 0xfffffffd
je 0x4427ca
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x4427c3
cmp esi, 0xfffffffe
je 0x4427ca
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x4427c3
cmp esi, 0xffffffff
je 0x4427ca
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x4427ca
sbb eax, eax
or eax, 1
jmp 0x4427cc
xor eax, eax
test eax, eax
jne 0x4427f9
mov eax, dword [ebp - 4]
cmp eax, edi
jb 0x4427f9
xor eax, eax
cmp dword [ebp - 4], edi
setne al
test eax, eax
jne 0x4427f9
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8