Function at 0x442220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov edi, dword [ebp + 8]
mov dword [esp + 0x188], 0x1c1d1a1b
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov eax, 0xc5
mov ecx, 0x9d17d63a
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x62e82b4e]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
mov esi, edx
not esi
and edx, 0xdd
and esi, 0x22
sub edx, esi
mov byte [esp + ecx + 0x62e82b4e], dl
dec eax
inc ecx
cmp eax, 0xbe
jne 0x442260
mov eax, dword [esp + 0x188]
mov ecx, dword [0x4506dc]
test ecx, ecx
je 0x4422ea
xor edx, edx
mov esi, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x7789b0cb
je 0x4422c0
inc edx
cmp ecx, edx
jne 0x4422b0
jmp 0x4422ea
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4422ea
lea eax, [esp + 0x10]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x4506e4]
push ecx
call fcn.00440b10
add esp, 0x28
test eax, eax
js 0x4425cc
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 0x188], 0x1c1d1a1b
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov ecx, 0xc5
mov edx, 0x9d17d63a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx + 0x62e82b4e]
mov ebx, ecx
xor ebx, edx
and ebx, eax
xor ebx, edx
mov eax, ebx
not eax
and ebx, 0xdd
and eax, 0x22
sub ebx, eax
mov byte [esp + edx + 0x62e82b4e], bl
dec ecx
inc edx
cmp ecx, 0xbe
jne 0x442330
mov esi, dword [esp + 0x188]
mov ecx, dword [0x4506dc]
test ecx, ecx
je 0x4423c5
xor eax, eax
mov edx, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + eax*8], 0x1cbb9425
je 0x442390
inc eax
cmp ecx, eax
jne 0x442380
jmp 0x4423c5
mov eax, dword [edx + eax*8 + 4]
cmp eax, esi
je 0x4423c5
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x14]
push 5
push dword [0x4506e4]
push eax
call fcn.00440b10
add esp, 0x20
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov dword [esp + 0x68], 0x1c1d1a1b
mov word [esp + 0x6c], 0
mov byte [esp + 0x6e], 0
mov eax, 0xc5
mov edx, 0x9d17d63a
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x62e82a2e]
mov ecx, eax
xor ecx, edx
and ecx, ebx
xor ecx, edx
mov ebx, ecx
not ebx
and ecx, 0xdd
and ebx, 0x22
sub ecx, ebx
mov byte [esp + edx + 0x62e82a2e], cl
dec eax
inc edx
cmp eax, 0xbe
jne 0x442400
mov ecx, dword [0x4506dc]
test ecx, ecx
je 0x44247d
mov edx, dword [esp + 0x68]
xor eax, eax
mov ebx, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + eax*8], 0x7e776f1
je 0x442460
inc eax
cmp ecx, eax
jne 0x442450
jmp 0x44247d
mov eax, dword [ebx + eax*8 + 4]
cmp eax, edx
je 0x44247d
push dword [esp + 4]
push 1
push dword [0x4506e4]
push eax
call fcn.00440b10
add esp, 0x10
test esi, esi
js 0x4425cc
lea eax, [esp + 0x188]
push 0x20
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.00442020
add esp, 0x10
test eax, eax
js 0x4425cc
lea eax, [esp + 0x10]
push 0x20
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00442020
add esp, 0x10
test eax, eax
js 0x4425cc
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp + 0xc], eax
adc ecx, 0
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x44252e
cmp cx, dx
je 0x4425d8
push esi
call fcn.0043e4f0
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 8]
mov esi, eax
xor esi, dword [esp + 0xc]
or esi, edx
je 0x4425cc
push 0x68
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00442020
add esp, 0x10
test eax, eax
js 0x4425cc
movzx eax, word [esp + 0xc2]
push eax
call fcn.0043e490
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.00442020
add esp, 0x10
test eax, eax
js 0x442509
xor eax, eax
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x44259b
mov edx, ecx
xor edx, 0x20
add edx, ecx
and ecx, 0xffffffdf
sub edx, ecx
mov ecx, edx
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x4425b6
mov ebx, edx
xor ebx, 0x20
add ebx, edx
and edx, 0xffffffdf
sub ebx, edx
mov edx, ebx
test cx, cx
je 0x442500
add eax, 2
cmp cx, dx
je 0x442580
jmp 0x442500
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.0043e4f0
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x4425d0