Function at 0x4243a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
cmp byte [esp + 0x60], 0
je 0x4243f0
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov ebp, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x4243c0
mov ecx, 0xfffffffe
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4243d0
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x1f
test edx, edx
jns 0x4243f7
mov eax, 0xffffffff
jmp 0x424400
xor ebx, ebx
jmp 0x424648
add eax, ecx
lea eax, [eax*2 + 0x3e]
push eax
call fcn.00407fc0
add esp, 4
movzx ecx, word [ebp]
mov ebx, eax
test cx, cx
je 0x424432
add ebp, 2
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x424420
mov word [ebx], 0x5c
mov dword [esp], 0xb3a1b3b0
mov dword [esp + 4], 0xb3ccb3c1
mov dword [esp + 8], 0xb3ddb3d1
mov dword [esp + 0xc], 0xb3c7b3a1
mov dword [esp + 0x10], 0xb3c1b3d5
mov dword [esp + 0x14], 0xb3abb3d3
mov dword [esp + 0x18], 0xb3d7b3b1
mov dword [esp + 0x1c], 0xb3deb3de
mov dword [esp + 0x20], 0xb3d8b3c4
mov dword [esp + 0x24], 0xb3a3b3da
mov dword [esp + 0x28], 0xb3e8b38c
mov dword [esp + 0x2c], 0xb3e6b3f4
mov dword [esp + 0x30], 0xb3eab387
mov dword [esp + 0x34], 0xb3eab3eb
mov dword [esp + 0x38], 0xb349b394
xor esi, esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [esp + edx*2]
mov edi, edx
xor edi, 0xdd28fcd9
mov ecx, esi
and ecx, 0x32
add ecx, edi
add ecx, 0xf523ee33
xor ecx, ebp
add ecx, 0x6d98a79f
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
mov word [esp + edx*2], cx
inc edx
add esi, 2
cmp edx, 0x1e
jne 0x4244c0
add ebx, 2
mov edx, dword [esp + 0x5c]
movzx ecx, word [edx]
test cx, cx
je 0x424523
add edx, 2
mov esi, eax
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424510
jmp 0x424525
mov esi, eax
mov word [ebx], 0
movzx ecx, word [esp]
test cx, cx
je 0x424551
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x424540
mov word [ebx], 0
mov dword [esp + 0x3c], 0x18271822
mov dword [esp + 0x40], 0x18e618ef
mov dword [esp + 0x44], 0x180d18e0
mov eax, 0x4a48
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + eax*2 - 0x9454]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
add ecx, 0xffffadc0
mov word [esp + eax*2 - 0x9454], cx
inc eax
cmp eax, 0x4a4e
jne 0x424580
mov dword [esp], 0xb7c8b7e5
mov dword [esp + 4], 0xb7c7b7c3
mov dword [esp + 8], 0xb702b7df
mov dword [esp + 0xc], 0xb7c6b7f9
mov dword [esp + 0x10], 0xb7d5b7de
mov dword [esp + 0x14], 0xb7c4b7dd
mov dword [esp + 0x18], 0xb715b7c7
mov dword [esp + 0x1c], 0xb7d6b7fb
mov dword [esp + 0x20], 0xb7d5b7d1
mov word [esp + 0x24], 0xb73a
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + 0x1468]
xor cx, word [esp + eax*2]
add ecx, 0x5cc0
mov word [esp + eax*2], cx
inc eax
cmp eax, 0x13
jne 0x424600
lea eax, [esp + 0x3c]
mov ecx, esp
push 0
push 4
push 0xc00000
push eax
push esi
push ecx
mov eax, dword [esp + 0x80]
push dword [eax]
call fcn.00420080
add esp, 0x1c
mov ebx, eax
push esi
call fcn.00407fd0
add esp, 4
mov eax, ebx
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret 0x10