Function at 0x4242e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x64
call fcn.0055d6e0
mov eax, dword [0x6f36d4]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x18], eax
lea ebx, [edx - 1]
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
push edi
test ecx, ecx
jne 0x424335
mov ecx, 0x6ae2d8
mov dword [esp + 0xc], ecx
test eax, eax
jne 0x42433d
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x424364
sub esp, 8
mov edx, 0xa2
mov ecx, 6
push 0x9f
call fcn.0040d810
mov ecx, dword [esp + 0x18]
add esp, 0xc
or edi, 0xffffffff
jmp 0x424367
mov edi, dword [ecx + 8]
lea edx, [edi + edi]
mov eax, ebx
sub eax, edx
mov dword [esp + 0xc], eax
dec eax
cmp esi, eax
jle 0x4243a2
sub esp, 8
push 0x6e
mov edx, 0xa0
mov ecx, 4
call fcn.0040d810
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
lea eax, [edx + 1]
cmp ebx, eax
jge 0x4243b0
sub esp, 8
push 0x78
jmp 0x42437c
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
push ecx
push ecx
mov ecx, dword [esp + 0x24]
lea esi, [eax + 1]
mov byte [eax], 0
add eax, edi
mov dword [esp + 0x18], eax
inc eax
push 0
push eax
mov dword [esp + 0x34], esi
call fcn.00441290
add esp, 0x10
test eax, eax
je 0x424521
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x18]
dec eax
push eax
mov eax, dword [esp + 0x14]
inc eax
add eax, edi
push 0
push eax
call fcn.005d9d70
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
inc eax
sub eax, ecx
sub eax, edi
push ecx
push dword [esp + 0x24]
add eax, ebx
push eax
mov byte [eax - 1], 1
call fcn.005d9270
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.00416ff0
test eax, eax
jle 0x424521
sub ebx, edi
push 0x55
mov ecx, ebx
call fcn.0040fbe0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x42444f
sub esp, 8
push 0x41
jmp 0x42437c
push dword [esp + 0x14]
mov edx, ebx
mov ecx, eax
push edi
push esi
call fcn.00424920
add esp, 0xc
test eax, eax
js 0x424518
test ebx, ebx
jle 0x424492
mov eax, dword [esp + 0x10]
mov edx, ebx
mov esi, dword [esp + 0xc]
inc eax
mov ecx, eax
sub esi, eax
lea esp, [esp]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x424480
mov esi, dword [esp + 0x24]
push dword [esp + 0x14]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
inc eax
mov edx, edi
push ebx
push eax
call fcn.00424920
add esp, 0xc
test eax, eax
js 0x424518
test edi, edi
jle 0x4244ce
lea ecx, [esp + 0x28]
sub ecx, esi
lea esp, [esp]
mov al, byte [ecx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
sub edi, 1
jne 0x4244c0
mov eax, dword [0x6fd384]
test eax, eax
je 0x4244e2
push 0
push dword [esp + 0x10]
call eax
add esp, 8
push dword [esp + 0xc]
call dword [0x6f5478]
mov eax, dword [0x6fd384]
add esp, 4
test eax, eax
je 0x424501
push 1
push 0
call eax
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
call fcn.0040fdd0
mov ecx, dword [esp + 0x6c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055d6c3
mov esp, ebp
pop ebp
ret