Function at 0x442960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov dword [esp + 0x188], 0x8c8d8a8b
mov byte [esp + 0x18c], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x4429f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx eax, byte [esp + eax + 0x188]
mov edx, ecx
xor edx, 0x426c0922
add ecx, ecx
and ecx, 0x84d81244
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
mov edx, ecx
and edx, eax
add ecx, eax
add edx, edx
sub ecx, edx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x68]
add al, 0x56
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x188], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 5
jb 0x4429a0
mov eax, dword [esp + 0x188]
mov ecx, dword [0x450704]
test ecx, ecx
je 0x442a4a
xor edx, edx
mov esi, dword [0x450708]
nop
nop
cmp dword [esi + edx*8], 0x54ca534e
je 0x442a20
inc edx
cmp ecx, edx
jne 0x442a10
jmp 0x442a4a
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x442a4a
lea eax, [esp + 0xc]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x45070c]
push ecx
call fcn.00441120
add esp, 0x28
test eax, eax
js 0x442c96
push 0x495ce5ca
push dword [0x458718]
call fcn.00443d90
add esp, 8
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x1c]
call eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x194]
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 0x68], 0x8c8d8a8b
mov byte [esp + 0x6c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 4
ja 0x442afb
nop
mov edx, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x68]
mov esi, edx
xor esi, 0x426c0922
add edx, edx
and edx, 0x84d81244
mov edi, edx
and edi, esi
xor edx, esi
lea edx, [edx + edi*2]
mov esi, edx
and esi, ecx
add edx, ecx
add esi, esi
sub edx, esi
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
add cl, 0x56
mov edx, dword [esp]
mov byte [esp + edx + 0x68], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 5
jb 0x442ab0
mov edx, dword [0x450704]
test edx, edx
je 0x442b51
mov esi, dword [esp + 0x68]
xor ecx, ecx
mov edi, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0x625b6034
je 0x442b30
inc ecx
cmp edx, ecx
jne 0x442b20
jmp 0x442b51
mov ecx, dword [edi + ecx*8 + 4]
cmp ecx, esi
je 0x442b51
push dword [esp + 4]
push 1
push dword [0x45070c]
push ecx
mov esi, eax
call fcn.00441120
mov eax, esi
add esp, 0x10
test eax, eax
js 0x442c96
push 0x20
lea eax, [esp + 0x18c]
push eax
push ebx
push dword [esp + 0x14]
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442c96
lea eax, [esp + 0x10]
push 0x58
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442c96
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp + 8], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x442c0d
movzx eax, cx
movzx ecx, dx
mov edx, ecx
xor edx, eax
not ecx
and ecx, eax
add ecx, ecx
cmp ecx, edx
je 0x442ca2
push esi
call fcn.0043df90
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 4]
mov esi, eax
xor esi, dword [esp + 8]
or esi, edx
je 0x442c96
push 0x120
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442c96
movzx eax, word [esp + 0xc2]
push eax
call fcn.0043def0
add esp, 4
mov esi, eax
movzx eax, word [esp + 0xc2]
push eax
push esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
call fcn.00442730
add esp, 0x10
test eax, eax
js 0x442be8
xor eax, eax
nop
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x442c70
or ecx, 0x20
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x442c80
or edx, 0x20
test cx, cx
je 0x442bd0
add eax, 2
cmp cx, dx
je 0x442c60
jmp 0x442bd0
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.0043df90
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x442c9a